Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [: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.001209/0.001209, allocations: 189.1 kB / 7.801 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4469/0.4469, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 221.4 MB / 342.8 MB, free: 5.25 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008818/0.0008819, allocations: 95.16 kB / 415.5 MB, free: 9.848 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.811e-06/5.851e-06, allocations: 0 / 493.9 MB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2728, allocations: 72.3 MB / 0.5529 GB, free: 44.88 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.777/3.05, allocations: 1.679 GB / 2.232 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/3.05, allocations: 83.95 kB / 2.232 GB, free: 120.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.1143/3.164, allocations: 64.12 MB / 2.295 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.139e-05/3.164, allocations: 0 / 2.295 GB, free: 55.12 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005115/3.165, allocations: 438 kB / 2.295 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/3.165, allocations: 8.031 kB / 2.295 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000852/3.166, allocations: 83.78 kB / 2.295 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/3.166, allocations: 210.8 kB / 2.296 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/3.166, allocations: 0 / 2.296 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/3.166, allocations: 4 kB / 2.296 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001642/3.166, allocations: 67.98 kB / 2.296 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/3.166, allocations: 105.5 kB / 2.296 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/3.166, allocations: 0 / 2.296 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/3.166, allocations: 0 / 2.296 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/3.166, allocations: 4 kB / 2.296 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006606/3.167, allocations: 388.8 kB / 2.296 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/3.167, allocations: 192 kB / 2.296 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/3.167, allocations: 48.84 kB / 2.296 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/3.167, allocations: 0 / 2.296 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/3.168, allocations: 38.56 kB / 2.296 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/3.168, allocations: 0 / 2.296 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0002294/3.168, allocations: 93.72 kB / 2.297 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.66e-05/3.168, allocations: 55.41 kB / 2.297 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.863e-05/3.168, allocations: 124.2 kB / 2.297 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/3.168, allocations: 25.7 kB / 2.297 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.647e-05/3.168, allocations: 100.1 kB / 2.297 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/3.168, allocations: 23.56 kB / 2.297 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/3.168, allocations: 0 / 2.297 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.375e-05/3.168, allocations: 326.8 kB / 2.297 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.51e-05/3.168, allocations: 27.98 kB / 2.297 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.509e-05/3.168, allocations: 50.56 kB / 2.297 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.186e-05/3.168, allocations: 31.97 kB / 2.297 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/3.168, allocations: 0 / 2.297 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001476/3.168, allocations: 93.81 kB / 2.297 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/3.168, allocations: 8 kB / 2.297 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/3.168, allocations: 4.109 kB / 2.297 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/3.168, allocations: 3.906 kB / 2.297 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/3.169, allocations: 39.84 kB / 2.297 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/3.169, allocations: 3.984 kB / 2.297 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/3.169, allocations: 27.97 kB / 2.297 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/3.169, allocations: 4 kB / 2.297 GB, free: 52.32 MB / 0.6042 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 (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 5.038e-05/3.169, allocations: 105 kB / 2.298 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/3.169, allocations: 11.81 kB / 2.298 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.444e-05/3.169, allocations: 20.48 kB / 2.298 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/3.169, allocations: 0 / 2.298 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/3.169, allocations: 0 / 2.298 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/3.169, allocations: 0 / 2.298 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/3.169, allocations: 382.9 kB / 2.298 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/3.169, allocations: 0 / 2.298 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/3.17, allocations: 35.97 kB / 2.298 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/3.17, allocations: 4 kB / 2.298 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/3.17, allocations: 0 / 2.298 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/3.17, allocations: 4 kB / 2.298 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/3.17, allocations: 0 / 2.298 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001632/3.17, allocations: 203.3 kB / 2.298 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/3.17, allocations: 88.95 kB / 2.298 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/3.17, allocations: 0 / 2.298 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/3.17, allocations: 31.88 kB / 2.298 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/3.17, allocations: 7.984 kB / 2.298 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/3.17, allocations: 3.938 kB / 2.298 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.272e-05/3.17, allocations: 95.28 kB / 2.298 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003281/3.17, allocations: 67.97 kB / 2.298 GB, free: 51.2 MB / 0.6042 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 (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 Backend phase and start with SimCode phase: time 0.0006445/3.171, allocations: 0.7315 MB / 2.299 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001561/3.171, allocations: 63.98 kB / 2.299 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/3.171, allocations: 4 kB / 2.299 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.304e-05/3.171, allocations: 43.92 kB / 2.299 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/3.172, allocations: 24.34 kB / 2.299 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/3.172, allocations: 163.2 kB / 2.299 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/3.172, allocations: 0.7231 MB / 2.3 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/3.172, allocations: 0 / 2.3 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.00857/3.181, allocations: 5.632 MB / 2.306 GB, free: 43.79 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)