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.007456/0.007456, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.001661/0.001661, allocations: 190.2 kB / 16.67 MB, free: 5.871 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7806/0.7806, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 66.5 kB / 0.5808 GB, free: 24.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1512, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002862/0.1541, allocations: 1.632 MB / 0.6608 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4989/0.653, allocations: 151.6 MB / 0.8088 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.6532, allocations: 3.938 kB / 0.8088 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.6534, allocations: 12.75 kB / 0.8088 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.6536, allocations: 48.83 kB / 0.8088 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.654, allocations: 146 kB / 0.809 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.6541, allocations: 121.1 kB / 0.8091 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.6543, allocations: 32.09 kB / 0.8091 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.6553, allocations: 170.2 kB / 0.8093 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.635e-05/0.6554, allocations: 47.14 kB / 0.8093 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.6554, allocations: 7.812 kB / 0.8093 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003324/0.6558, allocations: 178.9 kB / 0.8095 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.627e-05/0.6558, allocations: 24.56 kB / 0.8095 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.043e-05/0.6559, allocations: 46.64 kB / 0.8096 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.6562, allocations: 194.9 kB / 0.8098 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6562, allocations: 0 / 0.8098 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6562, allocations: 3.938 kB / 0.8098 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.6562, allocations: 4 kB / 0.8098 GB, free: 11.09 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.0005889/0.6568, allocations: 445.2 kB / 0.8102 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.6568, allocations: 7.875 kB / 0.8102 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.6569, allocations: 39.11 kB / 0.8102 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008882/0.6578, allocations: 87.02 kB / 0.8103 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.658, allocations: 208.7 kB / 0.8105 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.658, allocations: 5.812 kB / 0.8105 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.6581, allocations: 9.156 kB / 0.8105 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.6585, allocations: 139.5 kB / 0.8107 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.6585, allocations: 0.875 kB / 0.8107 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.6585, allocations: 6.594 kB / 0.8107 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.6585, allocations: 7.875 kB / 0.8107 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000516/0.659, allocations: 135.3 kB / 0.8108 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007023/0.6598, allocations: 407.9 kB / 0.8112 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006895/0.6605, allocations: 257.4 kB / 0.8114 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.6607, allocations: 81.3 kB / 0.8115 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.6607, allocations: 2.5 kB / 0.8115 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.6608, allocations: 31.69 kB / 0.8116 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.6608, allocations: 0 / 0.8116 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0007477/0.6615, allocations: 213.9 kB / 0.8118 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.6616, allocations: 51.41 kB / 0.8118 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.6617, allocations: 147.3 kB / 0.812 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.6617, allocations: 27.08 kB / 0.812 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.6618, allocations: 105.9 kB / 0.8121 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.6618, allocations: 29.42 kB / 0.8121 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.6619, allocations: 25.47 kB / 0.8121 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.662, allocations: 328.4 kB / 0.8124 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.6623, allocations: 56.91 kB / 0.8125 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.6625, allocations: 74.61 kB / 0.8126 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.6629, allocations: 120 kB / 0.8127 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6629, allocations: 1.344 kB / 0.8127 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004736/0.6634, allocations: 159.1 kB / 0.8128 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.6634, allocations: 9.875 kB / 0.8128 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.6634, allocations: 0 / 0.8128 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.6634, allocations: 3.188 kB / 0.8128 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.6637, allocations: 30.11 kB / 0.8129 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.6637, allocations: 4 kB / 0.8129 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.6638, allocations: 23.98 kB / 0.8129 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.6638, allocations: 2.344 kB / 0.8129 GB, free: 9.148 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 9.842e-05/0.664, allocations: 124.7 kB / 0.813 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.664, allocations: 13.22 kB / 0.813 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.083e-05/0.6641, allocations: 21.05 kB / 0.8131 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.6641, allocations: 0 / 0.8131 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6641, allocations: 0 / 0.8131 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.6641, allocations: 0 / 0.8131 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007852/0.6649, allocations: 462.1 kB / 0.8135 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.6649, allocations: 0 / 0.8135 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.6651, allocations: 30.86 kB / 0.8135 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.6651, allocations: 3.094 kB / 0.8135 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.6651, allocations: 0 / 0.8135 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.6651, allocations: 9.719 kB / 0.8135 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6651, allocations: 80 / 0.8135 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005271/0.6656, allocations: 266 kB / 0.8138 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.6657, allocations: 88.19 kB / 0.8139 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.6657, allocations: 1.062 kB / 0.8139 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.6659, allocations: 18.91 kB / 0.8139 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.666, allocations: 9.922 kB / 0.8139 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.666, allocations: 5.312 kB / 0.8139 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.31e-05/0.6661, allocations: 117 kB / 0.814 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6661, allocations: 0 / 0.814 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002754/0.6664, allocations: 31.16 kB / 0.8141 GB, free: 8.363 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.0008463/0.6672, allocations: 0.8037 MB / 0.8148 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005004/0.6677, allocations: 122 kB / 0.815 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6677, allocations: 0 / 0.815 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.668, allocations: 74.59 kB / 0.815 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.6683, allocations: 37.5 kB / 0.8151 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.6709, allocations: 1.731 MB / 0.8168 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.6711, allocations: 0.703 MB / 0.8174 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001417/0.6713, allocations: 36.89 kB / 0.8175 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.908e-05/0.6714, allocations: 32.7 kB / 0.8175 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.6714, allocations: 1.094 kB / 0.8175 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/0.6897, allocations: 3.347 MB / 0.8208 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.522, allocations: 10.41 kB / 0.8208 GB, free: 3.828 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)