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.001295/0.001295, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001096/0.001096, allocations: 194.8 kB / 16.14 MB, free: 6.66 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.255/1.255, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8546/0.8546, allocations: 135.1 MB / 425.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 67.89 kB / 0.5048 GB, free: 5.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1369, allocations: 80.92 MB / 0.5838 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002418/0.1393, allocations: 1.694 MB / 0.5855 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3233/0.4627, allocations: 149.2 MB / 0.7312 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.273e-05/0.4628, allocations: 5.219 kB / 0.7312 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.4629, allocations: 12.31 kB / 0.7312 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.4631, allocations: 41.44 kB / 0.7313 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.4635, allocations: 117.7 kB / 0.7314 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.4636, allocations: 118.8 kB / 0.7315 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.4638, allocations: 35.72 kB / 0.7315 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.4654, allocations: 147.8 kB / 0.7317 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.4655, allocations: 42.19 kB / 0.7317 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.4655, allocations: 8.844 kB / 0.7317 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003562/0.4659, allocations: 180.6 kB / 0.7319 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.661e-05/0.4659, allocations: 21.11 kB / 0.7319 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.267e-05/0.466, allocations: 41.95 kB / 0.7319 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.4662, allocations: 181.4 kB / 0.7321 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.4663, allocations: 3.938 kB / 0.7321 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.71e-07/0.4663, allocations: 0 / 0.7321 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.4663, allocations: 0 / 0.7321 GB, free: 15.36 MB / 0.5606 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.0005308/0.4668, allocations: 451.3 kB / 0.7326 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.4668, allocations: 13.62 kB / 0.7326 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.4669, allocations: 37.5 kB / 0.7326 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008759/0.4678, allocations: 79.02 kB / 0.7327 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.4679, allocations: 210.6 kB / 0.7329 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.468, allocations: 7.375 kB / 0.7329 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.468, allocations: 5.719 kB / 0.7329 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.4684, allocations: 138.3 kB / 0.733 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-06/0.4684, allocations: 0 / 0.733 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.4684, allocations: 1.062 kB / 0.733 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.4684, allocations: 6.344 kB / 0.733 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005024/0.4689, allocations: 139.3 kB / 0.7332 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007291/0.4697, allocations: 414 kB / 0.7336 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/0.4704, allocations: 249.7 kB / 0.7338 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.4706, allocations: 80.02 kB / 0.7339 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.4706, allocations: 1.438 kB / 0.7339 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.4707, allocations: 31.94 kB / 0.7339 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 2.464e-06/0.4707, allocations: 0 / 0.7339 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0007407/0.4714, allocations: 219.6 kB / 0.7341 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.4715, allocations: 58.19 kB / 0.7342 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.4716, allocations: 145.1 kB / 0.7343 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.4716, allocations: 27.11 kB / 0.7343 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.4716, allocations: 111.2 kB / 0.7344 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.4717, allocations: 27.12 kB / 0.7345 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/0.4717, allocations: 26.23 kB / 0.7345 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.612e-05/0.4718, allocations: 325.6 kB / 0.7348 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.472, allocations: 54.19 kB / 0.7349 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.4723, allocations: 76.53 kB / 0.7349 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.4726, allocations: 120.9 kB / 0.735 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4727, allocations: 0 / 0.735 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004613/0.4731, allocations: 159.7 kB / 0.7352 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.4731, allocations: 5.031 kB / 0.7352 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.4732, allocations: 1.219 kB / 0.7352 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.4732, allocations: 6.188 kB / 0.7352 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.4734, allocations: 26.44 kB / 0.7352 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.4734, allocations: 5.062 kB / 0.7352 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.4735, allocations: 22.95 kB / 0.7353 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.4736, allocations: 4.391 kB / 0.7353 GB, free: 13.09 MB / 0.5606 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 7.986e-05/0.4736, allocations: 122.1 kB / 0.7354 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.4737, allocations: 11.78 kB / 0.7354 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.432e-05/0.4738, allocations: 19.06 kB / 0.7354 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.4738, allocations: 1.094 kB / 0.7354 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4738, allocations: 0 / 0.7354 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4738, allocations: 3.828 kB / 0.7354 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007426/0.4745, allocations: 465.1 kB / 0.7359 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-06/0.4745, allocations: 0 / 0.7359 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.4747, allocations: 35.17 kB / 0.7359 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4747, allocations: 0.9062 kB / 0.7359 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.4747, allocations: 1.062 kB / 0.7359 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.4748, allocations: 5.031 kB / 0.7359 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4748, allocations: 0 / 0.7359 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.4752, allocations: 259.8 kB / 0.7361 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.4753, allocations: 87.52 kB / 0.7362 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.4753, allocations: 5.062 kB / 0.7362 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.4755, allocations: 21.86 kB / 0.7363 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.4756, allocations: 8.094 kB / 0.7363 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.4756, allocations: 6.406 kB / 0.7363 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.536e-05/0.4756, allocations: 112.1 kB / 0.7364 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4756, allocations: 0 / 0.7364 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002652/0.4759, allocations: 35.75 kB / 0.7364 GB, free: 12.2 MB / 0.5606 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.0007505/0.4767, allocations: 0.7985 MB / 0.7372 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004541/0.4771, allocations: 129.7 kB / 0.7373 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4771, allocations: 0 / 0.7373 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.4774, allocations: 68.45 kB / 0.7374 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.4777, allocations: 38.72 kB / 0.7374 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.48, allocations: 1.743 MB / 0.7391 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.4802, allocations: 0.7012 MB / 0.7398 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001505/0.4803, allocations: 26.22 kB / 0.7398 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.4804, allocations: 29.08 kB / 0.7399 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of SimCode: time 2.01e-07/0.4804, allocations: 0 / 0.7399 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.688/2.168, allocations: 3.044 MB / 0.7428 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/2.168, allocations: 207.4 kB / 0.743 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.084/4.253, allocations: 0 / 0.743 GB, free: 7.793 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)