Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001464/0.001464, 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.001505/0.001505, allocations: 213.2 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.451/1.451, 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.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir2",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.001947/0.001947, allocations: 60.78 kB / 378.5 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2532, allocations: 53.38 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07783/0.331, allocations: 66.39 MB / 498.3 MB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007447/0.3384, allocations: 5.511 MB / 0.492 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003843/0.3388, allocations: 7.938 kB / 0.492 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.3398, allocations: 365.9 kB / 0.4924 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009764/0.3408, allocations: 0.5128 MB / 0.4929 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02025/0.3611, allocations: 7.536 MB / 0.5002 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003174/0.3642, allocations: 1.571 MB / 0.5018 GB, free: 4.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005551/0.3648, allocations: 149.4 kB / 0.5019 GB, free: 4.594 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.3668, allocations: 0.6308 MB / 0.5025 GB, free: 3.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.3679, allocations: 0.6112 MB / 0.5031 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001615/0.3681, allocations: 84 kB / 0.5032 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.021/0.3891, allocations: 10.47 MB / 0.5134 GB, free: 8.777 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006716/0.3898, allocations: 327.2 kB / 0.5137 GB, free: 8.457 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007999/0.3906, allocations: 438.3 kB / 0.5142 GB, free: 8.027 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01475/0.4053, allocations: 5.986 MB / 0.52 GB, free: 2.027 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.4053, allocations: 0 / 0.52 GB, free: 2.027 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4053, allocations: 0 / 0.52 GB, free: 2.027 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.4054, allocations: 0 / 0.52 GB, free: 2.027 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004184/0.4095, allocations: 1.541 MB / 0.5215 GB, free: 460 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.4096, allocations: 8.031 kB / 0.5215 GB, free: 452 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/0.4097, allocations: 114.4 kB / 0.5216 GB, free: 328 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004529/0.4102, allocations: 87.52 kB / 0.5217 GB, free: 240 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007232/0.4109, allocations: 387.3 kB / 0.5221 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/0.411, allocations: 53.25 kB / 0.5221 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.4111, allocations: 63.95 kB / 0.5222 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.413, allocations: 0.8134 MB / 0.523 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.413, allocations: 4 kB / 0.523 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.899e-05/0.4131, allocations: 28 kB / 0.523 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.4131, allocations: 16 kB / 0.523 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.4151, allocations: 1.032 MB / 0.524 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01452/0.4296, allocations: 4.973 MB / 0.5289 GB, free: 8.625 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.4314, allocations: 0.715 MB / 0.5296 GB, free: 7.902 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006342/0.4321, allocations: 391.2 kB / 0.53 GB, free: 7.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01064/0.4427, allocations: 2.596 MB / 0.5325 GB, free: 4.918 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.55e-05/0.4428, allocations: 43.22 kB / 0.5325 GB, free: 4.867 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.625e-06/0.4428, allocations: 4 kB / 0.5325 GB, free: 4.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.01011/0.4529, allocations: 3.155 MB / 0.5356 GB, free: 1.676 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.4529, allocations: 60.41 kB / 0.5357 GB, free: 1.602 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004799/0.4534, allocations: 356.5 kB / 0.536 GB, free: 1.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.4535, allocations: 41.7 kB / 0.5361 GB, free: 1.203 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.4537, allocations: 241.2 kB / 0.5363 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/0.454, allocations: 325.2 kB / 0.5366 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/0.4543, allocations: 166.6 kB / 0.5368 GB, free: 488 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.4544, allocations: 358.8 kB / 0.5371 GB, free: 120 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2002/0.6546, allocations: 369.9 kB / 0.5375 GB, free: 106.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.6559, allocations: 492.5 kB / 0.5379 GB, free: 106.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/0.6577, allocations: 0.9067 MB / 0.5388 GB, free: 106 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.6577, allocations: 3.281 kB / 0.5388 GB, free: 106 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002591/0.6603, allocations: 1.118 MB / 0.5399 GB, free: 105.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.6603, allocations: 7.438 kB / 0.5399 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.6604, allocations: 2.594 kB / 0.5399 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000824/0.6612, allocations: 167 kB / 0.5401 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007211/0.6619, allocations: 191.9 kB / 0.5403 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.6638, allocations: 3.912 MB / 0.5441 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/0.6642, allocations: 20.55 kB / 0.5441 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.748e-05/0.6643, allocations: 43.39 kB / 0.5441 GB, free: 101.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems 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,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003109/0.6646, allocations: 231.3 kB / 0.5444 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00037/0.665, allocations: 63.73 kB / 0.5444 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002335/0.6673, allocations: 1.284 MB / 0.5457 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.6673, allocations: 7.75 kB / 0.5457 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.6674, allocations: 1.125 kB / 0.5457 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001663/0.669, allocations: 1.325 MB / 0.547 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002869/0.6719, allocations: 1.93 MB / 0.5489 GB, free: 99.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.6719, allocations: 10.53 kB / 0.5489 GB, free: 99.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006448/0.6725, allocations: 164.2 kB / 0.549 GB, free: 99.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00163/0.6742, allocations: 295.3 kB / 0.5493 GB, free: 99.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.637e-05/0.6742, allocations: 31.66 kB / 0.5493 GB, free: 99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005459/0.6748, allocations: 1.289 MB / 0.5506 GB, free: 97.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6748, allocations: 0 / 0.5506 GB, free: 97.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/0.677, allocations: 1.417 MB / 0.552 GB, free: 97.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.6771, allocations: 52.8 kB / 0.552 GB, free: 97.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.005e-05/0.6772, allocations: 22.97 kB / 0.5521 GB, free: 97.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.6777, allocations: 35.39 kB / 0.5521 GB, free: 97.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.81e-05/0.6777, allocations: 57.5 kB / 0.5521 GB, free: 97.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.597e-05/0.6778, allocations: 43.44 kB / 0.5522 GB, free: 97.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002493/0.6781, allocations: 280.1 kB / 0.5525 GB, free: 96.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6781, allocations: 0 / 0.5525 GB, free: 96.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003452/0.6815, allocations: 1.427 MB / 0.5538 GB, free: 96.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007881/0.6894, allocations: 3.594 MB / 0.5574 GB, free: 95.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002076/0.6915, allocations: 1.111 MB / 0.5584 GB, free: 94.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.6915, allocations: 4 kB / 0.5584 GB, free: 94.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007543/0.6922, allocations: 476.1 kB / 0.5589 GB, free: 93.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.6939, allocations: 386.5 kB / 0.5593 GB, free: 93.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.7043, allocations: 7.084 MB / 0.5662 GB, free: 86.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.7046, allocations: 0.9128 MB / 0.5671 GB, free: 85.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006931/0.7053, allocations: 202.4 kB / 0.5673 GB, free: 85.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.7056, allocations: 223.4 kB / 0.5675 GB, free: 84.89 MB / 446.1 MB Notification: Performance of SimCode: time 1.232e-06/0.7056, allocations: 0 / 0.5675 GB, free: 84.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09026/0.7958, allocations: 57.79 MB / 0.6239 GB, free: 27.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/15.62, allocations: 18.38 kB / 0.6239 GB, free: 27.3 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2_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_MoistAir2.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.163329088129103] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.Xi[1]', 'volume.medium.p', 'volume1.medium.T', 'volume1.medium.Xi[1]', 'volume1.medium.p'] 15.747574833687395 15.7583956 15.350419437 Calling exit ...