Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008214/0.0008214, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9257/0.9257, allocations: 177.1 MB / 199.4 MB, free: 5.957 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 160.6 kB / 256 MB, free: 13.35 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02237/0.02237, allocations: 6.662 MB / 319 MB, free: 26.77 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical3,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical3,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 445.4 MB, free: 37.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.108e-05, allocations: 2.281 kB / 445.4 MB, free: 37.65 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.001478/0.001499, allocations: 1.233 MB / 446.6 MB, free: 36.41 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001361/0.001635, allocations: 24.31 kB / 446.6 MB, free: 36.39 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.329e-05/0.001668, allocations: 0 / 446.6 MB, free: 36.39 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.001687, allocations: 0 / 446.6 MB, free: 36.39 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 4.055e-05/0.001727, allocations: 11.92 kB / 446.7 MB, free: 36.38 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.001832, allocations: 0 / 446.7 MB, free: 36.38 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.381e-05/0.001886, allocations: 23.86 kB / 446.7 MB, free: 36.36 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.001934, allocations: 3.984 kB / 446.7 MB, free: 36.35 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.839e-05/0.001972, allocations: 4 kB / 446.7 MB, free: 36.35 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.588e-05/0.002028, allocations: 7.984 kB / 446.7 MB, free: 36.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.002048, allocations: 0 / 446.7 MB, free: 36.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-06/0.002056, allocations: 0 / 446.7 MB, free: 36.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.002071, allocations: 7.938 kB / 446.7 MB, free: 36.33 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.73e-05/0.002089, allocations: 8 kB / 446.7 MB, free: 36.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 6.252e-05/0.002151, allocations: 11.97 kB / 446.7 MB, free: 36.31 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.002154, allocations: 0 / 446.7 MB, free: 36.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.002155, allocations: 0 / 446.7 MB, free: 36.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.002159, allocations: 4 kB / 446.7 MB, free: 36.31 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002645/0.002424, allocations: 250.4 kB / 447 MB, free: 36.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.002463, allocations: 11.97 kB / 447 MB, free: 36.02 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.488e-05/0.002488, allocations: 38.72 kB / 447 MB, free: 35.97 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.115e-05/0.002509, allocations: 8.891 kB / 447 MB, free: 35.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.35e-05/0.002563, allocations: 105.8 kB / 447.1 MB, free: 35.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.002574, allocations: 8.312 kB / 447.1 MB, free: 35.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.002596, allocations: 384 / 447.1 MB, free: 35.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.863e-05/0.002675, allocations: 38.25 kB / 447.2 MB, free: 35.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.002682, allocations: 192 / 447.2 MB, free: 35.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.002689, allocations: 384 / 447.2 MB, free: 35.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.002694, allocations: 4.125 kB / 447.2 MB, free: 35.78 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.094e-05/0.002724, allocations: 4 kB / 447.2 MB, free: 35.78 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001026/0.002827, allocations: 128.8 kB / 447.3 MB, free: 35.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.919e-05/0.002886, allocations: 38.52 kB / 447.3 MB, free: 35.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.238e-05/0.002909, allocations: 16.94 kB / 447.4 MB, free: 35.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.002917, allocations: 3.938 kB / 447.4 MB, free: 35.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.002931, allocations: 34.56 kB / 447.4 MB, free: 35.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 6.92e-07/0.002932, allocations: 0 / 447.4 MB, free: 35.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.000119/0.003051, allocations: 49.69 kB / 447.5 MB, free: 35.44 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.003071, allocations: 55.34 kB / 447.5 MB, free: 35.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.272e-05/0.003104, allocations: 93.86 kB / 447.6 MB, free: 35.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.771e-06/0.003109, allocations: 29.64 kB / 447.6 MB, free: 35.24 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.639e-05/0.003126, allocations: 84.14 kB / 447.7 MB, free: 35.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.003149, allocations: 15.89 kB / 447.7 MB, free: 35.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.003171, allocations: 17.72 kB / 447.7 MB, free: 35.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.753e-05/0.003199, allocations: 314.8 kB / 448 MB, free: 34.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/0.00321, allocations: 4 kB / 448.1 MB, free: 34.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.327e-06/0.003219, allocations: 11.98 kB / 448.1 MB, free: 34.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.691e-05/0.003246, allocations: 17.33 kB / 448.1 MB, free: 34.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.003248, allocations: 0 / 448.1 MB, free: 34.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.1e-05/0.003289, allocations: 49.67 kB / 448.1 MB, free: 34.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.003302, allocations: 4 kB / 448.1 MB, free: 34.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.003306, allocations: 0 / 448.1 MB, free: 34.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.003317, allocations: 4 kB / 448.1 MB, free: 34.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-05/0.003399, allocations: 11.88 kB / 448.1 MB, free: 34.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.003406, allocations: 7.984 kB / 448.2 MB, free: 34.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.112e-05/0.003417, allocations: 4 kB / 448.2 MB, free: 34.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.003421, allocations: 0 / 448.2 MB, free: 34.68 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/0.003458, allocations: 117.8 kB / 448.3 MB, free: 34.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-06/0.003463, allocations: 7.953 kB / 448.3 MB, free: 34.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.671e-05/0.003479, allocations: 3.688 kB / 448.3 MB, free: 34.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.003481, allocations: 0 / 448.3 MB, free: 34.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.003489, allocations: 3.938 kB / 448.3 MB, free: 34.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.003491, allocations: 3.938 kB / 448.3 MB, free: 34.53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.282e-05/0.003534, allocations: 132.7 kB / 448.4 MB, free: 34.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.003535, allocations: 0 / 448.4 MB, free: 34.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.455e-05/0.003579, allocations: 12 kB / 448.4 MB, free: 34.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.003581, allocations: 0 / 448.4 MB, free: 34.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.003589, allocations: 0 / 448.4 MB, free: 34.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.00359, allocations: 0 / 448.4 MB, free: 34.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.003591, allocations: 3.938 kB / 448.4 MB, free: 34.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.854e-05/0.00368, allocations: 81 kB / 448.5 MB, free: 34.24 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.003686, allocations: 8.016 kB / 448.5 MB, free: 34.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.003696, allocations: 0 / 448.5 MB, free: 34.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-06/0.003703, allocations: 0 / 448.5 MB, free: 34.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.003714, allocations: 3.938 kB / 448.5 MB, free: 34.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.003716, allocations: 4 kB / 448.5 MB, free: 34.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.229e-05/0.003728, allocations: 79.34 kB / 448.6 MB, free: 34.15 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003729, allocations: 0 / 448.6 MB, free: 34.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001138/0.003842, allocations: 8 kB / 448.6 MB, free: 34.14 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001451/0.003987, allocations: 0.6124 MB / 449.2 MB, free: 33.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.929e-05/0.004057, allocations: 11.98 kB / 449.2 MB, free: 33.49 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.004059, allocations: 0 / 449.2 MB, free: 33.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.877e-06/0.004067, allocations: 12 kB / 449.3 MB, free: 33.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001122/0.00418, allocations: 3.938 kB / 449.3 MB, free: 33.47 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000573/0.004753, allocations: 1.153 MB / 450.4 MB, free: 32.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.429e-05/0.004777, allocations: 59.36 kB / 450.5 MB, free: 32.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.615e-05/0.004793, allocations: 0 / 450.5 MB, free: 32.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.004822, allocations: 16.48 kB / 450.5 MB, free: 32.14 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.004823, allocations: 0 / 450.5 MB, free: 32.14 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.02647, allocations: 1.766 MB / 452.3 MB, free: 30.49 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.972/6.998, allocations: 6.172 kB / 452.3 MB, free: 30.49 MB / 330.7 MB " [Timeout remaining time 653] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical3.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.FirstSteps.Electrical3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_FirstSteps_Electrical3.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.049472606740892] Failed to read output from testmodel.py, exit status != 0: 7.07802127674222 7.086549773 7.082224752 Calling exit ...