Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001515/0.001515, allocations: 108 kB / 16.27 MB, free: 6.004 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.001677/0.001677, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8189/0.8189, allocations: 132.2 MB / 423.2 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.91 kB / 0.5024 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3454, allocations: 80.18 MB / 0.5807 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002191/0.3476, allocations: 1.274 MB / 0.582 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1327/0.4803, allocations: 132 MB / 0.7109 GB, free: 8.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.4804, allocations: 0 / 0.7109 GB, free: 8.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.041e-05/0.4805, allocations: 0 / 0.7109 GB, free: 8.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.926e-05/0.4805, allocations: 11.91 kB / 0.7109 GB, free: 8.488 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.4809, allocations: 55.73 kB / 0.711 GB, free: 8.434 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.764e-05/0.481, allocations: 27.86 kB / 0.711 GB, free: 8.406 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.481, allocations: 0 / 0.711 GB, free: 8.406 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.4811, allocations: 7.938 kB / 0.711 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.4811, allocations: 11.98 kB / 0.711 GB, free: 8.387 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.4811, allocations: 4 kB / 0.711 GB, free: 8.383 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-05/0.4812, allocations: 8 kB / 0.711 GB, free: 8.375 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.4812, allocations: 4 kB / 0.711 GB, free: 8.371 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.4813, allocations: 15.91 kB / 0.7111 GB, free: 8.355 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.734e-05/0.4814, allocations: 29.89 kB / 0.7111 GB, free: 8.328 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4814, allocations: 0 / 0.7111 GB, free: 8.328 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4814, allocations: 4 kB / 0.7111 GB, free: 8.324 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.4814, allocations: 0 / 0.7111 GB, free: 8.324 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.0004199/0.4818, allocations: 335.4 kB / 0.7114 GB, free: 7.945 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.4819, allocations: 8.031 kB / 0.7114 GB, free: 7.938 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.4819, allocations: 4.938 kB / 0.7114 GB, free: 7.934 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.482, allocations: 160.4 kB / 0.7116 GB, free: 7.738 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.353e-05/0.4821, allocations: 38.19 kB / 0.7116 GB, free: 7.695 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.4821, allocations: 384 / 0.7116 GB, free: 7.695 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.4822, allocations: 46.25 kB / 0.7117 GB, free: 7.645 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4823, allocations: 3.938 kB / 0.7117 GB, free: 7.641 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.4823, allocations: 3.984 kB / 0.7117 GB, free: 7.637 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4823, allocations: 0 / 0.7117 GB, free: 7.637 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.133e-05/0.4824, allocations: 11.98 kB / 0.7117 GB, free: 7.625 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.4825, allocations: 149.7 kB / 0.7118 GB, free: 7.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.388e-05/0.4826, allocations: 38.55 kB / 0.7119 GB, free: 7.383 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.4827, allocations: 24.94 kB / 0.7119 GB, free: 7.355 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/0.4829, allocations: 85.11 kB / 0.712 GB, free: 7.254 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.4829, allocations: 38.55 kB / 0.712 GB, free: 7.207 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4829, allocations: 0 / 0.712 GB, free: 7.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000227/0.4832, allocations: 57.53 kB / 0.7121 GB, free: 7.145 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.4832, allocations: 55.41 kB / 0.7121 GB, free: 7.078 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.06e-05/0.4833, allocations: 101.8 kB / 0.7122 GB, free: 6.969 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.4833, allocations: 25.7 kB / 0.7122 GB, free: 6.938 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.726e-05/0.4833, allocations: 80.14 kB / 0.7123 GB, free: 6.855 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.4834, allocations: 15.78 kB / 0.7123 GB, free: 6.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.4834, allocations: 17.72 kB / 0.7123 GB, free: 6.816 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.4835, allocations: 318.8 kB / 0.7126 GB, free: 6.496 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.441e-05/0.4836, allocations: 4 kB / 0.7126 GB, free: 6.492 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.307e-05/0.4836, allocations: 12 kB / 0.7127 GB, free: 6.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.34e-05/0.4837, allocations: 28.78 kB / 0.7127 GB, free: 6.449 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4837, allocations: 0 / 0.7127 GB, free: 6.449 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00012/0.4838, allocations: 49.67 kB / 0.7127 GB, free: 6.395 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.4839, allocations: 7.938 kB / 0.7127 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.4839, allocations: 4 kB / 0.7127 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.4839, allocations: 0 / 0.7127 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.923e-05/0.484, allocations: 4 kB / 0.7127 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.484, allocations: 7.938 kB / 0.7128 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.897e-05/0.484, allocations: 0 / 0.7128 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.484, allocations: 4 kB / 0.7128 GB, free: 6.367 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 6.87e-05/0.4841, allocations: 109.8 kB / 0.7129 GB, free: 6.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.4841, allocations: 7.844 kB / 0.7129 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.4843, allocations: 57.19 kB / 0.7129 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.4843, allocations: 4.547 kB / 0.7129 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4843, allocations: 0 / 0.7129 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.4843, allocations: 4 kB / 0.7129 GB, free: 6.168 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.4844, allocations: 153.7 kB / 0.7131 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4844, allocations: 3.984 kB / 0.7131 GB, free: 5.965 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.4845, allocations: 4 kB / 0.7131 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.4845, allocations: 7.938 kB / 0.7131 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.4845, allocations: 3.984 kB / 0.7131 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4845, allocations: 7.922 kB / 0.7131 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4845, allocations: 0 / 0.7131 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.4847, allocations: 77.11 kB / 0.7132 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.4847, allocations: 81.11 kB / 0.7133 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.4847, allocations: 3.938 kB / 0.7133 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.158e-05/0.4848, allocations: 4 kB / 0.7133 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.4848, allocations: 3.984 kB / 0.7133 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.4848, allocations: 0 / 0.7133 GB, free: 5.738 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.202e-05/0.4849, allocations: 79.28 kB / 0.7133 GB, free: 5.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4849, allocations: 0 / 0.7133 GB, free: 5.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000191/0.4851, allocations: 8 kB / 0.7133 GB, free: 5.652 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.0001401/0.4852, allocations: 115.2 kB / 0.7135 GB, free: 5.531 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001355/0.4854, allocations: 19.92 kB / 0.7135 GB, free: 5.512 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4854, allocations: 0 / 0.7135 GB, free: 5.512 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.106e-05/0.4854, allocations: 19.92 kB / 0.7135 GB, free: 5.492 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.4856, allocations: 11.94 kB / 0.7135 GB, free: 5.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.4859, allocations: 157.3 kB / 0.7137 GB, free: 5.293 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.4862, allocations: 0.6768 MB / 0.7143 GB, free: 4.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.4862, allocations: 11.44 kB / 0.7143 GB, free: 4.578 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.4862, allocations: 0 / 0.7143 GB, free: 4.578 MB / 0.545 GB Notification: Performance of Templates: time 0.00176/0.488, allocations: 0.5627 MB / 0.7149 GB, free: 4.016 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)