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: translateModel(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008061/0.008061, allocations: 106.2 kB / 15.74 MB, free: 6 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.001825/0.001825, allocations: 199 kB / 16.68 MB, free: 5.918 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7637/0.7637, allocations: 132.2 MB / 422.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.91 kB / 0.5813 GB, free: 7.547 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4715/0.4726, allocations: 80.21 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00256/0.4752, allocations: 1.63 MB / 0.6613 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1705/0.6458, allocations: 151.6 MB / 0.8093 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.6459, allocations: 4 kB / 0.8093 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.6461, allocations: 15.8 kB / 0.8093 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.6464, allocations: 43.7 kB / 0.8093 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.6468, allocations: 143.4 kB / 0.8095 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.647, allocations: 123.6 kB / 0.8096 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.6471, allocations: 29.39 kB / 0.8096 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.6483, allocations: 172 kB / 0.8098 GB, free: 12 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.554e-05/0.6484, allocations: 47.78 kB / 0.8098 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.6485, allocations: 4 kB / 0.8098 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004126/0.6489, allocations: 183.7 kB / 0.81 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.6489, allocations: 27.91 kB / 0.81 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.923e-05/0.649, allocations: 47.73 kB / 0.8101 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003577/0.6494, allocations: 197 kB / 0.8103 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6494, allocations: 0 / 0.8103 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6494, allocations: 0 / 0.8103 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.6494, allocations: 0 / 0.8103 GB, free: 11.51 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.0006906/0.6501, allocations: 439 kB / 0.8107 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.6501, allocations: 15.97 kB / 0.8107 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009701/0.6511, allocations: 79.94 kB / 0.8108 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.6514, allocations: 214.7 kB / 0.811 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.6514, allocations: 8 kB / 0.811 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.6514, allocations: 8 kB / 0.811 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/0.6519, allocations: 141.5 kB / 0.8111 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.6519, allocations: 0 / 0.8111 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.6519, allocations: 0 / 0.8111 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.6519, allocations: 7.938 kB / 0.8111 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005143/0.6524, allocations: 135.9 kB / 0.8113 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007523/0.6532, allocations: 416.5 kB / 0.8117 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006789/0.6539, allocations: 247.7 kB / 0.8119 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.6541, allocations: 76.78 kB / 0.812 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.6542, allocations: 4 kB / 0.812 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.6542, allocations: 34.56 kB / 0.812 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.6542, allocations: 3.938 kB / 0.812 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.0007666/0.655, allocations: 213.3 kB / 0.8122 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.655, allocations: 51.41 kB / 0.8123 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.6552, allocations: 152.9 kB / 0.8124 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.6552, allocations: 25.7 kB / 0.8124 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.6553, allocations: 100.1 kB / 0.8125 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.6553, allocations: 27.69 kB / 0.8125 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-05/0.6554, allocations: 29.7 kB / 0.8126 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.6555, allocations: 326.8 kB / 0.8129 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.6557, allocations: 47.95 kB / 0.8129 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.6559, allocations: 78.52 kB / 0.813 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.6564, allocations: 132.6 kB / 0.8131 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.6564, allocations: 4 kB / 0.8131 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004589/0.6568, allocations: 153.5 kB / 0.8133 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.6569, allocations: 8 kB / 0.8133 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.6569, allocations: 0 / 0.8133 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.6569, allocations: 0 / 0.8133 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.6571, allocations: 31.95 kB / 0.8133 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.6571, allocations: 0.5469 kB / 0.8133 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.6573, allocations: 15.98 kB / 0.8133 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.6573, allocations: 8 kB / 0.8133 GB, free: 8.086 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.635e-05/0.6574, allocations: 130.3 kB / 0.8135 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.6574, allocations: 11.81 kB / 0.8135 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.989e-05/0.6575, allocations: 16.72 kB / 0.8135 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.6575, allocations: 0 / 0.8135 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.6575, allocations: 0 / 0.8135 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.6575, allocations: 11.98 kB / 0.8135 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007998/0.6583, allocations: 454.3 kB / 0.8139 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6583, allocations: 4 kB / 0.8139 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.6585, allocations: 35.84 kB / 0.814 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.6585, allocations: 0 / 0.814 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.6586, allocations: 11.98 kB / 0.814 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.6586, allocations: 3.938 kB / 0.814 GB, free: 7.348 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6586, allocations: 0 / 0.814 GB, free: 7.348 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005286/0.6591, allocations: 251.3 kB / 0.8142 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.6592, allocations: 88.92 kB / 0.8143 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.6592, allocations: 4 kB / 0.8143 GB, free: 6.977 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.6594, allocations: 19.91 kB / 0.8143 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.6594, allocations: 4 kB / 0.8143 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.6594, allocations: 7.984 kB / 0.8144 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.797e-05/0.6595, allocations: 114.9 kB / 0.8145 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.423e-06/0.6595, allocations: 0 / 0.8145 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002728/0.6598, allocations: 31.94 kB / 0.8145 GB, free: 6.805 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.0001584/0.66, allocations: 117.9 kB / 0.8146 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004937/0.6605, allocations: 127.9 kB / 0.8147 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.6605, allocations: 3.938 kB / 0.8147 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.6607, allocations: 67.88 kB / 0.8148 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.6611, allocations: 35.98 kB / 0.8148 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005772/0.6616, allocations: 227.1 kB / 0.815 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.6619, allocations: 0.7002 MB / 0.8157 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001212/0.662, allocations: 32.86 kB / 0.8158 GB, free: 5.449 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.6621, allocations: 11.44 kB / 0.8158 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of SimCode: time 2.01e-07/0.6621, allocations: 0 / 0.8158 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of Templates: time 0.00463/0.6667, allocations: 1.946 MB / 0.8177 GB, free: 3.527 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (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 & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)