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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 179.8 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5952/0.5952, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.117/1.117, allocations: 221.3 MB / 395 MB, free: 10.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008239/0.0008238, allocations: 94.78 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.703e-06/6.722e-06, allocations: 3 kB / 0.5528 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3664/0.4832, allocations: 137.1 MB / 0.7671 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.4834, allocations: 73.86 kB / 0.7672 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.003194/0.4866, allocations: 1.348 MB / 0.7685 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.4867, allocations: 0 / 0.7685 GB, free: 8.348 MB / 0.4948 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.000242/0.4869, allocations: 317.6 kB / 0.7688 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.4869, allocations: 8.031 kB / 0.7688 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.487, allocations: 7.906 kB / 0.7688 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.4871, allocations: 168.9 kB / 0.769 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.906e-05/0.4872, allocations: 34.45 kB / 0.769 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-06/0.4872, allocations: 0 / 0.769 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.712e-05/0.4872, allocations: 4 kB / 0.769 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.501e-05/0.4873, allocations: 40.97 kB / 0.7691 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.4873, allocations: 0 / 0.7691 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.4873, allocations: 0 / 0.7691 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.4873, allocations: 0 / 0.7691 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.4875, allocations: 137.5 kB / 0.7692 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.483e-05/0.4875, allocations: 36.36 kB / 0.7692 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.4875, allocations: 4.859 kB / 0.7692 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.4877, allocations: 93.19 kB / 0.7693 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.4877, allocations: 34.38 kB / 0.7694 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.4877, allocations: 0 / 0.7694 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001481/0.4879, allocations: 45.59 kB / 0.7694 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.4879, allocations: 55.41 kB / 0.7695 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.095e-05/0.488, allocations: 92.84 kB / 0.7696 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.488, allocations: 30.69 kB / 0.7696 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.237e-05/0.488, allocations: 84.08 kB / 0.7697 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.488, allocations: 7.891 kB / 0.7697 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.488, allocations: 0 / 0.7697 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4881, allocations: 310.8 kB / 0.77 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.4882, allocations: 7.25 kB / 0.77 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.186e-06/0.4882, allocations: 4 kB / 0.77 GB, free: 22.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.218e-05/0.4882, allocations: 11.98 kB / 0.77 GB, free: 22.65 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4882, allocations: 0 / 0.77 GB, free: 22.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.052e-05/0.4883, allocations: 53.34 kB / 0.77 GB, free: 22.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.4883, allocations: 4 kB / 0.77 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.4883, allocations: 0 / 0.77 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.4884, allocations: 0 / 0.77 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.647e-05/0.4884, allocations: 4.5 kB / 0.77 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.4884, allocations: 4 kB / 0.7701 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.4885, allocations: 0 / 0.7701 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.4885, allocations: 3.984 kB / 0.7701 GB, free: 22.58 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.416e-05/0.4885, allocations: 112.8 kB / 0.7702 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-06/0.4886, allocations: 6.062 kB / 0.7702 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.4887, allocations: 51.38 kB / 0.7702 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.4887, allocations: 0 / 0.7702 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.4887, allocations: 0 / 0.7702 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4887, allocations: 3.984 kB / 0.7702 GB, free: 22.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.094e-05/0.4888, allocations: 130.2 kB / 0.7703 GB, free: 22.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.4888, allocations: 0 / 0.7703 GB, free: 22.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-05/0.4888, allocations: 11.92 kB / 0.7704 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.4888, allocations: 4 kB / 0.7704 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.4888, allocations: 0 / 0.7704 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4888, allocations: 4 kB / 0.7704 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4888, allocations: 0 / 0.7704 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.357e-05/0.4889, allocations: 72.59 kB / 0.7704 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.489, allocations: 81.09 kB / 0.7705 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.489, allocations: 0 / 0.7705 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.237e-05/0.489, allocations: 6.438 kB / 0.7705 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.4891, allocations: 11.84 kB / 0.7705 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.4891, allocations: 0 / 0.7705 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.496e-05/0.4891, allocations: 83.27 kB / 0.7706 GB, free: 21.94 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001679/0.4893, allocations: 15.12 kB / 0.7706 GB, free: 21.93 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001503/0.4895, allocations: 139.4 kB / 0.7708 GB, free: 21.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.109e-05/0.4895, allocations: 15.88 kB / 0.7708 GB, free: 21.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.4895, allocations: 0 / 0.7708 GB, free: 21.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.429e-05/0.4895, allocations: 7.938 kB / 0.7708 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.4897, allocations: 8.703 kB / 0.7708 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001423/0.4898, allocations: 59.11 kB / 0.7708 GB, free: 21.69 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.4901, allocations: 0.6915 MB / 0.7715 GB, free: 20.97 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/0.4901, allocations: 0 / 0.7715 GB, free: 20.97 MB / 0.5105 GB Notification: Performance of Templates: time 0.002132/0.4922, allocations: 0.7219 MB / 0.7722 GB, free: 20.27 MB / 0.5105 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)