Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.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.MoistAir,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_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.001907/0.001907, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002523/0.002523, allocations: 199.9 kB / 18.74 MB, free: 4.312 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.423/1.423, 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.002178/0.002178, allocations: 55.91 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2655, allocations: 50.54 MB / 409 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4049/0.6704, allocations: 154.4 MB / 0.5503 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.6718, allocations: 1.622 MB / 0.5519 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.072e-05/0.6719, allocations: 2.938 kB / 0.5519 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.6722, allocations: 59.25 kB / 0.5519 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003178/0.6726, allocations: 168.6 kB / 0.5521 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.6748, allocations: 1.028 MB / 0.5531 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003496/0.6752, allocations: 351.4 kB / 0.5534 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.6752, allocations: 17.25 kB / 0.5534 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.6755, allocations: 166.3 kB / 0.5536 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.6757, allocations: 129.7 kB / 0.5537 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.6757, allocations: 12.69 kB / 0.5537 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002242/0.678, allocations: 1.623 MB / 0.5553 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.239e-05/0.6781, allocations: 72.95 kB / 0.5554 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.6782, allocations: 102.5 kB / 0.5555 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.6796, allocations: 1.035 MB / 0.5565 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6796, allocations: 4 kB / 0.5565 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.6796, allocations: 0 / 0.5565 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.6796, allocations: 0 / 0.5565 GB, free: 0.5898 MB / 462.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.001678/0.6813, allocations: 0.7154 MB / 0.5572 GB, free: 16.09 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.6814, allocations: 10.06 kB / 0.5572 GB, free: 16.09 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.944e-05/0.6814, allocations: 46.33 kB / 0.5573 GB, free: 16.05 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.6816, allocations: 25.31 kB / 0.5573 GB, free: 16.04 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.6818, allocations: 221.5 kB / 0.5575 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.6818, allocations: 11.67 kB / 0.5575 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.6819, allocations: 20.28 kB / 0.5575 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004996/0.6824, allocations: 264.2 kB / 0.5578 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.6824, allocations: 0 / 0.5578 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.6825, allocations: 9.688 kB / 0.5578 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.6825, allocations: 7.531 kB / 0.5578 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005713/0.683, allocations: 279.3 kB / 0.5581 GB, free: 15.77 MB / 478.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.001302/0.6844, allocations: 0.7798 MB / 0.5588 GB, free: 15.28 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005633/0.6849, allocations: 226.3 kB / 0.559 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.6852, allocations: 138.1 kB / 0.5592 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000341/0.6856, allocations: 358.6 kB / 0.5595 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.6856, allocations: 34.5 kB / 0.5595 GB, free: 14.79 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 1.503e-06/0.6856, allocations: 3.344 kB / 0.5596 GB, free: 14.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002193/0.6878, allocations: 0.6832 MB / 0.5602 GB, free: 14.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.6879, allocations: 93.64 kB / 0.5603 GB, free: 14.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.688, allocations: 136.6 kB / 0.5604 GB, free: 14.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.6881, allocations: 33.69 kB / 0.5605 GB, free: 14.47 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.592e-05/0.6881, allocations: 112.8 kB / 0.5606 GB, free: 14.37 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.675e-05/0.6882, allocations: 131.5 kB / 0.5607 GB, free: 14.28 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.6883, allocations: 73.25 kB / 0.5608 GB, free: 14.26 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6885, allocations: 330.6 kB / 0.5611 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.6888, allocations: 133.5 kB / 0.5612 GB, free: 13.94 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/0.6892, allocations: 208.2 kB / 0.5614 GB, free: 13.86 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007379/0.69, allocations: 360.2 kB / 0.5618 GB, free: 13.79 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.69, allocations: 0 / 0.5618 GB, free: 13.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008682/0.6909, allocations: 416 kB / 0.5622 GB, free: 13.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.6909, allocations: 5.594 kB / 0.5622 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.6909, allocations: 2.75 kB / 0.5622 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.6909, allocations: 5.875 kB / 0.5622 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/0.6914, allocations: 85.28 kB / 0.5622 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.6914, allocations: 6.312 kB / 0.5623 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.6917, allocations: 33.84 kB / 0.5623 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.6917, allocations: 17.39 kB / 0.5623 GB, free: 13.72 MB / 478.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.0001435/0.6919, allocations: 142 kB / 0.5624 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.725e-05/0.692, allocations: 21.97 kB / 0.5625 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.6923, allocations: 178.5 kB / 0.5626 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.6924, allocations: 5.922 kB / 0.5626 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.6924, allocations: 6.5 kB / 0.5626 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.6924, allocations: 3.938 kB / 0.5626 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.6941, allocations: 0.7748 MB / 0.5634 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6941, allocations: 2.719 kB / 0.5634 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.6945, allocations: 77.61 kB / 0.5635 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.6945, allocations: 5.062 kB / 0.5635 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.6946, allocations: 15.52 kB / 0.5635 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.6946, allocations: 7.156 kB / 0.5635 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6946, allocations: 3.094 kB / 0.5635 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.6959, allocations: 0.7181 MB / 0.5642 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.6961, allocations: 124 kB / 0.5643 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.6962, allocations: 12.89 kB / 0.5643 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.6965, allocations: 26.75 kB / 0.5644 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.6966, allocations: 19.08 kB / 0.5644 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.6966, allocations: 14.94 kB / 0.5644 GB, free: 12.79 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.758e-05/0.6967, allocations: 109.6 kB / 0.5645 GB, free: 12.71 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6967, allocations: 4.062 kB / 0.5645 GB, free: 12.71 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005951/0.6973, allocations: 155.7 kB / 0.5647 GB, free: 12.69 MB / 478.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 (38): * Single equations (assignments): 38 * 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.001991/0.6993, allocations: 1.396 MB / 0.566 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008561/0.7002, allocations: 339.7 kB / 0.5663 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.7002, allocations: 1.094 kB / 0.5663 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.7006, allocations: 183.7 kB / 0.5665 GB, free: 11.85 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007099/0.7013, allocations: 107.1 kB / 0.5666 GB, free: 11.83 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004675/0.706, allocations: 2.93 MB / 0.5695 GB, free: 10.13 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.7064, allocations: 0.739 MB / 0.5702 GB, free: 9.43 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003383/0.7067, allocations: 78.19 kB / 0.5703 GB, free: 9.402 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.7069, allocations: 65.78 kB / 0.5703 GB, free: 9.398 MB / 478.1 MB Notification: Performance of SimCode: time 5.61e-07/0.7069, allocations: 4.875 kB / 0.5703 GB, free: 9.398 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03179/0.7387, allocations: 8.597 MB / 0.5787 GB, free: 8.48 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.406/9.144, allocations: 8.281 kB / 0.5787 GB, free: 8.473 MB / 478.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.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_MoistAir.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe 2>&1)