Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [: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.001977/0.001977, allocations: 184.8 kB / 7.463 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.6134/0.6134, allocations: 133.5 MB / 141.4 MB, free: 15.8 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.122/1.122, allocations: 221.3 MB / 395 MB, free: 10.23 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.0008128/0.000813, allocations: 99.22 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.494e-06, allocations: 2.5 kB / 0.5528 GB, free: 88.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.113, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3416/0.4546, allocations: 112.8 MB / 0.7434 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.4548, allocations: 78.64 kB / 0.7434 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.008756/0.4636, allocations: 3.165 MB / 0.7465 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.4636, allocations: 3.875 kB / 0.7465 GB, free: 10.84 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000527/0.4642, allocations: 404.7 kB / 0.7469 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.4642, allocations: 11.72 kB / 0.7469 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/0.4644, allocations: 35.39 kB / 0.747 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.4647, allocations: 188.7 kB / 0.7471 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.842e-05/0.4647, allocations: 34.44 kB / 0.7472 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.4648, allocations: 3.844 kB / 0.7472 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001362/0.4649, allocations: 53.12 kB / 0.7472 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.465, allocations: 74.28 kB / 0.7473 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.4651, allocations: 3.906 kB / 0.7473 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.4651, allocations: 0.6094 kB / 0.7473 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4651, allocations: 3.875 kB / 0.7473 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005303/0.4656, allocations: 341.4 kB / 0.7476 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.4661, allocations: 114.7 kB / 0.7477 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.4661, allocations: 24 kB / 0.7478 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.4661, allocations: 0 / 0.7478 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.4662, allocations: 41.47 kB / 0.7478 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.4662, allocations: 0 / 0.7478 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7): time 0.0001889/0.4664, allocations: 76.59 kB / 0.7479 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.4664, allocations: 55 kB / 0.7479 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.65e-05/0.4665, allocations: 106 kB / 0.748 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.4665, allocations: 25.7 kB / 0.7481 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.936e-05/0.4665, allocations: 98.22 kB / 0.7481 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.4666, allocations: 21.97 kB / 0.7482 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.4666, allocations: 4.75 kB / 0.7482 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.111e-05/0.4667, allocations: 320.8 kB / 0.7485 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.027e-05/0.4667, allocations: 14.34 kB / 0.7485 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.856e-05/0.4668, allocations: 32.08 kB / 0.7485 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.667e-05/0.4668, allocations: 16.41 kB / 0.7485 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4668, allocations: 0 / 0.7485 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000119/0.4669, allocations: 81.77 kB / 0.7486 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.4669, allocations: 11.72 kB / 0.7486 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.467, allocations: 7.875 kB / 0.7486 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.467, allocations: 3.906 kB / 0.7486 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.4671, allocations: 19.28 kB / 0.7487 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.4671, allocations: 5.031 kB / 0.7487 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.585e-05/0.4672, allocations: 13.88 kB / 0.7487 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.4672, allocations: 0.75 kB / 0.7487 GB, free: 25.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.589e-05/0.4673, allocations: 101 kB / 0.7488 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.4673, allocations: 8.266 kB / 0.7488 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.4674, allocations: 24.22 kB / 0.7488 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.4674, allocations: 4.562 kB / 0.7488 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4674, allocations: 0 / 0.7488 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4674, allocations: 0.6094 kB / 0.7488 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.4676, allocations: 175.1 kB / 0.749 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4676, allocations: 4 kB / 0.749 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.4677, allocations: 19.02 kB / 0.749 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.4677, allocations: 3.594 kB / 0.749 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.4677, allocations: 4.562 kB / 0.749 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4677, allocations: 0 / 0.749 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4677, allocations: 0 / 0.749 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001371/0.4679, allocations: 180.4 kB / 0.7492 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.4679, allocations: 81.72 kB / 0.7493 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.4679, allocations: 0.6562 kB / 0.7493 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.4681, allocations: 15.58 kB / 0.7493 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.4682, allocations: 9.922 kB / 0.7493 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.4682, allocations: 8.453 kB / 0.7493 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.427e-05/0.4682, allocations: 93.62 kB / 0.7494 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002253/0.4685, allocations: 19.25 kB / 0.7494 GB, free: 24.5 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 (7): * Single equations (assignments): 7 * 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.0001044/0.4686, allocations: 98.39 kB / 0.7495 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.4687, allocations: 43.59 kB / 0.7495 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.4687, allocations: 0 / 0.7495 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/0.4687, allocations: 26.58 kB / 0.7496 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.469, allocations: 22.97 kB / 0.7496 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.4693, allocations: 126.2 kB / 0.7497 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.4696, allocations: 0.7237 MB / 0.7504 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.4696, allocations: 3.938 kB / 0.7504 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of Templates: time 0.003555/0.4732, allocations: 1.312 MB / 0.7517 GB, free: 23.52 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)