Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.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: translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008835/0.008835, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002291/0.002291, allocations: 197.2 kB / 16.68 MB, free: 5.934 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.59/1.59, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.079/1.079, allocations: 135.6 MB / 426.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003064/0.003064, allocations: 63.89 kB / 0.5862 GB, free: 2.711 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4544/0.4575, allocations: 81.01 MB / 0.6653 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002384/0.4599, allocations: 1.492 MB / 0.6668 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.4611, allocations: 0.812 MB / 0.6676 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.4611, allocations: 1.156 kB / 0.6676 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.24e-05/0.4612, allocations: 3.938 kB / 0.6676 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.4612, allocations: 5.125 kB / 0.6676 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/0.4617, allocations: 138.9 kB / 0.6677 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.027e-05/0.4618, allocations: 53.81 kB / 0.6678 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.4619, allocations: 9.75 kB / 0.6678 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.955e-05/0.4619, allocations: 19.48 kB / 0.6678 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.758e-05/0.462, allocations: 26.56 kB / 0.6678 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.462, allocations: 5.594 kB / 0.6678 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003136/0.4623, allocations: 175.8 kB / 0.668 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.4624, allocations: 9.062 kB / 0.668 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.4624, allocations: 26.39 kB / 0.668 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.4627, allocations: 148.7 kB / 0.6682 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.4627, allocations: 1.125 kB / 0.6682 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4627, allocations: 0 / 0.6682 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.4627, allocations: 0 / 0.6682 GB, free: 5.059 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00052/0.4632, allocations: 400.6 kB / 0.6686 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.4633, allocations: 9.781 kB / 0.6686 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.4633, allocations: 11.58 kB / 0.6686 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.572e-05/0.4634, allocations: 171 kB / 0.6687 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.4634, allocations: 3 kB / 0.6687 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.4634, allocations: 1.969 kB / 0.6687 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.4637, allocations: 77.95 kB / 0.6688 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4637, allocations: 192 / 0.6688 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.4637, allocations: 13.14 kB / 0.6688 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.4637, allocations: 0 / 0.6688 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.464, allocations: 69.7 kB / 0.6689 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.4643, allocations: 291.6 kB / 0.6692 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.4645, allocations: 52.69 kB / 0.6692 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.4647, allocations: 39.73 kB / 0.6693 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.4649, allocations: 93.56 kB / 0.6693 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.4649, allocations: 31.88 kB / 0.6694 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.4649, allocations: 0 / 0.6694 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005211/0.4654, allocations: 138.2 kB / 0.6695 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.4654, allocations: 52.53 kB / 0.6696 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.05e-05/0.4655, allocations: 120 kB / 0.6697 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.106e-06/0.4655, allocations: 25.7 kB / 0.6697 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.748e-05/0.4656, allocations: 90.44 kB / 0.6698 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.4656, allocations: 9.469 kB / 0.6698 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.4656, allocations: 21.78 kB / 0.6698 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.808e-05/0.4657, allocations: 319.9 kB / 0.6701 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.4658, allocations: 29.44 kB / 0.6702 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.466, allocations: 33.02 kB / 0.6702 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.4662, allocations: 68.08 kB / 0.6702 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4663, allocations: 0 / 0.6702 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003249/0.4666, allocations: 102.6 kB / 0.6703 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.4666, allocations: 4.906 kB / 0.6703 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4666, allocations: 0 / 0.6703 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.4666, allocations: 5.281 kB / 0.6704 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.4668, allocations: 18.64 kB / 0.6704 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.4668, allocations: 0 / 0.6704 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.629e-05/0.4669, allocations: 11.83 kB / 0.6704 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.4669, allocations: 0 / 0.6704 GB, free: 2.938 MB / 0.4981 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 (3): * Single equations (assignments): 3 * 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 5.507e-05/0.4669, allocations: 116.4 kB / 0.6705 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.467, allocations: 6.797 kB / 0.6705 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003651/0.4673, allocations: 116.9 kB / 0.6706 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.4674, allocations: 1.25 kB / 0.6706 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4674, allocations: 0 / 0.6706 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4674, allocations: 0 / 0.6706 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.4675, allocations: 178.1 kB / 0.6708 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4675, allocations: 1.188 kB / 0.6708 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.066e-05/0.4676, allocations: 14.02 kB / 0.6708 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4676, allocations: 5.594 kB / 0.6708 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.4676, allocations: 4 kB / 0.6708 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4676, allocations: 5.438 kB / 0.6708 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4676, allocations: 0 / 0.6708 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.468, allocations: 208.2 kB / 0.671 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.468, allocations: 82.39 kB / 0.6711 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.4681, allocations: 1.406 kB / 0.6711 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.4682, allocations: 14.58 kB / 0.6711 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.4682, allocations: 6.641 kB / 0.6711 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.4682, allocations: 3.938 kB / 0.6711 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.375e-05/0.4683, allocations: 97.2 kB / 0.6712 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4683, allocations: 0 / 0.6712 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002928/0.4686, allocations: 34.38 kB / 0.6712 GB, free: 2.105 MB / 0.4981 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 (3): * Single equations (assignments): 3 * 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.0002013/0.4688, allocations: 127.5 kB / 0.6714 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003574/0.4692, allocations: 71.84 kB / 0.6714 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4692, allocations: 0 / 0.6714 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.4693, allocations: 40.22 kB / 0.6715 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.4697, allocations: 12.88 kB / 0.6715 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.4701, allocations: 154.6 kB / 0.6716 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.4702, allocations: 0.6855 MB / 0.6723 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.359e-05/0.4702, allocations: 6.531 kB / 0.6723 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.4703, allocations: 13.94 kB / 0.6723 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.4703, allocations: 0 / 0.6723 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of Templates: time 0.004032/0.4743, allocations: 1.373 MB / 0.6737 GB, free: 396 kB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)