Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_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.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002145/0.002145, allocations: 191.6 kB / 16.14 MB, free: 6.699 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9727/0.9727, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 67.94 kB / 0.5047 GB, free: 5.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1824, allocations: 80.92 MB / 0.5837 GB, free: 5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003751/0.1862, allocations: 1.551 MB / 0.5852 GB, free: 3.438 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4639/0.6501, allocations: 129.9 MB / 0.7121 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.926e-05/0.6503, allocations: 1.125 kB / 0.7121 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.663e-05/0.6504, allocations: 4.688 kB / 0.7121 GB, free: 14.19 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.961e-05/0.6504, allocations: 10.66 kB / 0.7121 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.6509, allocations: 55.38 kB / 0.7122 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.651, allocations: 50.48 kB / 0.7122 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.6511, allocations: 18.95 kB / 0.7122 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.125e-05/0.6512, allocations: 19.66 kB / 0.7122 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.451e-05/0.6513, allocations: 24.27 kB / 0.7123 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.6513, allocations: 3.219 kB / 0.7123 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.635e-05/0.6514, allocations: 20.12 kB / 0.7123 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.6514, allocations: 11.42 kB / 0.7123 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.6515, allocations: 20.38 kB / 0.7123 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.6517, allocations: 54.86 kB / 0.7124 GB, free: 14.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.6517, allocations: 0 / 0.7124 GB, free: 14.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6517, allocations: 5.531 kB / 0.7124 GB, free: 14.06 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.6517, allocations: 1.406 kB / 0.7124 GB, free: 14.06 MB / 0.545 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.0007895/0.6525, allocations: 380.1 kB / 0.7127 GB, free: 13.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.6526, allocations: 9.641 kB / 0.7127 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.6526, allocations: 4.406 kB / 0.7128 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.6528, allocations: 168.6 kB / 0.7129 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.6528, allocations: 9.906 kB / 0.7129 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.6528, allocations: 2.906 kB / 0.7129 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/0.6532, allocations: 79.16 kB / 0.713 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.6532, allocations: 1.688 kB / 0.713 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.6533, allocations: 3.938 kB / 0.713 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.6533, allocations: 1.625 kB / 0.713 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.6537, allocations: 72.45 kB / 0.7131 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005656/0.6543, allocations: 291 kB / 0.7134 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.6547, allocations: 59.33 kB / 0.7134 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.6549, allocations: 42.28 kB / 0.7135 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/0.6552, allocations: 87.88 kB / 0.7135 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.6552, allocations: 32.61 kB / 0.7136 GB, free: 12.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.6552, allocations: 0 / 0.7136 GB, free: 12.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0007657/0.656, allocations: 133.4 kB / 0.7137 GB, free: 12.88 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.6561, allocations: 53.36 kB / 0.7137 GB, free: 12.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.6562, allocations: 117.3 kB / 0.7139 GB, free: 12.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.6562, allocations: 29.64 kB / 0.7139 GB, free: 12.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.6563, allocations: 88.02 kB / 0.714 GB, free: 12.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.6563, allocations: 10.02 kB / 0.714 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.6564, allocations: 18.89 kB / 0.714 GB, free: 12.56 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.6566, allocations: 320.8 kB / 0.7143 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.6568, allocations: 30.95 kB / 0.7143 GB, free: 12.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.657, allocations: 31.77 kB / 0.7144 GB, free: 12.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.6574, allocations: 71.36 kB / 0.7144 GB, free: 12.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6575, allocations: 0 / 0.7144 GB, free: 12.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004899/0.658, allocations: 99.45 kB / 0.7145 GB, free: 12.17 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.658, allocations: 8.25 kB / 0.7145 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.658, allocations: 1.703 kB / 0.7145 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.658, allocations: 0 / 0.7145 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.6582, allocations: 24.41 kB / 0.7146 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.6582, allocations: 0 / 0.7146 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.6583, allocations: 16.44 kB / 0.7146 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.6584, allocations: 0 / 0.7146 GB, free: 12.16 MB / 0.545 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 0.000105/0.6585, allocations: 121.3 kB / 0.7147 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.6585, allocations: 2.406 kB / 0.7147 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005278/0.6591, allocations: 109.7 kB / 0.7148 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.6591, allocations: 1.797 kB / 0.7148 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6591, allocations: 0 / 0.7148 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6591, allocations: 0.7031 kB / 0.7148 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.6594, allocations: 176.8 kB / 0.715 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.6594, allocations: 0 / 0.715 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.6596, allocations: 20.23 kB / 0.715 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.6596, allocations: 4.984 kB / 0.715 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.6596, allocations: 1.375 kB / 0.715 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.6596, allocations: 0 / 0.715 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6596, allocations: 1.375 kB / 0.715 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/0.6602, allocations: 190.1 kB / 0.7152 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.877e-05/0.6603, allocations: 97.02 kB / 0.7153 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.6603, allocations: 0 / 0.7153 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.6605, allocations: 16.3 kB / 0.7153 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.6606, allocations: 3.641 kB / 0.7153 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.6606, allocations: 1.094 kB / 0.7153 GB, free: 11.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.735e-05/0.6607, allocations: 91.62 kB / 0.7154 GB, free: 11.44 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6607, allocations: 1.344 kB / 0.7154 GB, free: 11.44 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004106/0.6611, allocations: 16.31 kB / 0.7154 GB, free: 11.44 MB / 0.545 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.000212/0.6614, allocations: 112.1 kB / 0.7155 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005165/0.6619, allocations: 70.91 kB / 0.7156 GB, free: 11.33 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.6619, allocations: 0 / 0.7156 GB, free: 11.33 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.6622, allocations: 38.33 kB / 0.7156 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.6627, allocations: 21.91 kB / 0.7156 GB, free: 11.31 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.6632, allocations: 163.7 kB / 0.7158 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.6636, allocations: 0.6837 MB / 0.7164 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.452e-05/0.6636, allocations: 9.5 kB / 0.7165 GB, free: 10.47 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.6637, allocations: 9.062 kB / 0.7165 GB, free: 10.46 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.6637, allocations: 0 / 0.7165 GB, free: 10.46 MB / 0.545 GB Notification: Performance of Templates: time 0.005348/0.6691, allocations: 0.8458 MB / 0.7173 GB, free: 10.39 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)