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.00131/0.00131, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.001498/0.001498, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.454/1.454, allocations: 230.5 MB / 254.8 MB, free: 14.93 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.002065/0.002065, allocations: 75.81 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1044, allocations: 53.32 MB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.005173/0.1095, allocations: 3.042 MB / 430 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002962/0.1125, allocations: 1.414 MB / 431.5 MB, free: 328 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002651/0.1128, allocations: 11.88 kB / 431.5 MB, free: 316 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005989/0.1134, allocations: 143.2 kB / 431.6 MB, free: 172 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.203/0.3164, allocations: 213.6 kB / 431.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005496/0.3169, allocations: 142.1 kB / 432 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006978/0.3176, allocations: 437.5 kB / 432.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.3178, allocations: 76.84 kB / 432.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003288/0.3182, allocations: 186.5 kB / 432.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.3184, allocations: 196.2 kB / 432.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.949e-05/0.3185, allocations: 30.16 kB / 432.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.3187, allocations: 56.03 kB / 432.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.944e-05/0.3188, allocations: 84.97 kB / 433 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.3189, allocations: 188.4 kB / 433.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005307/0.3195, allocations: 452.5 kB / 433.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3195, allocations: 0.5312 kB / 433.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3195, allocations: 2.906 kB / 433.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.3195, allocations: 0 / 433.6 MB, free: 7.352 MB / 350.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.0009331/0.3204, allocations: 0.6953 MB / 434.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3204, allocations: 8.562 kB / 434.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.914e-05/0.3205, allocations: 72.22 kB / 434.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.681e-05/0.3206, allocations: 48.97 kB / 434.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.321, allocations: 326.8 kB / 434.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.3211, allocations: 22.41 kB / 434.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.63e-05/0.3211, allocations: 26 kB / 434.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004866/0.3216, allocations: 310.6 kB / 435.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.3216, allocations: 5.797 kB / 435.1 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/0.3216, allocations: 14.22 kB / 435.1 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.3217, allocations: 11.53 kB / 435.1 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.322, allocations: 181.3 kB / 435.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.3233, allocations: 0.8684 MB / 436.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005676/0.3239, allocations: 241.6 kB / 436.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.324, allocations: 92.92 kB / 436.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.3241, allocations: 4.781 kB / 436.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003104/0.3244, allocations: 161 kB / 436.7 MB, free: 5.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.645e-06/0.3244, allocations: 2.625 kB / 436.7 MB, free: 5.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002396/0.3268, allocations: 1.322 MB / 438 MB, free: 5.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/0.3269, allocations: 188.9 kB / 438.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.3273, allocations: 337.1 kB / 438.5 MB, free: 4.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.3273, allocations: 34.27 kB / 438.6 MB, free: 4.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.3274, allocations: 196.4 kB / 438.7 MB, free: 4.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.846e-05/0.3275, allocations: 143.4 kB / 438.9 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.3276, allocations: 74.91 kB / 439 MB, free: 4.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.113e-05/0.3277, allocations: 351.8 kB / 439.3 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.3279, allocations: 88.83 kB / 439.4 MB, free: 4.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.3281, allocations: 186.3 kB / 439.6 MB, free: 4.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003647/0.3285, allocations: 250.8 kB / 439.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3285, allocations: 0 / 439.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005767/0.3291, allocations: 350.4 kB / 440.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3291, allocations: 6.359 kB / 440.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3291, allocations: 1.125 kB / 440.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001049/0.3292, allocations: 20.2 kB / 440.2 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.3296, allocations: 96.83 kB / 440.3 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008905/0.3304, allocations: 1.386 MB / 441.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.3308, allocations: 14.95 kB / 441.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.3308, allocations: 16.11 kB / 441.7 MB, free: 2.547 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.0002295/0.331, allocations: 167 kB / 441.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/0.3311, allocations: 39.73 kB / 441.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.978e-05/0.3312, allocations: 50.86 kB / 441.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.3312, allocations: 4.062 kB / 442 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.3312, allocations: 4.703 kB / 442 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000575/0.3318, allocations: 0.6666 MB / 442.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.333, allocations: 0.8494 MB / 443.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.333, allocations: 4.656 kB / 443.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.3334, allocations: 77 kB / 443.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.3334, allocations: 6.312 kB / 443.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.3334, allocations: 12.53 kB / 443.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.3334, allocations: 2.219 kB / 443.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.3334, allocations: 2.969 kB / 443.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008339/0.3343, allocations: 0.5497 MB / 444.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.3345, allocations: 142.4 kB / 444.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.288e-05/0.3345, allocations: 8.984 kB / 444.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.3348, allocations: 14.78 kB / 444.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/0.3348, allocations: 29.64 kB / 444.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.3349, allocations: 18.83 kB / 444.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002802/0.3352, allocations: 244.6 kB / 444.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3352, allocations: 0 / 444.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004955/0.3357, allocations: 96.56 kB / 444.7 MB, free: 0.5547 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.002516/0.3382, allocations: 1.392 MB / 446.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008778/0.3391, allocations: 360.9 kB / 446.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.3391, allocations: 1.094 kB / 446.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.3393, allocations: 125.5 kB / 446.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000742/0.3401, allocations: 115.9 kB / 446.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006239/0.3463, allocations: 3.65 MB / 450.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/0.3469, allocations: 0.8075 MB / 451.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002831/0.3472, allocations: 45.62 kB / 451.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.3474, allocations: 133.1 kB / 451.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of SimCode: time 1.343e-06/0.3474, allocations: 1.344 kB / 451.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04959/0.397, allocations: 9.462 MB / 460.7 MB, free: 9.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.78, allocations: 9.672 kB / 460.8 MB, free: 9.586 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.257662164978683] Failed to read output from testmodel.py, exit status != 0: ['time', 'cylinder1.H', 'cylinder1.m', 'cylinder2.H', 'springDamper.s_rel', 'springDamper.v_rel'] 12.927192864008248 12.941319589 12.61844422 Calling exit ...