Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00826/0.00826, allocations: 95.42 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001965/0.001965, allocations: 201.4 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9619/0.9619, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 71.89 kB / 0.5851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4069, allocations: 80.9 MB / 0.6641 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002178/0.4091, allocations: 1.652 MB / 0.6658 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1685/0.5776, allocations: 151.6 MB / 0.8138 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.5777, allocations: 0 / 0.8138 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.5779, allocations: 11.81 kB / 0.8138 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.5782, allocations: 43.7 kB / 0.8138 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.5786, allocations: 151.4 kB / 0.814 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.5788, allocations: 119.6 kB / 0.8141 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.5789, allocations: 28.91 kB / 0.8141 GB, free: 7.418 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.5801, allocations: 184.6 kB / 0.8143 GB, free: 7.262 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.012e-05/0.5802, allocations: 47.78 kB / 0.8143 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.5802, allocations: 4 kB / 0.8143 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003603/0.5806, allocations: 179.7 kB / 0.8145 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.712e-05/0.5806, allocations: 19.92 kB / 0.8145 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 5.773e-05/0.5807, allocations: 51.72 kB / 0.8146 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003442/0.581, allocations: 192.6 kB / 0.8147 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.581, allocations: 0 / 0.8147 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5811, allocations: 0 / 0.8147 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.5811, allocations: 3.984 kB / 0.8148 GB, free: 6.773 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005949/0.5817, allocations: 450.6 kB / 0.8152 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.5817, allocations: 12.03 kB / 0.8152 GB, free: 6.273 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.5818, allocations: 34.75 kB / 0.8152 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.5828, allocations: 91.69 kB / 0.8153 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.5831, allocations: 206.9 kB / 0.8155 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.5831, allocations: 8 kB / 0.8155 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.5831, allocations: 4 kB / 0.8155 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004322/0.5836, allocations: 149 kB / 0.8157 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.5836, allocations: 4 kB / 0.8157 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.5836, allocations: 3.938 kB / 0.8157 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.5836, allocations: 0 / 0.8157 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005513/0.5842, allocations: 135.9 kB / 0.8158 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007669/0.5849, allocations: 416.5 kB / 0.8162 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007404/0.5857, allocations: 251.7 kB / 0.8164 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.586, allocations: 76.8 kB / 0.8165 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.586, allocations: 0 / 0.8165 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.586, allocations: 34.56 kB / 0.8165 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.586, allocations: 0 / 0.8165 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.0008136/0.5869, allocations: 217.4 kB / 0.8168 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.5869, allocations: 51.41 kB / 0.8168 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.587, allocations: 148.5 kB / 0.8169 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.587, allocations: 29.7 kB / 0.817 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.5871, allocations: 108.2 kB / 0.8171 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.5871, allocations: 19.78 kB / 0.8171 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.5872, allocations: 29.7 kB / 0.8171 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.5873, allocations: 326.8 kB / 0.8174 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.5875, allocations: 47.95 kB / 0.8175 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.5878, allocations: 78.52 kB / 0.8176 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/0.5883, allocations: 124.7 kB / 0.8177 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5883, allocations: 3.938 kB / 0.8177 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005683/0.5889, allocations: 161.5 kB / 0.8178 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.5889, allocations: 7.938 kB / 0.8178 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5889, allocations: 0 / 0.8178 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.5889, allocations: 8 kB / 0.8178 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.5892, allocations: 27.95 kB / 0.8179 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.5892, allocations: 0 / 0.8179 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.5893, allocations: 23.92 kB / 0.8179 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.5894, allocations: 4.484 kB / 0.8179 GB, free: 3.289 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0001048/0.5895, allocations: 125.8 kB / 0.818 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.5895, allocations: 15.91 kB / 0.818 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.304e-05/0.5896, allocations: 16.72 kB / 0.8181 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.5896, allocations: 0 / 0.8181 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5896, allocations: 0 / 0.8181 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.5896, allocations: 0 / 0.8181 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009393/0.5905, allocations: 462.3 kB / 0.8185 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.5906, allocations: 0 / 0.8185 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.5908, allocations: 31.91 kB / 0.8185 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.5908, allocations: 0 / 0.8185 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.5908, allocations: 7.984 kB / 0.8185 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.5908, allocations: 3.938 kB / 0.8185 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5908, allocations: 8 kB / 0.8185 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/0.5914, allocations: 251.3 kB / 0.8188 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.374e-05/0.5915, allocations: 85.06 kB / 0.8189 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.5915, allocations: 12 kB / 0.8189 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.5917, allocations: 15.92 kB / 0.8189 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.5918, allocations: 7.984 kB / 0.8189 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.5918, allocations: 4 kB / 0.8189 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 8.434e-05/0.5919, allocations: 114.5 kB / 0.819 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5919, allocations: 0 / 0.819 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000293/0.5922, allocations: 31.94 kB / 0.819 GB, free: 2.023 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 8 * 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.0009863/0.5932, allocations: 0.8072 MB / 0.8198 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005257/0.5937, allocations: 127.8 kB / 0.8199 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.5937, allocations: 0 / 0.8199 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.594, allocations: 75.88 kB / 0.82 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.5943, allocations: 31.86 kB / 0.8201 GB, free: 0.9609 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.5973, allocations: 1.727 MB / 0.8217 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.5976, allocations: 0.6963 MB / 0.8224 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001562/0.5978, allocations: 36.38 kB / 0.8225 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.483e-05/0.5979, allocations: 31.42 kB / 0.8225 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of SimCode: time 4.61e-07/0.5979, allocations: 0 / 0.8225 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.6186, allocations: 3.353 MB / 0.8258 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/8.211, allocations: 18.25 kB / 0.8258 GB, free: 11.12 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)