Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.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.001322/0.001322, 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.001395/0.001395, 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.438/1.438, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_DryAir2",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.001996/0.001996, allocations: 67.84 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1046, allocations: 53.33 MB / 427 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.2414/0.3461, allocations: 37.7 MB / 464.7 MB, free: 2.906 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006686/0.3527, allocations: 4.591 MB / 469.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005432/0.3533, allocations: 14.06 kB / 469.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.3544, allocations: 294.1 kB / 469.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.3557, allocations: 494.4 kB / 470.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005807/0.3615, allocations: 1.643 MB / 471.7 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.3633, allocations: 1.276 MB / 473 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002494/0.3636, allocations: 117.2 kB / 473.1 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007401/0.3643, allocations: 487.3 kB / 473.6 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005426/0.3649, allocations: 432 kB / 474 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.8e-05/0.3649, allocations: 45.91 kB / 474.1 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001641/0.3666, allocations: 0.7592 MB / 474.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.3667, allocations: 148.1 kB / 475 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002838/0.367, allocations: 278.1 kB / 475.2 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.3684, allocations: 1.046 MB / 476.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.3684, allocations: 3.984 kB / 476.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3685, allocations: 0 / 476.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.3685, allocations: 0 / 476.3 MB, free: 11.29 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00121/0.3697, allocations: 0.7887 MB / 477.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3697, allocations: 9.656 kB / 477.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.927e-05/0.3698, allocations: 79.77 kB / 477.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005746/0.3704, allocations: 82.06 kB / 477.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/0.3709, allocations: 337.3 kB / 477.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.3709, allocations: 42.86 kB / 477.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.794e-05/0.371, allocations: 38.38 kB / 477.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007017/0.3717, allocations: 473.3 kB / 478.1 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.3717, allocations: 1.875 kB / 478.1 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.377e-05/0.3718, allocations: 21.16 kB / 478.1 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.3718, allocations: 10.44 kB / 478.2 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004884/0.3723, allocations: 306.5 kB / 478.5 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/0.3862, allocations: 6.751 MB / 485.2 MB, free: 4.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004877/0.3866, allocations: 262 kB / 485.5 MB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.3869, allocations: 135.5 kB / 485.6 MB, free: 3.855 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01043/0.3973, allocations: 3.887 MB / 489.5 MB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.778e-05/0.3974, allocations: 41.3 kB / 489.5 MB, free: 1.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.235e-06/0.3974, allocations: 4 kB / 489.5 MB, free: 1.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01213/0.4095, allocations: 2.452 MB / 492 MB, free: 14.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.4095, allocations: 55.41 kB / 492 MB, free: 14.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.4099, allocations: 303.2 kB / 492.3 MB, free: 14.53 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.017e-05/0.41, allocations: 41.64 kB / 492.4 MB, free: 14.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.4101, allocations: 224.5 kB / 492.6 MB, free: 14.26 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.4103, allocations: 170.6 kB / 492.8 MB, free: 14.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.4104, allocations: 98.2 kB / 492.8 MB, free: 13.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.4106, allocations: 346.7 kB / 493.2 MB, free: 13.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.4109, allocations: 157.1 kB / 493.3 MB, free: 13.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.4113, allocations: 275.7 kB / 493.6 MB, free: 13.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006814/0.4119, allocations: 472.2 kB / 494.1 MB, free: 12.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4119, allocations: 4 kB / 494.1 MB, free: 12.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001074/0.413, allocations: 0.588 MB / 494.7 MB, free: 12.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.413, allocations: 8.562 kB / 494.7 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.4131, allocations: 4 kB / 494.7 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008/0.4211, allocations: 1.861 MB / 496.5 MB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.4215, allocations: 107.8 kB / 496.6 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/0.4239, allocations: 2.561 MB / 499.2 MB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.4243, allocations: 16 kB / 499.2 MB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.4243, allocations: 24.12 kB / 499.2 MB, free: 7.301 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002607/0.4246, allocations: 177.6 kB / 499.4 MB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.944e-05/0.4247, allocations: 40.8 kB / 499.5 MB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.426, allocations: 0.8515 MB / 0.4886 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.426, allocations: 7.984 kB / 0.4886 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.426, allocations: 0 / 0.4886 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001138/0.4271, allocations: 0.9612 MB / 0.4895 GB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.4293, allocations: 1.483 MB / 0.491 GB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.4293, allocations: 4 kB / 0.491 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/0.4296, allocations: 75.89 kB / 0.491 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003357/0.4329, allocations: 0.6197 MB / 0.4917 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.163e-05/0.433, allocations: 19.92 kB / 0.4917 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.4341, allocations: 1.277 MB / 0.4929 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.4341, allocations: 4.031 kB / 0.4929 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.4358, allocations: 1.225 MB / 0.4941 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.436, allocations: 112.8 kB / 0.4942 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.436, allocations: 16.03 kB / 0.4942 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.4362, allocations: 11.88 kB / 0.4943 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.4363, allocations: 27.97 kB / 0.4943 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.4363, allocations: 19.98 kB / 0.4943 GB, free: 120 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002597/0.4366, allocations: 209.9 kB / 0.4945 GB, free: 15.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4366, allocations: 0 / 0.4945 GB, free: 15.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008736/0.4375, allocations: 235.7 kB / 0.4947 GB, free: 15.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * 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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002619/0.4401, allocations: 1.931 MB / 0.4966 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.4414, allocations: 0.6717 MB / 0.4973 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4414, allocations: 0 / 0.4973 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009875/0.4424, allocations: 427.8 kB / 0.4977 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.4437, allocations: 241.1 kB / 0.4979 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006504/0.4502, allocations: 4.491 MB / 0.5023 GB, free: 7.711 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.4507, allocations: 0.8324 MB / 0.5031 GB, free: 6.848 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003034/0.451, allocations: 64.36 kB / 0.5032 GB, free: 6.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.4512, allocations: 159.4 kB / 0.5033 GB, free: 6.629 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4512, allocations: 0 / 0.5033 GB, free: 6.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05157/0.5028, allocations: 17.48 MB / 0.5204 GB, free: 5.344 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.12, allocations: 3.938 kB / 0.5204 GB, free: 5.34 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.538575440179557] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.p', 'volume1.medium.T', 'volume1.medium.p'] 13.221668228972703 13.237444023 12.86556498 Calling exit ...