Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_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/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/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.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_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.003692/0.003692, allocations: 178.6 kB / 7.453 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6963/0.6963, allocations: 130.6 MB / 138.5 MB, free: 2.18 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 221.3 MB / 391.4 MB, free: 13.02 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.001079/0.001079, allocations: 103.6 kB / 473.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.128e-06/9.238e-06, allocations: 5.375 kB / 0.5479 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2196, allocations: 81.58 MB / 0.6276 GB, free: 18.19 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5431/0.7627, allocations: 112.2 MB / 0.7372 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.763, allocations: 82.75 kB / 0.7373 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.007617/0.7707, allocations: 2.256 MB / 0.7395 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.7707, allocations: 3.875 kB / 0.7395 GB, free: 11.09 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.0004787/0.7712, allocations: 396.8 kB / 0.7398 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.7712, allocations: 7.781 kB / 0.7399 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.7713, allocations: 9.016 kB / 0.7399 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.7714, allocations: 174.6 kB / 0.74 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.7714, allocations: 7.328 kB / 0.74 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.7714, allocations: 0 / 0.74 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.627e-05/0.7715, allocations: 25.62 kB / 0.7401 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.212e-05/0.7716, allocations: 53.72 kB / 0.7401 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.7717, allocations: 0 / 0.7401 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.7717, allocations: 0 / 0.7401 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.7717, allocations: 3.844 kB / 0.7401 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.7721, allocations: 256.9 kB / 0.7404 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.888e-05/0.7721, allocations: 31.83 kB / 0.7404 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.994e-05/0.7722, allocations: 19.58 kB / 0.7404 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001823/0.7723, allocations: 87.73 kB / 0.7405 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.7724, allocations: 31.83 kB / 0.7405 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.7724, allocations: 3.75 kB / 0.7405 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0003868/0.7728, allocations: 77.19 kB / 0.7406 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.7728, allocations: 63.25 kB / 0.7407 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.309e-05/0.7729, allocations: 98.48 kB / 0.7408 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.7729, allocations: 29.64 kB / 0.7408 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.773, allocations: 89.08 kB / 0.7409 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.773, allocations: 13 kB / 0.7409 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.773, allocations: 0 / 0.7409 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.7732, allocations: 312.6 kB / 0.7412 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.7732, allocations: 7.75 kB / 0.7412 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.861e-05/0.7732, allocations: 15.53 kB / 0.7412 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.7734, allocations: 35.97 kB / 0.7412 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7735, allocations: 0 / 0.7412 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002564/0.7737, allocations: 81.33 kB / 0.7413 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.7737, allocations: 7.875 kB / 0.7413 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.7737, allocations: 0 / 0.7413 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.7738, allocations: 0 / 0.7413 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.7739, allocations: 28.8 kB / 0.7413 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.7739, allocations: 384 / 0.7413 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.8e-05/0.774, allocations: 20.78 kB / 0.7414 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.774, allocations: 4 kB / 0.7414 GB, free: 25.36 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 7.629e-05/0.7741, allocations: 104.9 kB / 0.7415 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.7741, allocations: 9.438 kB / 0.7415 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.7744, allocations: 87.09 kB / 0.7416 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.7744, allocations: 0 / 0.7416 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7745, allocations: 3.906 kB / 0.7416 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.7745, allocations: 1.781 kB / 0.7416 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.7746, allocations: 145.6 kB / 0.7417 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.7746, allocations: 4 kB / 0.7417 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.7747, allocations: 25.34 kB / 0.7417 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7747, allocations: 0 / 0.7417 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.7747, allocations: 0.625 kB / 0.7417 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.7748, allocations: 0 / 0.7417 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.7748, allocations: 7.938 kB / 0.7417 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003002/0.7751, allocations: 176.4 kB / 0.7419 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.7751, allocations: 90.55 kB / 0.742 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.7751, allocations: 0 / 0.742 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.7753, allocations: 24.86 kB / 0.742 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.7753, allocations: 4.625 kB / 0.742 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.7753, allocations: 0 / 0.742 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.394e-05/0.7754, allocations: 91.47 kB / 0.7421 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002647/0.7757, allocations: 36.5 kB / 0.7422 GB, free: 24.71 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.0002072/0.7759, allocations: 135.8 kB / 0.7423 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.776, allocations: 27.72 kB / 0.7423 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.776, allocations: 0 / 0.7423 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.955e-05/0.776, allocations: 14.09 kB / 0.7423 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.7762, allocations: 6.156 kB / 0.7423 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000233/0.7764, allocations: 75.78 kB / 0.7424 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.7767, allocations: 0.6972 MB / 0.7431 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of SimCode: time 2.91e-07/0.7767, allocations: 4 kB / 0.7431 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of Templates: time 0.003437/0.7802, allocations: 1.179 MB / 0.7442 GB, free: 23.73 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)