Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X") [: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.001147/0.001147, allocations: 191.1 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4419/0.4419, allocations: 90.85 MB / 99.07 MB, free: 14.95 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.156/1.156, allocations: 221.4 MB / 342.8 MB, free: 5.207 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.0009759/0.000976, allocations: 97.06 kB / 415.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.123e-06/7.254e-06, allocations: 0 / 493.9 MB, free: 8.098 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3016, allocations: 72.31 MB / 0.5529 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1005/0.4021, allocations: 101 MB / 0.6516 GB, free: 9.004 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.4024, allocations: 77.08 kB / 0.6516 GB, free: 8.93 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.004178/0.4066, allocations: 1.197 MB / 0.6528 GB, free: 7.754 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.4066, allocations: 4 kB / 0.6528 GB, free: 7.75 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002819/0.4069, allocations: 331.2 kB / 0.6531 GB, free: 7.383 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.407, allocations: 8.031 kB / 0.6531 GB, free: 7.375 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.4072, allocations: 22.58 kB / 0.6532 GB, free: 7.355 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.4073, allocations: 163.8 kB / 0.6533 GB, free: 7.156 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.4073, allocations: 0.75 kB / 0.6533 GB, free: 7.156 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.4074, allocations: 4.938 kB / 0.6533 GB, free: 7.152 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.998e-05/0.4074, allocations: 15.94 kB / 0.6533 GB, free: 7.137 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.587e-05/0.4075, allocations: 46.38 kB / 0.6534 GB, free: 7.086 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.4075, allocations: 0 / 0.6534 GB, free: 7.086 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.4076, allocations: 0.5625 kB / 0.6534 GB, free: 7.086 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4076, allocations: 0 / 0.6534 GB, free: 7.086 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.4077, allocations: 135.2 kB / 0.6535 GB, free: 6.918 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.4096, allocations: 271.2 kB / 0.6538 GB, free: 6.656 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.157e-05/0.4097, allocations: 17.36 kB / 0.6538 GB, free: 6.637 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.4097, allocations: 1.969 kB / 0.6538 GB, free: 6.637 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.4097, allocations: 42.58 kB / 0.6538 GB, free: 6.586 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.4097, allocations: 0 / 0.6538 GB, free: 6.586 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001416/0.4099, allocations: 49.61 kB / 0.6539 GB, free: 6.531 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.4099, allocations: 52.31 kB / 0.6539 GB, free: 6.469 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.814e-05/0.41, allocations: 89.48 kB / 0.654 GB, free: 6.375 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.41, allocations: 26.45 kB / 0.654 GB, free: 6.344 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.68e-05/0.41, allocations: 80.86 kB / 0.6541 GB, free: 6.262 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.4101, allocations: 19.75 kB / 0.6541 GB, free: 6.242 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-06/0.4101, allocations: 0.9688 kB / 0.6541 GB, free: 6.242 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.4102, allocations: 310.8 kB / 0.6544 GB, free: 5.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.934e-05/0.4102, allocations: 8.531 kB / 0.6544 GB, free: 5.922 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.463e-05/0.4102, allocations: 4.844 kB / 0.6544 GB, free: 5.918 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.472e-05/0.4103, allocations: 15.98 kB / 0.6544 GB, free: 5.902 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.4103, allocations: 0.6875 kB / 0.6545 GB, free: 5.902 MB / 474.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.83e-05/0.4104, allocations: 45.64 kB / 0.6545 GB, free: 5.852 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.4104, allocations: 6.844 kB / 0.6545 GB, free: 5.848 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4104, allocations: 4 kB / 0.6545 GB, free: 5.844 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.4104, allocations: 7.922 kB / 0.6545 GB, free: 5.836 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.737e-05/0.4105, allocations: 4 kB / 0.6545 GB, free: 5.832 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.381e-06/0.4105, allocations: 2.891 kB / 0.6545 GB, free: 5.832 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.4105, allocations: 5.844 kB / 0.6545 GB, free: 5.828 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.4105, allocations: 4 kB / 0.6545 GB, free: 5.824 MB / 474.7 MB 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 (4): * Single equations (assignments): 4 * 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.222e-05/0.4106, allocations: 105.6 kB / 0.6546 GB, free: 5.715 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.4106, allocations: 5.328 kB / 0.6546 GB, free: 5.711 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.497e-05/0.4107, allocations: 7.438 kB / 0.6546 GB, free: 5.699 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4107, allocations: 4 kB / 0.6546 GB, free: 5.695 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.4107, allocations: 0.75 kB / 0.6546 GB, free: 5.695 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.4107, allocations: 0 / 0.6546 GB, free: 5.695 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.093e-05/0.4108, allocations: 138.8 kB / 0.6548 GB, free: 5.523 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4108, allocations: 0 / 0.6548 GB, free: 5.523 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.787e-05/0.4109, allocations: 4.688 kB / 0.6548 GB, free: 5.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4109, allocations: 0.5 kB / 0.6548 GB, free: 5.52 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.4109, allocations: 6.703 kB / 0.6548 GB, free: 5.516 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.4109, allocations: 8.531 kB / 0.6548 GB, free: 5.508 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4109, allocations: 5.938 kB / 0.6548 GB, free: 5.504 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.677e-05/0.411, allocations: 74.5 kB / 0.6549 GB, free: 5.414 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.507e-05/0.4111, allocations: 81.02 kB / 0.655 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.4111, allocations: 0.5625 kB / 0.655 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.056e-05/0.4112, allocations: 0.7188 kB / 0.655 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.4112, allocations: 7.984 kB / 0.655 GB, free: 5.309 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.4112, allocations: 4.719 kB / 0.655 GB, free: 5.305 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.752e-05/0.4112, allocations: 76.06 kB / 0.655 GB, free: 5.23 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001793/0.4114, allocations: 8 kB / 0.655 GB, free: 5.223 MB / 474.7 MB 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 (4): * Single equations (assignments): 4 * 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.0001059/0.4115, allocations: 98.8 kB / 0.6551 GB, free: 5.117 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.167e-05/0.4116, allocations: 19.94 kB / 0.6552 GB, free: 5.098 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4116, allocations: 0 / 0.6552 GB, free: 5.098 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.215e-05/0.4117, allocations: 12.5 kB / 0.6552 GB, free: 5.086 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.4118, allocations: 18.27 kB / 0.6552 GB, free: 5.07 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002205/0.4121, allocations: 75.75 kB / 0.6553 GB, free: 4.973 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.4123, allocations: 0.6876 MB / 0.6559 GB, free: 4.262 MB / 474.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4123, allocations: 0 / 0.6559 GB, free: 4.262 MB / 474.7 MB Notification: Performance of Templates: time 0.002236/0.4146, allocations: 0.5871 MB / 0.6565 GB, free: 3.715 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)