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.001675/0.001675, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002045/0.002045, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.405/1.405, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.001961/0.001961, allocations: 68.75 kB / 378.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2627, allocations: 53.37 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004553/0.2673, allocations: 3.057 MB / 435 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002627/0.2699, allocations: 1.437 MB / 436.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.2701, allocations: 7.938 kB / 436.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005042/0.2706, allocations: 143.2 kB / 436.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005394/0.2711, allocations: 214.8 kB / 436.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.2714, allocations: 143.6 kB / 436.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005159/0.2719, allocations: 438.1 kB / 437.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.2721, allocations: 77.02 kB / 437.4 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.2724, allocations: 187.3 kB / 437.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.2726, allocations: 199.1 kB / 437.8 MB, free: 1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.264e-05/0.2727, allocations: 28 kB / 437.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.2728, allocations: 63.94 kB / 437.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.2729, allocations: 83.61 kB / 437.9 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.2731, allocations: 187 kB / 438.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005776/0.2737, allocations: 462.9 kB / 438.6 MB, free: 200 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2737, allocations: 0 / 438.6 MB, free: 200 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.2737, allocations: 0 / 438.6 MB, free: 200 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.2737, allocations: 0 / 438.6 MB, free: 200 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.001233/0.2749, allocations: 0.6236 MB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.275, allocations: 8.031 kB / 439.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001346/0.2751, allocations: 71.33 kB / 439.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.705e-05/0.2752, allocations: 44.66 kB / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/0.2758, allocations: 270.8 kB / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.2758, allocations: 24.03 kB / 439.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/0.2758, allocations: 36 kB / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005904/0.2764, allocations: 304.5 kB / 439.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.2764, allocations: 3.984 kB / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.2765, allocations: 12 kB / 440 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.2765, allocations: 4 kB / 440 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003873/0.2769, allocations: 186.5 kB / 440.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.2783, allocations: 0.8297 MB / 441 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005453/0.2789, allocations: 243.4 kB / 441.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.279, allocations: 94.22 kB / 441.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.2791, allocations: 4.281 kB / 441.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003085/0.2794, allocations: 157.8 kB / 441.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.974e-06/0.2794, allocations: 3.938 kB / 441.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002296/0.2817, allocations: 1.103 MB / 442.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.2818, allocations: 187.9 kB / 442.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/0.2822, allocations: 344.5 kB / 443.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.2822, allocations: 29.7 kB / 443.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.2824, allocations: 196.7 kB / 443.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.2825, allocations: 150.7 kB / 443.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.2826, allocations: 70.14 kB / 443.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2828, allocations: 350.8 kB / 443.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.283, allocations: 88.83 kB / 444 MB, free: 10.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.2832, allocations: 181.3 kB / 444.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/0.2836, allocations: 246.2 kB / 444.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2836, allocations: 0 / 444.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005941/0.2842, allocations: 350.5 kB / 444.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2843, allocations: 8 kB / 444.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2843, allocations: 0 / 444.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.126e-05/0.2843, allocations: 24.78 kB / 444.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.2847, allocations: 95.83 kB / 444.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.2858, allocations: 1.291 MB / 446.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.286, allocations: 19.94 kB / 446.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.2861, allocations: 19.94 kB / 446.2 MB, free: 8.125 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.0001968/0.2863, allocations: 171.1 kB / 446.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.2863, allocations: 39.77 kB / 446.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005992/0.2869, allocations: 334.2 kB / 446.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2869, allocations: 4 kB / 446.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.2869, allocations: 4.062 kB / 446.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006533/0.2876, allocations: 0.6615 MB / 447.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.2888, allocations: 0.818 MB / 448.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2888, allocations: 0 / 448.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.2891, allocations: 76.03 kB / 448.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.2891, allocations: 8 kB / 448.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.2891, allocations: 11.98 kB / 448.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.2891, allocations: 7.922 kB / 448.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2891, allocations: 4 kB / 448.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007855/0.2899, allocations: 0.5433 MB / 448.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.2901, allocations: 63.78 kB / 448.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.08e-05/0.2901, allocations: 8 kB / 448.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.2903, allocations: 23.92 kB / 448.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.2904, allocations: 23.95 kB / 449 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.2904, allocations: 12 kB / 449 MB, free: 5.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002634/0.2907, allocations: 247 kB / 449.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2907, allocations: 0 / 449.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003887/0.2911, allocations: 95.94 kB / 449.3 MB, free: 4.781 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.002447/0.2935, allocations: 1.414 MB / 450.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006617/0.2942, allocations: 351 kB / 451.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2942, allocations: 0 / 451.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.2944, allocations: 132 kB / 451.2 MB, free: 3.004 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005706/0.295, allocations: 93.09 kB / 451.3 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004741/0.2997, allocations: 3.658 MB / 454.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.3001, allocations: 0.8118 MB / 455.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001868/0.3003, allocations: 47.25 kB / 455.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.3005, allocations: 135.4 kB / 455.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3005, allocations: 0 / 455.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04053/0.3411, allocations: 9.694 MB / 465.6 MB, free: 4.531 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.87, allocations: 13.06 kB / 465.6 MB, free: 4.523 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.303772801999003] Failed to read output from testmodel.py, exit status != 0: ['time', 'cylinder1.H', 'cylinder1.m', 'cylinder2.H', 'springDamper.s_rel', 'springDamper.v_rel'] 13.039307542145252 13.055697495 12.778630327 Calling exit ...