Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.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.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier") [: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.001143/0.001143, allocations: 184.5 kB / 7.805 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4428/0.4428, allocations: 90.85 MB / 99.08 MB, free: 14.94 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.276/1.276, allocations: 221.4 MB / 342.8 MB, free: 5.426 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.0009167/0.0009166, allocations: 98.98 kB / 415.5 MB, free: 9.871 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.034e-06/7.063e-06, allocations: 0 / 493.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3935, allocations: 72.31 MB / 0.5529 GB, free: 44.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.848/4.242, allocations: 1.881 GB / 2.434 GB, free: 176.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/4.242, allocations: 88.62 kB / 2.434 GB, free: 176.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.997/8.24, allocations: 1.312 GB / 3.746 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002744/8.24, allocations: 51.92 kB / 3.746 GB, free: 23.36 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.006823/8.247, allocations: 2.107 MB / 3.748 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/8.247, allocations: 8.031 kB / 3.748 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00562/8.252, allocations: 0.6493 MB / 3.749 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005057/8.258, allocations: 1.761 MB / 3.751 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.934e-05/8.258, allocations: 47.91 kB / 3.751 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00043/8.258, allocations: 80 kB / 3.751 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002675/8.261, allocations: 1.219 MB / 3.752 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/8.263, allocations: 1.297 MB / 3.753 GB, free: 16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/8.263, allocations: 0 / 3.753 GB, free: 16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/8.263, allocations: 4 kB / 3.753 GB, free: 16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-05/8.263, allocations: 46.45 kB / 3.753 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007899/8.271, allocations: 7.477 MB / 3.76 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000505/8.272, allocations: 413.7 kB / 3.761 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/8.272, allocations: 366.8 kB / 3.761 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002772/8.273, allocations: 279.9 kB / 3.761 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/8.273, allocations: 43.22 kB / 3.762 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=67): time 2.434e-06/8.273, allocations: 0 / 3.762 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=67): time 0.001829/8.274, allocations: 0.8107 MB / 3.762 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.381e-05/8.274, allocations: 56.06 kB / 3.762 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/8.275, allocations: 0.9176 MB / 3.763 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.713e-05/8.276, allocations: 29.7 kB / 3.763 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/8.276, allocations: 0.5734 MB / 3.764 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/8.276, allocations: 236.5 kB / 3.764 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/8.276, allocations: 0 / 3.764 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.151e-05/8.276, allocations: 338.3 kB / 3.764 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/8.277, allocations: 309.9 kB / 3.765 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005461/8.277, allocations: 0.6278 MB / 3.765 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005509/8.278, allocations: 414.6 kB / 3.766 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/8.278, allocations: 7.938 kB / 3.766 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001284/8.279, allocations: 0.9817 MB / 3.767 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007783/8.28, allocations: 2.475 MB / 3.769 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/8.28, allocations: 4 kB / 3.769 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.242e-05/8.28, allocations: 12 kB / 3.769 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008929/8.281, allocations: 199.7 kB / 3.769 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/8.281, allocations: 19.92 kB / 3.769 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/8.282, allocations: 147 kB / 3.769 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.911e-05/8.282, allocations: 36 kB / 3.769 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/8.282, allocations: 4 kB / 3.77 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00128/8.284, allocations: 0.8097 MB / 3.77 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/8.284, allocations: 8 kB / 3.77 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/8.284, allocations: 16.09 kB / 3.77 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008272/8.285, allocations: 199.6 kB / 3.771 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/8.285, allocations: 11.94 kB / 3.771 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/8.286, allocations: 127.3 kB / 3.771 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-05/8.286, allocations: 35.98 kB / 3.771 GB, free: 13.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * 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 0.0002588/8.286, allocations: 132.9 kB / 3.771 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/8.287, allocations: 146.3 kB / 3.771 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/8.288, allocations: 0.7824 MB / 3.772 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/8.288, allocations: 8 kB / 3.772 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/8.288, allocations: 3.906 kB / 3.772 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009437/8.289, allocations: 0.7616 MB / 3.772 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003789/8.293, allocations: 2.182 MB / 3.775 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/8.293, allocations: 0 / 3.775 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008913/8.294, allocations: 163.8 kB / 3.775 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/8.294, allocations: 4 kB / 3.775 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.182e-05/8.294, allocations: 15.98 kB / 3.775 GB, free: 8.766 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/8.294, allocations: 4 kB / 3.775 GB, free: 8.762 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/8.294, allocations: 192 / 3.775 GB, free: 8.762 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001655/8.296, allocations: 1.322 MB / 3.776 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006061/8.296, allocations: 315.3 kB / 3.776 GB, free: 7.027 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/8.296, allocations: 4 kB / 3.776 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/8.298, allocations: 91.66 kB / 3.776 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.39e-05/8.298, allocations: 36.59 kB / 3.776 GB, free: 6.898 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.199e-05/8.298, allocations: 35.98 kB / 3.777 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0009141/8.299, allocations: 0.6894 MB / 3.777 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002809/8.301, allocations: 1.072 MB / 3.778 GB, free: 5.098 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.medium.Xi[1],humBac.vol.dynBal.U,humBac.vol.dynBal.m,humFor.vol.dynBal.medium.Xi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * 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.004565/8.306, allocations: 3.521 MB / 3.782 GB, free: 1.238 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001903/8.308, allocations: 1.234 MB / 3.783 GB, free: 4 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 0.2808/8.589, allocations: 6.578 kB / 3.783 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005984/8.589, allocations: 346.2 kB / 3.783 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003501/8.593, allocations: 0.7127 MB / 3.784 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/8.597, allocations: 2.322 MB / 3.786 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009929/8.598, allocations: 1.507 MB / 3.788 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of SimCode: time 7.41e-07/8.598, allocations: 0 / 3.788 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of Templates: time 0.06642/8.664, allocations: 46.98 MB / 3.834 GB, free: 107.3 MB / 0.6511 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)