Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001179/0.001179, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8386/0.8386, allocations: 135.2 MB / 426.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 63.89 kB / 0.506 GB, free: 8.336 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3309, allocations: 80.92 MB / 0.5851 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002139/0.3331, allocations: 1.263 MB / 0.5863 GB, free: 24.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1467/0.4798, allocations: 132 MB / 0.7152 GB, free: 4.758 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.875e-05/0.4799, allocations: 0 / 0.7152 GB, free: 4.758 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.48, allocations: 3.938 kB / 0.7152 GB, free: 4.754 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.868e-05/0.4801, allocations: 11.97 kB / 0.7152 GB, free: 4.742 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.4805, allocations: 55.67 kB / 0.7153 GB, free: 4.688 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.182e-05/0.4806, allocations: 19.94 kB / 0.7153 GB, free: 4.668 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.4806, allocations: 7.984 kB / 0.7153 GB, free: 4.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.1e-05/0.4807, allocations: 7.938 kB / 0.7153 GB, free: 4.652 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.652e-05/0.4807, allocations: 8 kB / 0.7153 GB, free: 4.645 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.4808, allocations: 3.938 kB / 0.7153 GB, free: 4.641 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-05/0.4808, allocations: 15.98 kB / 0.7154 GB, free: 4.625 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.4809, allocations: 3.984 kB / 0.7154 GB, free: 4.621 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.059e-05/0.4809, allocations: 11.92 kB / 0.7154 GB, free: 4.609 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.481, allocations: 29.89 kB / 0.7154 GB, free: 4.582 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.481, allocations: 0 / 0.7154 GB, free: 4.582 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4811, allocations: 0 / 0.7154 GB, free: 4.582 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.4811, allocations: 4 kB / 0.7154 GB, free: 4.578 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004638/0.4815, allocations: 331.4 kB / 0.7157 GB, free: 4.203 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.4816, allocations: 13.11 kB / 0.7157 GB, free: 4.191 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.4816, allocations: 0.9375 kB / 0.7157 GB, free: 4.191 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.4818, allocations: 164.4 kB / 0.7159 GB, free: 3.992 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.417e-05/0.4819, allocations: 30.25 kB / 0.7159 GB, free: 3.957 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.4819, allocations: 8.375 kB / 0.7159 GB, free: 3.949 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.4821, allocations: 46.12 kB / 0.716 GB, free: 3.898 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.4821, allocations: 3.938 kB / 0.716 GB, free: 3.895 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.4821, allocations: 0 / 0.716 GB, free: 3.895 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.4821, allocations: 0 / 0.716 GB, free: 3.895 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.459e-05/0.4822, allocations: 8 kB / 0.716 GB, free: 3.887 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.4824, allocations: 153.7 kB / 0.7161 GB, free: 3.688 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.4825, allocations: 42.61 kB / 0.7162 GB, free: 3.637 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.342e-05/0.4826, allocations: 12.86 kB / 0.7162 GB, free: 3.621 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.4828, allocations: 89.19 kB / 0.7163 GB, free: 3.516 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.4828, allocations: 34.5 kB / 0.7163 GB, free: 3.473 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4828, allocations: 0 / 0.7163 GB, free: 3.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002586/0.4831, allocations: 69.52 kB / 0.7164 GB, free: 3.398 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.4831, allocations: 51.41 kB / 0.7164 GB, free: 3.336 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.621e-05/0.4832, allocations: 106 kB / 0.7165 GB, free: 3.223 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.4832, allocations: 25.7 kB / 0.7165 GB, free: 3.191 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.4833, allocations: 80.14 kB / 0.7166 GB, free: 3.109 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.4833, allocations: 7.844 kB / 0.7166 GB, free: 3.102 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.4834, allocations: 17.72 kB / 0.7166 GB, free: 3.078 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4835, allocations: 314.8 kB / 0.7169 GB, free: 2.762 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.745e-05/0.4836, allocations: 11.98 kB / 0.717 GB, free: 2.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.098e-05/0.4836, allocations: 12 kB / 0.717 GB, free: 2.738 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.782e-05/0.4837, allocations: 24.78 kB / 0.717 GB, free: 2.711 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4837, allocations: 0 / 0.717 GB, free: 2.711 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001325/0.4839, allocations: 53.67 kB / 0.717 GB, free: 2.652 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4839, allocations: 7.938 kB / 0.7171 GB, free: 2.645 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4839, allocations: 0 / 0.7171 GB, free: 2.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4839, allocations: 0 / 0.7171 GB, free: 2.645 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.805e-05/0.484, allocations: 8 kB / 0.7171 GB, free: 2.637 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.484, allocations: 4 kB / 0.7171 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.057e-05/0.484, allocations: 0 / 0.7171 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.484, allocations: 0 / 0.7171 GB, free: 2.633 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 8.041e-05/0.4841, allocations: 109.8 kB / 0.7172 GB, free: 2.516 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.4841, allocations: 7.922 kB / 0.7172 GB, free: 2.508 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.4843, allocations: 65.02 kB / 0.7172 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4844, allocations: 0 / 0.7172 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4844, allocations: 12 kB / 0.7173 GB, free: 2.426 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.4844, allocations: 3.984 kB / 0.7173 GB, free: 2.422 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.4845, allocations: 153.7 kB / 0.7174 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4845, allocations: 0 / 0.7174 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.4846, allocations: 7.984 kB / 0.7174 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.4846, allocations: 3.938 kB / 0.7174 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.4846, allocations: 0 / 0.7174 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4846, allocations: 3.938 kB / 0.7174 GB, free: 2.207 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4846, allocations: 0 / 0.7174 GB, free: 2.207 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.4848, allocations: 81.05 kB / 0.7175 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.374e-05/0.4849, allocations: 81.11 kB / 0.7176 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.4849, allocations: 7.938 kB / 0.7176 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.801e-05/0.4849, allocations: 0 / 0.7176 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.485, allocations: 7.984 kB / 0.7176 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.485, allocations: 0 / 0.7176 GB, free: 1.996 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.09e-05/0.485, allocations: 75.7 kB / 0.7177 GB, free: 1.922 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.485, allocations: 0 / 0.7177 GB, free: 1.922 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001901/0.4852, allocations: 20 kB / 0.7177 GB, free: 1.902 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.0001606/0.4854, allocations: 111.2 kB / 0.7178 GB, free: 1.785 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001644/0.4856, allocations: 23.92 kB / 0.7178 GB, free: 1.762 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4856, allocations: 0 / 0.7178 GB, free: 1.762 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.087e-05/0.4856, allocations: 12.22 kB / 0.7178 GB, free: 1.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.4858, allocations: 5.875 kB / 0.7178 GB, free: 1.746 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.4862, allocations: 153.5 kB / 0.718 GB, free: 1.562 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.4866, allocations: 0.6807 MB / 0.7186 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.4866, allocations: 7.438 kB / 0.7186 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.4866, allocations: 0 / 0.7186 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of Templates: time 0.002682/0.4893, allocations: 0.5713 MB / 0.7192 GB, free: 284 kB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)