Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_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.00112/0.00112, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001181/0.001181, allocations: 196.9 kB / 16.26 MB, free: 6.621 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.197/1.197, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6702/0.6702, allocations: 132.2 MB / 422.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 63.69 kB / 0.5014 GB, free: 4.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3459, allocations: 80.2 MB / 0.5797 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002244/0.3482, allocations: 1.692 MB / 0.5813 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1387/0.4869, allocations: 149.4 MB / 0.7272 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.945e-05/0.487, allocations: 4 kB / 0.7272 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.4871, allocations: 11.88 kB / 0.7272 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002079/0.4874, allocations: 39.7 kB / 0.7273 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.4876, allocations: 135.5 kB / 0.7274 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.4878, allocations: 115.6 kB / 0.7275 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.4879, allocations: 35.58 kB / 0.7275 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.4895, allocations: 162.1 kB / 0.7277 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.587e-05/0.4896, allocations: 47.77 kB / 0.7277 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.4896, allocations: 4 kB / 0.7277 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.4899, allocations: 187.6 kB / 0.7279 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.458e-05/0.49, allocations: 23.92 kB / 0.7279 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/0.49, allocations: 47.73 kB / 0.728 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.4903, allocations: 187.5 kB / 0.7282 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4903, allocations: 4 kB / 0.7282 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4903, allocations: 0 / 0.7282 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.4903, allocations: 3.938 kB / 0.7282 GB, free: 9.098 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.0005328/0.4908, allocations: 450.9 kB / 0.7286 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.4909, allocations: 8.031 kB / 0.7286 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.4909, allocations: 42.75 kB / 0.7286 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008507/0.4918, allocations: 75.75 kB / 0.7287 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.492, allocations: 202.8 kB / 0.7289 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.492, allocations: 8 kB / 0.7289 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.492, allocations: 8 kB / 0.7289 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.4924, allocations: 139.9 kB / 0.7291 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.4924, allocations: 0 / 0.7291 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.4924, allocations: 7.938 kB / 0.7291 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.4924, allocations: 4 kB / 0.7291 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004828/0.4929, allocations: 135.9 kB / 0.7292 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006855/0.4936, allocations: 416.3 kB / 0.7296 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006573/0.4943, allocations: 251.7 kB / 0.7298 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.4945, allocations: 68.8 kB / 0.7299 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.4945, allocations: 15.98 kB / 0.7299 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.4946, allocations: 30.56 kB / 0.73 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.4946, allocations: 0 / 0.73 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0006859/0.4953, allocations: 213.4 kB / 0.7302 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.4953, allocations: 51.41 kB / 0.7302 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.4954, allocations: 146.5 kB / 0.7303 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.4954, allocations: 25.7 kB / 0.7304 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.4955, allocations: 108 kB / 0.7305 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.4955, allocations: 27.78 kB / 0.7305 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/0.4956, allocations: 29.7 kB / 0.7305 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.206e-05/0.4957, allocations: 322.8 kB / 0.7308 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.4959, allocations: 63.88 kB / 0.7309 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.4961, allocations: 78.83 kB / 0.731 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003751/0.4965, allocations: 120.8 kB / 0.7311 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4965, allocations: 0 / 0.7311 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004468/0.4969, allocations: 161.5 kB / 0.7312 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.497, allocations: 4 kB / 0.7312 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-06/0.497, allocations: 0 / 0.7312 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.497, allocations: 0 / 0.7312 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.4972, allocations: 27.97 kB / 0.7313 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.4972, allocations: 0 / 0.7313 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.4973, allocations: 23.88 kB / 0.7313 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.4974, allocations: 7.938 kB / 0.7313 GB, free: 5.625 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 8.579e-05/0.4975, allocations: 125.7 kB / 0.7314 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.4975, allocations: 7.906 kB / 0.7314 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.102e-05/0.4976, allocations: 20.7 kB / 0.7314 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.4976, allocations: 0 / 0.7314 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.4976, allocations: 8 kB / 0.7315 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.4976, allocations: 0 / 0.7315 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007045/0.4983, allocations: 458.3 kB / 0.7319 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4983, allocations: 4 kB / 0.7319 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.4985, allocations: 27.91 kB / 0.7319 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4985, allocations: 4 kB / 0.7319 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.4985, allocations: 0 / 0.7319 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.4985, allocations: 7.922 kB / 0.7319 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4985, allocations: 0 / 0.7319 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004711/0.499, allocations: 259.3 kB / 0.7322 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.481e-05/0.499, allocations: 89 kB / 0.7323 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.4991, allocations: 0 / 0.7323 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.4992, allocations: 23.86 kB / 0.7323 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.4993, allocations: 15.98 kB / 0.7323 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.4993, allocations: 4 kB / 0.7323 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.809e-05/0.4994, allocations: 114.5 kB / 0.7324 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4994, allocations: 0 / 0.7324 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000235/0.4996, allocations: 27.94 kB / 0.7324 GB, free: 4.352 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.000727/0.5003, allocations: 0.8058 MB / 0.7332 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000444/0.5008, allocations: 136.1 kB / 0.7334 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.5008, allocations: 0 / 0.7334 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.501, allocations: 67.94 kB / 0.7334 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.5013, allocations: 45.34 kB / 0.7335 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.5036, allocations: 1.731 MB / 0.7352 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.5038, allocations: 0.704 MB / 0.7358 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001429/0.5039, allocations: 28.41 kB / 0.7359 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.681e-05/0.504, allocations: 31.42 kB / 0.7359 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.504, allocations: 0 / 0.7359 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1657/0.6697, allocations: 3.12 MB / 0.7389 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002943/0.6701, allocations: 201.6 kB / 0.7391 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/2.901, allocations: 0 / 0.7391 GB, free: 13.48 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)