Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001618/0.001618, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001992/0.001992, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 72.77 kB / 378.5 MB, free: 3.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.26, allocations: 53.37 MB / 431.9 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004571/0.2646, allocations: 3.06 MB / 435 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002613/0.2672, allocations: 1.433 MB / 436.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.2674, allocations: 7.938 kB / 436.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004697/0.2678, allocations: 143.2 kB / 436.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000589/0.2684, allocations: 218.8 kB / 436.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.2688, allocations: 143.6 kB / 436.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005778/0.2694, allocations: 438.1 kB / 437.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.2695, allocations: 77.02 kB / 437.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.2698, allocations: 183.3 kB / 437.6 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.2701, allocations: 195.1 kB / 437.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.208e-05/0.2701, allocations: 32 kB / 437.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.2703, allocations: 59.97 kB / 437.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.2704, allocations: 83.69 kB / 437.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.2706, allocations: 190.9 kB / 438.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005571/0.2711, allocations: 450.9 kB / 438.6 MB, free: 232 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2711, allocations: 8 kB / 438.6 MB, free: 224 kB / 334.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2711, allocations: 0 / 438.6 MB, free: 224 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.2712, allocations: 0 / 438.6 MB, free: 224 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001135/0.2723, allocations: 0.6204 MB / 439.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2723, allocations: 12.03 kB / 439.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.2724, allocations: 71.27 kB / 439.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.293e-05/0.2725, allocations: 52.66 kB / 439.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.273, allocations: 267 kB / 439.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.273, allocations: 23.47 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-05/0.2731, allocations: 31.94 kB / 439.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/0.2736, allocations: 308.5 kB / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.2737, allocations: 8 kB / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.2737, allocations: 12 kB / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.2737, allocations: 7.984 kB / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000362/0.2741, allocations: 190.5 kB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.2755, allocations: 0.8219 MB / 441 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005695/0.2761, allocations: 247.4 kB / 441.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.2763, allocations: 90.22 kB / 441.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.2763, allocations: 8.281 kB / 441.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003136/0.2766, allocations: 157.8 kB / 441.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.2766, allocations: 0 / 441.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002363/0.279, allocations: 1.107 MB / 442.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.2791, allocations: 183.9 kB / 442.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.2795, allocations: 340.5 kB / 443.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.2795, allocations: 37.7 kB / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.2797, allocations: 192.7 kB / 443.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.2798, allocations: 142.7 kB / 443.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.2799, allocations: 78.08 kB / 443.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2801, allocations: 346.8 kB / 443.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.2803, allocations: 92.83 kB / 444 MB, free: 10.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.2805, allocations: 181.3 kB / 444.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/0.281, allocations: 246.2 kB / 444.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.281, allocations: 0 / 444.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006001/0.2816, allocations: 354.5 kB / 444.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.2816, allocations: 4 kB / 444.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.2816, allocations: 4 kB / 444.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.526e-05/0.2817, allocations: 24.78 kB / 444.8 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.2821, allocations: 87.84 kB / 444.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.2833, allocations: 1.291 MB / 446.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.2835, allocations: 15.98 kB / 446.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.2835, allocations: 12 kB / 446.2 MB, free: 8.152 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002377/0.2837, allocations: 173.6 kB / 446.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.917e-05/0.2838, allocations: 43.72 kB / 446.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006263/0.2844, allocations: 338.1 kB / 446.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2844, allocations: 4.062 kB / 446.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2844, allocations: 12 kB / 446.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007039/0.2851, allocations: 0.6576 MB / 447.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.2865, allocations: 0.8258 MB / 448.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2865, allocations: 0 / 448.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/0.2868, allocations: 72.03 kB / 448.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/0.2868, allocations: 11.94 kB / 448.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.2869, allocations: 12 kB / 448.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.2869, allocations: 0 / 448.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/0.2869, allocations: 7.984 kB / 448.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000812/0.2877, allocations: 0.5433 MB / 448.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.2878, allocations: 55.8 kB / 448.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.231e-05/0.2879, allocations: 15.94 kB / 448.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.2881, allocations: 15.98 kB / 448.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.2881, allocations: 23.95 kB / 449 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.2882, allocations: 16 kB / 449 MB, free: 5.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002712/0.2885, allocations: 239 kB / 449.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2885, allocations: 4 kB / 449.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004279/0.2889, allocations: 99.94 kB / 449.3 MB, free: 4.793 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002576/0.2915, allocations: 1.405 MB / 450.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007371/0.2922, allocations: 354.9 kB / 451.1 MB, free: 3.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2922, allocations: 0 / 451.1 MB, free: 3.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.2924, allocations: 128 kB / 451.2 MB, free: 3.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006016/0.293, allocations: 104.5 kB / 451.3 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005148/0.2982, allocations: 3.661 MB / 454.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.2986, allocations: 0.8079 MB / 455.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000204/0.2988, allocations: 51.23 kB / 455.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.299, allocations: 131.4 kB / 455.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.299, allocations: 0 / 455.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04449/0.3435, allocations: 9.685 MB / 465.6 MB, free: 4.551 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.88, allocations: 10.8 kB / 465.6 MB, free: 4.543 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.314037457108498] Failed to read output from testmodel.py, exit status != 0: ['time', 'cylinder1.H', 'cylinder1.m', 'cylinder2.H', 'springDamper.s_rel', 'springDamper.v_rel'] 13.047150187194347 13.076618506 12.800285977 Calling exit ...