Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.7715/0.7715, allocations: 127.4 MB / 134.6 MB, free: 4.102 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001486, allocations: 181.3 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.1 MB / 399.1 MB, free: 6.168 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001411/0.00141, allocations: 86.39 kB / 476.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.092e-05/1.096e-05, allocations: 4 kB / 0.546 GB, free: 42.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2165, allocations: 76.75 MB / 0.6209 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.831/6.048, allocations: 2.158 GB / 2.779 GB, free: 54.03 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/6.048, allocations: 97.3 kB / 2.779 GB, free: 53.94 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.72/11.77, allocations: 1.287 GB / 4.066 GB, free: 65.76 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003234/11.77, allocations: 46.25 kB / 4.066 GB, free: 65.76 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.008825/11.78, allocations: 2.206 MB / 4.068 GB, free: 65.11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/11.78, allocations: 7.844 kB / 4.068 GB, free: 65.11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006835/11.78, allocations: 0.6447 MB / 4.069 GB, free: 65 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007961/11.79, allocations: 1.593 MB / 4.07 GB, free: 64.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/11.79, allocations: 42.62 kB / 4.07 GB, free: 64.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009666/11.79, allocations: 91.72 kB / 4.071 GB, free: 64.68 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003672/11.8, allocations: 1.278 MB / 4.072 GB, free: 64.67 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002583/11.8, allocations: 1.379 MB / 4.073 GB, free: 64.47 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/11.8, allocations: 2.719 kB / 4.073 GB, free: 64.47 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/11.8, allocations: 2.688 kB / 4.073 GB, free: 64.47 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-05/11.8, allocations: 48 kB / 4.073 GB, free: 64.46 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01053/11.81, allocations: 7.493 MB / 4.081 GB, free: 60.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009797/11.81, allocations: 0.7182 MB / 4.081 GB, free: 60.45 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004691/11.81, allocations: 366.3 kB / 4.082 GB, free: 60.44 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/11.81, allocations: 183 kB / 4.082 GB, free: 60.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/11.81, allocations: 47.53 kB / 4.082 GB, free: 60.21 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 3.627e-06/11.81, allocations: 0 / 4.082 GB, free: 60.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.002702/11.81, allocations: 0.8748 MB / 4.083 GB, free: 60.11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/11.81, allocations: 62.44 kB / 4.083 GB, free: 60.04 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/11.82, allocations: 0.9294 MB / 4.084 GB, free: 59.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/11.82, allocations: 29.61 kB / 4.084 GB, free: 59.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000468/11.82, allocations: 0.6075 MB / 4.084 GB, free: 59.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/11.82, allocations: 228.8 kB / 4.084 GB, free: 59.47 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/11.82, allocations: 0 / 4.084 GB, free: 59.47 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001236/11.82, allocations: 351.6 kB / 4.085 GB, free: 59.16 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005227/11.82, allocations: 346 kB / 4.085 GB, free: 59.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007003/11.82, allocations: 0.6256 MB / 4.086 GB, free: 58.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007421/11.82, allocations: 458 kB / 4.086 GB, free: 58.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/11.82, allocations: 4.906 kB / 4.086 GB, free: 58.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001754/11.82, allocations: 1.081 MB / 4.087 GB, free: 58.69 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008409/11.82, allocations: 2.818 MB / 4.09 GB, free: 55.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/11.82, allocations: 5.812 kB / 4.09 GB, free: 55.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.125e-05/11.82, allocations: 12.09 kB / 4.09 GB, free: 55.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/11.82, allocations: 233.2 kB / 4.09 GB, free: 55.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-05/11.82, allocations: 17.86 kB / 4.09 GB, free: 55.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/11.83, allocations: 157.2 kB / 4.09 GB, free: 55.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-05/11.83, allocations: 45.41 kB / 4.09 GB, free: 55.76 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.796e-06/11.83, allocations: 3.312 kB / 4.09 GB, free: 55.76 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00148/11.83, allocations: 0.8811 MB / 4.091 GB, free: 55.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/11.83, allocations: 16.56 kB / 4.091 GB, free: 55.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/11.83, allocations: 10.69 kB / 4.091 GB, free: 55.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008453/11.83, allocations: 209.7 kB / 4.092 GB, free: 55.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/11.83, allocations: 14.38 kB / 4.092 GB, free: 55.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/11.83, allocations: 122.7 kB / 4.092 GB, free: 55.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.05e-05/11.83, allocations: 48.89 kB / 4.092 GB, free: 55.73 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 2 (senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 2 * 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.0003361/11.83, allocations: 131.8 kB / 4.092 GB, free: 55.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002582/11.83, allocations: 138.4 kB / 4.092 GB, free: 55.55 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/11.83, allocations: 0.8047 MB / 4.093 GB, free: 55.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/11.83, allocations: 11.09 kB / 4.093 GB, free: 55.48 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/11.83, allocations: 0.875 kB / 4.093 GB, free: 55.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009721/11.83, allocations: 0.791 MB / 4.094 GB, free: 55.21 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003452/11.84, allocations: 2.02 MB / 4.095 GB, free: 54.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/11.84, allocations: 0 / 4.095 GB, free: 54.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/11.84, allocations: 184.5 kB / 4.096 GB, free: 54.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/11.84, allocations: 3.781 kB / 4.096 GB, free: 54.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.96e-05/11.84, allocations: 11.25 kB / 4.096 GB, free: 54.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/11.84, allocations: 6.188 kB / 4.096 GB, free: 54.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/11.84, allocations: 0 / 4.096 GB, free: 54.88 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001824/11.84, allocations: 1.363 MB / 4.097 GB, free: 54.57 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006835/11.84, allocations: 332.1 kB / 4.097 GB, free: 54.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/11.84, allocations: 9.578 kB / 4.097 GB, free: 54.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/11.84, allocations: 101.3 kB / 4.097 GB, free: 54.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/11.84, allocations: 34.58 kB / 4.097 GB, free: 54.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/11.84, allocations: 37.48 kB / 4.098 GB, free: 54.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001016/11.84, allocations: 0.6981 MB / 4.098 GB, free: 54.29 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00349/11.85, allocations: 1.11 MB / 4.099 GB, free: 54.21 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * 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.005439/11.85, allocations: 3.6 MB / 4.103 GB, free: 52.86 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002307/11.85, allocations: 1.44 MB / 4.104 GB, free: 52.71 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/11.85, allocations: 5.875 kB / 4.104 GB, free: 52.71 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004335/11.85, allocations: 354.1 kB / 4.105 GB, free: 52.71 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003884/11.86, allocations: 0.7047 MB / 4.105 GB, free: 52.69 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005051/11.86, allocations: 2.359 MB / 4.108 GB, free: 52.12 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/11.86, allocations: 1.525 MB / 4.109 GB, free: 51.39 MB / 0.6823 GB Notification: Performance of SimCode: time 1.944e-06/11.86, allocations: 0 / 4.109 GB, free: 51.39 MB / 0.6823 GB Notification: Performance of Templates: time 0.0932/11.96, allocations: 49.09 MB / 4.157 GB, free: 49.78 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)