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.005464/0.005464, allocations: 104.7 kB / 15.73 MB, free: 5.965 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.001381/0.001381, allocations: 192.4 kB / 16.67 MB, free: 5.883 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8669/0.8669, allocations: 132.2 MB / 422.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 71.88 kB / 0.5808 GB, free: 24.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.146, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002805/0.1488, allocations: 1.644 MB / 0.6608 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5174/0.6662, allocations: 151.6 MB / 0.8088 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.6663, allocations: 0 / 0.8088 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.6665, allocations: 18.48 kB / 0.8088 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.6668, allocations: 42.59 kB / 0.8088 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.6672, allocations: 150 kB / 0.809 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.6674, allocations: 117.3 kB / 0.8091 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.6675, allocations: 29.88 kB / 0.8091 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.6689, allocations: 164.3 kB / 0.8093 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.063e-05/0.669, allocations: 44.78 kB / 0.8093 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.669, allocations: 5 kB / 0.8093 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004035/0.6694, allocations: 181.1 kB / 0.8095 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.014e-05/0.6694, allocations: 24.36 kB / 0.8095 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.469e-05/0.6695, allocations: 45.8 kB / 0.8096 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003259/0.6698, allocations: 196.6 kB / 0.8098 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6698, allocations: 0 / 0.8098 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6699, allocations: 0 / 0.8098 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.86e-06/0.6699, allocations: 0 / 0.8098 GB, free: 11.15 MB / 0.5919 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.00065/0.6705, allocations: 449.9 kB / 0.8102 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.6706, allocations: 11.12 kB / 0.8102 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.721e-05/0.6706, allocations: 42.05 kB / 0.8102 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008759/0.6715, allocations: 85.91 kB / 0.8103 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.6717, allocations: 209.7 kB / 0.8105 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.6718, allocations: 8.5 kB / 0.8105 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.6718, allocations: 6.656 kB / 0.8105 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.6722, allocations: 144.1 kB / 0.8107 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.6722, allocations: 1.375 kB / 0.8107 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.6723, allocations: 3.984 kB / 0.8107 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.6723, allocations: 3.938 kB / 0.8107 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005343/0.6728, allocations: 140.2 kB / 0.8108 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007227/0.6735, allocations: 407.3 kB / 0.8112 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007037/0.6743, allocations: 256.8 kB / 0.8114 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.6745, allocations: 74.38 kB / 0.8115 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.6745, allocations: 0 / 0.8115 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.6746, allocations: 37.03 kB / 0.8116 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.6746, allocations: 0 / 0.8116 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0007767/0.6754, allocations: 208.9 kB / 0.8118 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.6754, allocations: 53.22 kB / 0.8118 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.6755, allocations: 155.5 kB / 0.812 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.6756, allocations: 27.52 kB / 0.812 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.6756, allocations: 103.8 kB / 0.8121 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.6757, allocations: 25.06 kB / 0.8121 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-05/0.6757, allocations: 23.8 kB / 0.8121 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6759, allocations: 327.3 kB / 0.8124 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.6761, allocations: 54.55 kB / 0.8125 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.6763, allocations: 75.98 kB / 0.8126 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000425/0.6768, allocations: 125.5 kB / 0.8127 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.6768, allocations: 6.312 kB / 0.8127 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004903/0.6773, allocations: 160.5 kB / 0.8128 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.6773, allocations: 5.094 kB / 0.8128 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.6773, allocations: 6.938 kB / 0.8128 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.6773, allocations: 0 / 0.8128 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.6775, allocations: 27.27 kB / 0.8129 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.6776, allocations: 0 / 0.8129 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.6777, allocations: 25.78 kB / 0.8129 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.6777, allocations: 1.688 kB / 0.8129 GB, free: 9.199 MB / 0.5919 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.0001007/0.6778, allocations: 123.6 kB / 0.813 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.6779, allocations: 17.53 kB / 0.813 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.643e-05/0.6779, allocations: 16.33 kB / 0.8131 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.678, allocations: 2.375 kB / 0.8131 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.678, allocations: 0 / 0.8131 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.678, allocations: 0 / 0.8131 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008156/0.6788, allocations: 466.8 kB / 0.8135 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6788, allocations: 0 / 0.8135 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.679, allocations: 30.59 kB / 0.8135 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.679, allocations: 2.188 kB / 0.8135 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.679, allocations: 2.156 kB / 0.8135 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.679, allocations: 6.594 kB / 0.8135 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.679, allocations: 4 kB / 0.8135 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.6796, allocations: 258.5 kB / 0.8138 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.6796, allocations: 84.59 kB / 0.8139 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.6797, allocations: 6.578 kB / 0.8139 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.6799, allocations: 19.92 kB / 0.8139 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.6799, allocations: 5.984 kB / 0.8139 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.6799, allocations: 4.016 kB / 0.8139 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.147e-05/0.68, allocations: 115.3 kB / 0.814 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.68, allocations: 1.062 kB / 0.814 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002734/0.6803, allocations: 30.31 kB / 0.814 GB, free: 8.414 MB / 0.5919 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.0009507/0.6813, allocations: 0.8038 MB / 0.8148 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005186/0.6818, allocations: 127.6 kB / 0.815 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6818, allocations: 0 / 0.815 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.6821, allocations: 74.31 kB / 0.815 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.6824, allocations: 44.52 kB / 0.8151 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.6851, allocations: 1.727 MB / 0.8168 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.6854, allocations: 0.7036 MB / 0.8174 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001477/0.6856, allocations: 27.25 kB / 0.8175 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.007e-05/0.6857, allocations: 31.83 kB / 0.8175 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.6857, allocations: 0 / 0.8175 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.7089, allocations: 3.348 MB / 0.8208 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.193/8.902, allocations: 11.39 kB / 0.8208 GB, free: 3.879 MB / 0.5919 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)