Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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.MoistAir,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001457/0.001457, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.4/1.4, allocations: 227.7 MB / 247.2 MB, free: 10.2 MB / 206.1 MB 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.002062/0.002062, allocations: 59.91 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2496, allocations: 50.56 MB / 409.1 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0355/0.2852, allocations: 26.64 MB / 435.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003194/0.2884, allocations: 2.243 MB / 437.9 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.2885, allocations: 4 kB / 438 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.289, allocations: 63.58 kB / 438 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004596/0.2895, allocations: 167 kB / 438.2 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01711/0.3066, allocations: 6.528 MB / 444.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005645/0.3072, allocations: 334.7 kB / 445 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.831e-05/0.3072, allocations: 9.562 kB / 445 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003101/0.3075, allocations: 143.5 kB / 445.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.3078, allocations: 123.6 kB / 445.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.533e-05/0.3079, allocations: 16 kB / 445.3 MB, free: 13 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01948/0.3274, allocations: 9.53 MB / 454.8 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.3276, allocations: 75.78 kB / 454.9 MB, free: 3.379 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.3278, allocations: 95.59 kB / 455 MB, free: 3.285 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01243/0.3403, allocations: 4.739 MB / 459.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.425e-05/0.3403, allocations: 4 kB / 459.8 MB, free: 14.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.3403, allocations: 0 / 459.8 MB, free: 14.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.3404, allocations: 3.938 kB / 459.8 MB, free: 14.53 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003748/0.3441, allocations: 1.177 MB / 460.9 MB, free: 13.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.3442, allocations: 8.031 kB / 460.9 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.669e-05/0.3443, allocations: 54.73 kB / 461 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.3444, allocations: 24.03 kB / 461 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.3448, allocations: 226.7 kB / 461.2 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.3448, allocations: 16.33 kB / 461.3 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-05/0.3449, allocations: 15.95 kB / 461.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000794/0.3457, allocations: 285.5 kB / 461.6 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3457, allocations: 0 / 461.6 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.3458, allocations: 8 kB / 461.6 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.3458, allocations: 7.938 kB / 461.6 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008573/0.3467, allocations: 315.7 kB / 461.9 MB, free: 12.29 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.3483, allocations: 0.8245 MB / 462.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007674/0.3491, allocations: 253.1 kB / 463 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.3494, allocations: 133.6 kB / 463.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01699/0.3664, allocations: 12.83 MB / 475.9 MB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.207e-05/0.3665, allocations: 38.5 kB / 476 MB, free: 11.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 4.568e-06/0.3665, allocations: 8 kB / 476 MB, free: 11.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003041/0.3696, allocations: 0.6965 MB / 476.7 MB, free: 10.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.3696, allocations: 85.11 kB / 476.7 MB, free: 10.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.3698, allocations: 141.8 kB / 476.9 MB, free: 10.63 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.3698, allocations: 37.64 kB / 476.9 MB, free: 10.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.359e-05/0.3699, allocations: 128.8 kB / 477 MB, free: 10.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.3701, allocations: 130.8 kB / 477.2 MB, free: 10.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.3702, allocations: 73.64 kB / 477.2 MB, free: 10.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3704, allocations: 330.8 kB / 477.6 MB, free: 9.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/0.3708, allocations: 139.9 kB / 477.7 MB, free: 9.785 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.3713, allocations: 203.6 kB / 477.9 MB, free: 9.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009971/0.3723, allocations: 370.8 kB / 478.3 MB, free: 9.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3723, allocations: 0 / 478.3 MB, free: 9.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001242/0.3736, allocations: 424.9 kB / 478.7 MB, free: 8.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3736, allocations: 4 kB / 478.7 MB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3736, allocations: 4 kB / 478.7 MB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.3737, allocations: 7.938 kB / 478.7 MB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.3741, allocations: 87.88 kB / 478.8 MB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.3742, allocations: 7.938 kB / 478.8 MB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.3745, allocations: 32.14 kB / 478.8 MB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.3745, allocations: 16 kB / 478.8 MB, free: 8.598 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001654/0.3747, allocations: 145.7 kB / 479 MB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.3748, allocations: 19.91 kB / 479 MB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004944/0.3754, allocations: 186.7 kB / 479.2 MB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.3754, allocations: 4 kB / 479.2 MB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.3754, allocations: 4 kB / 479.2 MB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.3754, allocations: 3.984 kB / 479.2 MB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.3772, allocations: 0.7828 MB / 480 MB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.3773, allocations: 8.031 kB / 480 MB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004336/0.3777, allocations: 79.88 kB / 480.1 MB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.3777, allocations: 7.938 kB / 480.1 MB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.3778, allocations: 8 kB / 480.1 MB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/0.3778, allocations: 7.938 kB / 480.1 MB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3778, allocations: 0 / 480.1 MB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.3795, allocations: 0.722 MB / 480.8 MB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.3797, allocations: 132.9 kB / 480.9 MB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/0.3797, allocations: 8 kB / 480.9 MB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.3801, allocations: 15.98 kB / 481 MB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.3801, allocations: 31.97 kB / 481 MB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/0.3802, allocations: 19.98 kB / 481 MB, free: 6.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.051e-05/0.3803, allocations: 117.7 kB / 481.1 MB, free: 6.176 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3803, allocations: 0 / 481.1 MB, free: 6.176 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002756/0.3831, allocations: 0.9589 MB / 482.1 MB, free: 5.215 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.007009/0.3901, allocations: 2.418 MB / 484.5 MB, free: 2.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.3913, allocations: 352.6 kB / 484.8 MB, free: 2.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.3913, allocations: 0 / 484.8 MB, free: 2.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005151/0.3918, allocations: 175.8 kB / 485 MB, free: 2.238 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007982/0.3926, allocations: 108.1 kB / 485.1 MB, free: 2.133 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006943/0.3996, allocations: 3.252 MB / 488.4 MB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.4, allocations: 0.7452 MB / 489.1 MB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003767/0.4004, allocations: 82.19 kB / 489.2 MB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.4007, allocations: 79.39 kB / 489.3 MB, free: 13.79 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4007, allocations: 0 / 489.3 MB, free: 13.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07138/0.4721, allocations: 33.1 MB / 0.5101 GB, free: 12.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.548/10.02, allocations: 7.922 kB / 0.5101 GB, free: 12.8 MB / 446.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)