Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") [: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.001017/0.001017, allocations: 189.5 kB / 7.801 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4505/0.4505, allocations: 90.85 MB / 99.07 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.221/1.221, allocations: 221.4 MB / 342.7 MB, free: 5.238 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.0008955/0.0008955, allocations: 98.19 kB / 415.5 MB, free: 6.461 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.115e-06/8.135e-06, allocations: 4 kB / 493.9 MB, free: 8.109 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3586, allocations: 72.29 MB / 0.5529 GB, free: 73.37 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.724/4.082, allocations: 1.854 GB / 2.407 GB, free: 220.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/4.083, allocations: 92.64 kB / 2.407 GB, free: 220.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.112/13.19, allocations: 2.839 GB / 5.246 GB, free: 40.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001845/13.2, allocations: 67.02 kB / 5.246 GB, free: 40.96 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.009527/13.2, allocations: 3.565 MB / 5.249 GB, free: 39.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/13.2, allocations: 11.09 kB / 5.249 GB, free: 39.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/13.22, allocations: 1.551 MB / 5.251 GB, free: 38.95 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006665/13.22, allocations: 2.6 MB / 5.253 GB, free: 38.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00124/13.22, allocations: 383.7 kB / 5.254 GB, free: 38.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005068/13.22, allocations: 142.7 kB / 5.254 GB, free: 38.35 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004357/13.23, allocations: 2.543 MB / 5.256 GB, free: 38.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004192/13.23, allocations: 2.414 MB / 5.259 GB, free: 37.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.77e-05/13.23, allocations: 5.875 kB / 5.259 GB, free: 37.92 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002317/13.23, allocations: 4.344 kB / 5.259 GB, free: 37.92 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/13.23, allocations: 91.33 kB / 5.259 GB, free: 37.91 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02094/13.25, allocations: 13.85 MB / 5.272 GB, free: 30.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/13.26, allocations: 1.417 MB / 5.274 GB, free: 30.18 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007968/13.26, allocations: 0.6337 MB / 5.274 GB, free: 30.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006736/13.26, allocations: 0.6449 MB / 5.275 GB, free: 29.51 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/13.26, allocations: 56.23 kB / 5.275 GB, free: 29.46 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=110): time 3.716e-06/13.26, allocations: 0 / 5.275 GB, free: 29.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=110): time 0.003336/13.26, allocations: 1.641 MB / 5.276 GB, free: 29.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/13.26, allocations: 67.91 kB / 5.277 GB, free: 29.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/13.26, allocations: 1.568 MB / 5.278 GB, free: 29.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000181/13.26, allocations: 30.23 kB / 5.278 GB, free: 28.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004799/13.26, allocations: 0.9578 MB / 5.279 GB, free: 28.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/13.26, allocations: 370 kB / 5.279 GB, free: 28.17 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/13.26, allocations: 3.781 kB / 5.279 GB, free: 28.17 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001028/13.26, allocations: 374 kB / 5.28 GB, free: 27.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/13.26, allocations: 0.6897 MB / 5.28 GB, free: 27.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/13.27, allocations: 1.343 MB / 5.282 GB, free: 27.08 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/13.27, allocations: 1.228 MB / 5.283 GB, free: 27.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/13.27, allocations: 3.438 kB / 5.283 GB, free: 27.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00425/13.27, allocations: 2.441 MB / 5.285 GB, free: 26.81 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009895/13.27, allocations: 5.565 MB / 5.291 GB, free: 21.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/13.27, allocations: 17.22 kB / 5.291 GB, free: 21.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.044e-05/13.27, allocations: 23.19 kB / 5.291 GB, free: 21.01 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002942/13.28, allocations: 0.584 MB / 5.291 GB, free: 20.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000969/13.28, allocations: 2.412 MB / 5.294 GB, free: 18.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00364/13.28, allocations: 0.4999 MB / 5.294 GB, free: 18.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/13.28, allocations: 99.58 kB / 5.294 GB, free: 18.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/13.28, allocations: 5.125 kB / 5.294 GB, free: 18.54 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003767/13.29, allocations: 2.182 MB / 5.296 GB, free: 18.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/13.29, allocations: 13.09 kB / 5.296 GB, free: 18.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/13.29, allocations: 26.38 kB / 5.296 GB, free: 18.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002463/13.29, allocations: 0.5541 MB / 5.297 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.897e-05/13.29, allocations: 27.55 kB / 5.297 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003126/13.29, allocations: 400.8 kB / 5.297 GB, free: 18.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/13.29, allocations: 95.03 kB / 5.297 GB, free: 18.34 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004834/13.29, allocations: 161.7 kB / 5.298 GB, free: 18.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004013/13.29, allocations: 219.6 kB / 5.298 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003205/13.3, allocations: 1.694 MB / 5.299 GB, free: 17.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/13.3, allocations: 15.28 kB / 5.3 GB, free: 17.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/13.3, allocations: 0 / 5.3 GB, free: 17.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/13.3, allocations: 9.094 kB / 5.3 GB, free: 17.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006921/13.3, allocations: 4.046 MB / 5.303 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/13.3, allocations: 5.719 kB / 5.303 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/13.3, allocations: 323.7 kB / 5.304 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-05/13.3, allocations: 9.781 kB / 5.304 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.835e-05/13.3, allocations: 15.17 kB / 5.304 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007465/13.3, allocations: 2.381 MB / 5.306 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/13.3, allocations: 8.906 kB / 5.306 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002762/13.31, allocations: 2.243 MB / 5.308 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/13.31, allocations: 0.5061 MB / 5.309 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003629/13.31, allocations: 11.81 kB / 5.309 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002318/13.31, allocations: 266.9 kB / 5.309 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/13.31, allocations: 73.67 kB / 5.309 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/13.31, allocations: 64.42 kB / 5.309 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.001819/13.31, allocations: 1.159 MB / 5.31 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006167/13.32, allocations: 1.745 MB / 5.312 GB, free: 13.27 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01251/13.33, allocations: 8.279 MB / 5.32 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005642/13.34, allocations: 2.82 MB / 5.323 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/13.34, allocations: 2.844 kB / 5.323 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/13.34, allocations: 0.6633 MB / 5.324 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003696/13.34, allocations: 0.7086 MB / 5.324 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006997/13.35, allocations: 3.239 MB / 5.327 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001897/13.35, allocations: 1.971 MB / 5.329 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of SimCode: time 2.816e-06/13.35, allocations: 0 / 5.329 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of Templates: time 0.4868/13.84, allocations: 81.65 MB / 5.409 GB, free: 105.2 MB / 0.7292 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)