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/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.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") [: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.002489/0.002489, allocations: 172.3 kB / 7.457 MB, free: 2.16 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6103/0.6103, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.125/1.125, allocations: 221.3 MB / 395 MB, free: 10.21 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.0008669/0.0008669, allocations: 107.1 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.191e-06/6.352e-06, allocations: 0 / 0.5528 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1172, allocations: 82.3 MB / 0.6332 GB, free: 14.15 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3787/0.4958, allocations: 137.7 MB / 0.7677 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.4961, allocations: 71.28 kB / 0.7677 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.004577/0.5007, allocations: 1.893 MB / 0.7696 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.5007, allocations: 0 / 0.7696 GB, free: 7.496 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004229/0.5011, allocations: 379.8 kB / 0.77 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.5012, allocations: 8.031 kB / 0.77 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.5012, allocations: 7.906 kB / 0.77 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.5013, allocations: 163.1 kB / 0.7701 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.5013, allocations: 0 / 0.7701 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.5013, allocations: 4 kB / 0.7701 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.965e-05/0.5014, allocations: 33.81 kB / 0.7702 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.273e-05/0.5015, allocations: 45.3 kB / 0.7702 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.5015, allocations: 3.984 kB / 0.7702 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.5015, allocations: 0 / 0.7702 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.5016, allocations: 4 kB / 0.7702 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.5019, allocations: 251.4 kB / 0.7705 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.748e-05/0.5019, allocations: 29.33 kB / 0.7705 GB, free: 22.49 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/0.502, allocations: 19.73 kB / 0.7705 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.5021, allocations: 89.19 kB / 0.7706 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.5021, allocations: 35.7 kB / 0.7706 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.5022, allocations: 0 / 0.7706 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001915/0.5023, allocations: 60.27 kB / 0.7707 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.5024, allocations: 55.41 kB / 0.7707 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.06e-05/0.5025, allocations: 97 kB / 0.7708 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.5025, allocations: 25.7 kB / 0.7709 GB, free: 22.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.5025, allocations: 99.28 kB / 0.7709 GB, free: 21.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.266e-05/0.5025, allocations: 3.906 kB / 0.7709 GB, free: 21.97 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.5025, allocations: 0 / 0.7709 GB, free: 21.97 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.5027, allocations: 318.7 kB / 0.7713 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.157e-05/0.5027, allocations: 7.938 kB / 0.7713 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.847e-05/0.5027, allocations: 7.062 kB / 0.7713 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.472e-05/0.5028, allocations: 19.48 kB / 0.7713 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.5028, allocations: 0 / 0.7713 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001007/0.5029, allocations: 59.66 kB / 0.7713 GB, free: 21.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/0.5029, allocations: 4 kB / 0.7713 GB, free: 21.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.5029, allocations: 3.938 kB / 0.7714 GB, free: 21.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/0.5029, allocations: 0 / 0.7714 GB, free: 21.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.503, allocations: 33.34 kB / 0.7714 GB, free: 21.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.5031, allocations: 4 kB / 0.7714 GB, free: 21.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.171e-05/0.5031, allocations: 15.98 kB / 0.7714 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.5032, allocations: 4 kB / 0.7714 GB, free: 21.51 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 6.339e-05/0.5032, allocations: 104.9 kB / 0.7715 GB, free: 21.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.5033, allocations: 4 kB / 0.7715 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.5034, allocations: 71.59 kB / 0.7716 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5034, allocations: 4.031 kB / 0.7716 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.5034, allocations: 3.906 kB / 0.7716 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5034, allocations: 0 / 0.7716 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.5035, allocations: 146 kB / 0.7717 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.5035, allocations: 0 / 0.7717 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.5037, allocations: 31.61 kB / 0.7718 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5037, allocations: 0 / 0.7718 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.5037, allocations: 0 / 0.7718 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.5037, allocations: 0 / 0.7718 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5037, allocations: 0 / 0.7718 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001372/0.5038, allocations: 156.4 kB / 0.7719 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.5039, allocations: 85.02 kB / 0.772 GB, free: 20.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.5039, allocations: 0 / 0.772 GB, free: 20.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.504, allocations: 19.98 kB / 0.772 GB, free: 20.83 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.5041, allocations: 7.984 kB / 0.772 GB, free: 20.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.5041, allocations: 0 / 0.772 GB, free: 20.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.618e-05/0.5041, allocations: 86.59 kB / 0.7721 GB, free: 20.74 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002196/0.5043, allocations: 27.47 kB / 0.7721 GB, free: 20.72 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.0001664/0.5045, allocations: 140.5 kB / 0.7723 GB, free: 20.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.944e-05/0.5046, allocations: 22.81 kB / 0.7723 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.5046, allocations: 0 / 0.7723 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.823e-05/0.5046, allocations: 23.61 kB / 0.7723 GB, free: 20.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.5048, allocations: 11.41 kB / 0.7723 GB, free: 20.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002002/0.505, allocations: 75.14 kB / 0.7724 GB, free: 20.44 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/0.5052, allocations: 0.6993 MB / 0.7731 GB, free: 19.72 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/0.5052, allocations: 0 / 0.7731 GB, free: 19.72 MB / 0.5105 GB Notification: Performance of Templates: time 0.002547/0.5078, allocations: 1.027 MB / 0.7741 GB, free: 18.72 MB / 0.5105 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)