Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.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.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2") [: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.6981/0.6981, allocations: 127.4 MB / 134.6 MB, free: 4.059 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.001255/0.001255, allocations: 185.3 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.1 MB / 399.1 MB, free: 6.094 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.00103/0.00103, allocations: 88.94 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.195e-06/8.235e-06, allocations: 4 kB / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1789, allocations: 76.74 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.097/1.276, allocations: 389.6 MB / 1.001 GB, free: 93.19 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/1.277, allocations: 93.33 kB / 1.001 GB, free: 93.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.224/10.5, allocations: 2.293 GB / 3.295 GB, free: 64.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001828/10.5, allocations: 260.2 kB / 3.295 GB, free: 64.91 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: 1415 * Number of variables: 1415 Notification: Performance of Generate backend data structure: time 0.04258/10.54, allocations: 10.76 MB / 3.305 GB, free: 61.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/10.54, allocations: 7.781 kB / 3.305 GB, free: 61.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/10.56, allocations: 1.303 MB / 3.307 GB, free: 61.03 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04536/10.6, allocations: 14.82 MB / 3.321 GB, free: 59.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004705/10.6, allocations: 180.3 kB / 3.321 GB, free: 59.51 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003475/10.6, allocations: 352.4 kB / 3.322 GB, free: 59.51 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02795/10.63, allocations: 18.07 MB / 3.339 GB, free: 59.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02978/10.66, allocations: 12.73 MB / 3.352 GB, free: 58.67 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002584/10.66, allocations: 27.75 kB / 3.352 GB, free: 58.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002484/10.67, allocations: 11.03 kB / 3.352 GB, free: 58.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/10.67, allocations: 141.1 kB / 3.352 GB, free: 58.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1175/10.78, allocations: 62.99 MB / 3.413 GB, free: 37.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/10.79, allocations: 8.206 MB / 3.421 GB, free: 37.28 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01246/10.81, allocations: 9.238 MB / 3.431 GB, free: 37.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06439/10.87, allocations: 27.37 MB / 3.457 GB, free: 29.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01446/10.88, allocations: 7.35 MB / 3.464 GB, free: 27.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=278): time 2.525e-05/10.89, allocations: 0 / 3.464 GB, free: 27.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=278): time 0.05198/10.94, allocations: 16.46 MB / 3.48 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.29e-05/10.94, allocations: 137 kB / 3.481 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01287/10.95, allocations: 6.396 MB / 3.487 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.002942/10.95, allocations: 33.7 kB / 3.487 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.003893/10.96, allocations: 2.592 MB / 3.489 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00502/10.96, allocations: 0.9724 MB / 3.49 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001281/10.96, allocations: 0 / 3.49 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003886/10.96, allocations: 488.3 kB / 3.491 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008173/10.97, allocations: 6.257 MB / 3.497 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4772/11.45, allocations: 9.808 MB / 3.507 GB, free: 137.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/11.46, allocations: 7.287 MB / 3.514 GB, free: 137.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001007/11.46, allocations: 21.28 kB / 3.514 GB, free: 137.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.052/11.51, allocations: 18.02 MB / 3.531 GB, free: 137.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.006744/11.52, allocations: 26.96 MB / 3.558 GB, free: 109.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002263/11.52, allocations: 55.48 kB / 3.558 GB, free: 109.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005859/11.53, allocations: 1.936 MB / 3.56 GB, free: 109.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009451/11.54, allocations: 1.538 MB / 3.561 GB, free: 109.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01726/11.55, allocations: 5.698 MB / 3.567 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01456/11.57, allocations: 0.6878 MB / 3.567 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003751/11.57, allocations: 0.5498 MB / 3.568 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/11.57, allocations: 3.594 kB / 3.568 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03484/11.61, allocations: 15.9 MB / 3.583 GB, free: 107.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002068/11.61, allocations: 50.09 kB / 3.583 GB, free: 107.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004733/11.61, allocations: 1.481 MB / 3.585 GB, free: 107.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01028/11.62, allocations: 1.533 MB / 3.586 GB, free: 107.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/11.63, allocations: 7.858 MB / 3.594 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01566/11.65, allocations: 0.5355 MB / 3.595 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004197/11.65, allocations: 0.5443 MB / 3.595 GB, free: 104.5 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 236 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (503): * Single equations (assignments): 498 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 5,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.003703/11.66, allocations: 268.7 kB / 3.595 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00368/11.66, allocations: 0.6893 MB / 3.596 GB, free: 104.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04175/11.7, allocations: 15.33 MB / 3.611 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.771e-05/11.7, allocations: 29.69 kB / 3.611 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/11.7, allocations: 6.094 kB / 3.611 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02697/11.73, allocations: 11.23 MB / 3.622 GB, free: 103.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01933/11.75, allocations: 10.58 MB / 3.632 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.073e-05/11.75, allocations: 0 / 3.632 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005782/11.76, allocations: 0.5744 MB / 3.633 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002937/11.76, allocations: 1.139 MB / 3.634 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001264/11.76, allocations: 73.17 kB / 3.634 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03912/11.8, allocations: 11.36 MB / 3.645 GB, free: 97.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/11.8, allocations: 0 / 3.645 GB, free: 97.5 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04043/11.84, allocations: 19.24 MB / 3.664 GB, free: 96.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007916/11.85, allocations: 1.922 MB / 3.666 GB, free: 96.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004589/11.85, allocations: 22.17 kB / 3.666 GB, free: 96.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01177/11.86, allocations: 344.9 kB / 3.666 GB, free: 96.35 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001333/11.87, allocations: 190.1 kB / 3.666 GB, free: 96.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001007/11.87, allocations: 160.8 kB / 3.666 GB, free: 96.35 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.01149/11.88, allocations: 4.872 MB / 3.671 GB, free: 96.13 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.02921/11.91, allocations: 4.717 MB / 3.676 GB, free: 95.87 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 5,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004454/11.91, allocations: 1.195 MB / 3.677 GB, free: 95.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.04315/11.95, allocations: 23.38 MB / 3.7 GB, free: 94.31 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/11.95, allocations: 1 kB / 3.7 GB, free: 94.31 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01582/11.97, allocations: 6.791 MB / 3.706 GB, free: 91.15 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02303/11.99, allocations: 3.809 MB / 3.71 GB, free: 90.33 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05135/12.05, allocations: 17.96 MB / 3.728 GB, free: 84.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01503/12.06, allocations: 6.307 MB / 3.734 GB, free: 82.84 MB / 0.7136 GB Notification: Performance of SimCode: time 1.473e-06/12.06, allocations: 3.828 kB / 3.734 GB, free: 82.84 MB / 0.7136 GB Notification: Performance of Templates: time 0.9051/12.97, allocations: 268.5 MB / 3.996 GB, free: 115.3 MB / 0.7136 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.pipe 2>&1)