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.00551/0.00551, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001416/0.001416, allocations: 196.9 kB / 16.67 MB, free: 5.973 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9802/0.9802, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 67.88 kB / 0.5851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4417, allocations: 80.91 MB / 0.6641 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00264/0.4444, allocations: 1.648 MB / 0.6658 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1655/0.6099, allocations: 151.6 MB / 0.8138 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.61, allocations: 0 / 0.8138 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.6103, allocations: 19.8 kB / 0.8138 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.6105, allocations: 39.72 kB / 0.8138 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.6109, allocations: 151.4 kB / 0.814 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.6111, allocations: 123.5 kB / 0.8141 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.6113, allocations: 26.66 kB / 0.8141 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.6124, allocations: 172.3 kB / 0.8143 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/0.6125, allocations: 43.78 kB / 0.8143 GB, free: 7.25 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.6125, allocations: 8 kB / 0.8143 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003578/0.6129, allocations: 183.6 kB / 0.8145 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.27e-05/0.6129, allocations: 19.92 kB / 0.8145 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 5.475e-05/0.613, allocations: 47.73 kB / 0.8146 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.6134, allocations: 198.8 kB / 0.8147 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6134, allocations: 0 / 0.8147 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6134, allocations: 4 kB / 0.8148 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.6134, allocations: 4 kB / 0.8148 GB, free: 6.797 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.0006195/0.614, allocations: 442.6 kB / 0.8152 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.6141, allocations: 8.031 kB / 0.8152 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.6141, allocations: 42.69 kB / 0.8152 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008939/0.615, allocations: 91.67 kB / 0.8153 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.6153, allocations: 202.9 kB / 0.8155 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.6153, allocations: 8 kB / 0.8155 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.6153, allocations: 8 kB / 0.8155 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/0.6157, allocations: 136.5 kB / 0.8157 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.6157, allocations: 0 / 0.8157 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.6158, allocations: 7.938 kB / 0.8157 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.6158, allocations: 0 / 0.8157 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005305/0.6163, allocations: 143.8 kB / 0.8158 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007528/0.6171, allocations: 412.5 kB / 0.8162 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007198/0.6178, allocations: 255.7 kB / 0.8164 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.6181, allocations: 72.8 kB / 0.8165 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.6181, allocations: 4 kB / 0.8165 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.6181, allocations: 30.56 kB / 0.8165 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.6181, allocations: 0 / 0.8165 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.0007625/0.6189, allocations: 221.6 kB / 0.8167 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.6189, allocations: 51.41 kB / 0.8168 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.6191, allocations: 153.7 kB / 0.8169 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.6191, allocations: 29.7 kB / 0.817 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.6191, allocations: 108.2 kB / 0.8171 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.6192, allocations: 23.8 kB / 0.8171 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.6192, allocations: 25.7 kB / 0.8171 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.621e-05/0.6194, allocations: 322.8 kB / 0.8174 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.6196, allocations: 59.95 kB / 0.8175 GB, free: 3.758 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.6198, allocations: 70.52 kB / 0.8176 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.6202, allocations: 124.8 kB / 0.8177 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6202, allocations: 3.938 kB / 0.8177 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004868/0.6207, allocations: 161.4 kB / 0.8178 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.6208, allocations: 4 kB / 0.8178 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.6208, allocations: 11.94 kB / 0.8178 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.6208, allocations: 0 / 0.8178 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.621, allocations: 31.97 kB / 0.8179 GB, free: 3.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.621, allocations: 0 / 0.8179 GB, free: 3.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.6212, allocations: 15.92 kB / 0.8179 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.6212, allocations: 11.92 kB / 0.8179 GB, free: 3.312 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 8.772e-05/0.6213, allocations: 113.8 kB / 0.818 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.6214, allocations: 15.91 kB / 0.818 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.584e-05/0.6214, allocations: 20.66 kB / 0.818 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.6214, allocations: 0 / 0.818 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6214, allocations: 4 kB / 0.8181 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6214, allocations: 3.984 kB / 0.8181 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007925/0.6222, allocations: 458.4 kB / 0.8185 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.6223, allocations: 3.984 kB / 0.8185 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.6224, allocations: 23.97 kB / 0.8185 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.6225, allocations: 4 kB / 0.8185 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.6225, allocations: 0 / 0.8185 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.6225, allocations: 7.875 kB / 0.8185 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6225, allocations: 4 kB / 0.8185 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005181/0.623, allocations: 259.3 kB / 0.8188 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.6231, allocations: 89.06 kB / 0.8189 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.6231, allocations: 0 / 0.8189 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.6233, allocations: 19.91 kB / 0.8189 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.6233, allocations: 8 kB / 0.8189 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.6233, allocations: 7.984 kB / 0.8189 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.826e-05/0.6234, allocations: 106.7 kB / 0.819 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6234, allocations: 0 / 0.819 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002813/0.6237, allocations: 35.92 kB / 0.819 GB, free: 2.055 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.0008681/0.6246, allocations: 0.8038 MB / 0.8198 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005453/0.6251, allocations: 131.9 kB / 0.8199 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6252, allocations: 0 / 0.8199 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.6254, allocations: 75.81 kB / 0.82 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.6258, allocations: 35.86 kB / 0.8201 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.6283, allocations: 1.731 MB / 0.8217 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.6286, allocations: 0.6963 MB / 0.8224 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.6287, allocations: 32.7 kB / 0.8225 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.548e-05/0.6288, allocations: 35.42 kB / 0.8225 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.6288, allocations: 0 / 0.8225 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.6486, allocations: 3.342 MB / 0.8258 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.707/8.356, allocations: 11.98 kB / 0.8258 GB, free: 11.16 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)