Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2.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.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2") [: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.6838/0.6838, allocations: 127.4 MB / 134.6 MB, free: 4.105 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.001262/0.001262, allocations: 177.3 kB / 164.4 MB, free: 6.891 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.563/1.563, 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.0009952/0.0009952, allocations: 90.73 kB / 476.3 MB, free: 8.914 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.814e-06/7.985e-06, allocations: 0 / 0.546 GB, free: 42.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.199, allocations: 76.75 MB / 0.6209 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.252/1.451, allocations: 427.3 MB / 1.038 GB, free: 54 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/1.452, allocations: 93.02 kB / 1.038 GB, free: 53.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 36.43/37.88, allocations: 8.377 GB / 9.415 GB, free: 74.05 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.006259/37.88, allocations: 0.5135 MB / 9.416 GB, free: 73.94 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.07653/37.96, allocations: 14.92 MB / 9.43 GB, free: 67.75 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/37.96, allocations: 9.094 kB / 9.43 GB, free: 67.75 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02352/37.98, allocations: 2.515 MB / 9.433 GB, free: 66.7 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1109/38.1, allocations: 28.35 MB / 9.461 GB, free: 63.03 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001005/38.1, allocations: 260.1 kB / 9.461 GB, free: 63.03 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007707/38.1, allocations: 0.5691 MB / 9.461 GB, free: 63.03 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04912/38.15, allocations: 19.86 MB / 9.481 GB, free: 62.99 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07006/38.22, allocations: 15.47 MB / 9.496 GB, free: 61.08 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000978/38.22, allocations: 19.06 kB / 9.496 GB, free: 61.07 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006741/38.23, allocations: 16.52 kB / 9.496 GB, free: 61.07 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000405/38.23, allocations: 212.2 kB / 9.496 GB, free: 61.07 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.215/38.45, allocations: 83.11 MB / 9.577 GB, free: 23.75 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02002/38.47, allocations: 10.16 MB / 9.587 GB, free: 16.52 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01445/38.48, allocations: 9.324 MB / 9.596 GB, free: 8.133 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038/39.52, allocations: 33 MB / 9.629 GB, free: 136.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01932/39.54, allocations: 9.061 MB / 9.637 GB, free: 136.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=581): time 1.204e-05/39.54, allocations: 7.906 kB / 9.637 GB, free: 136.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=583): time 0.7946/40.33, allocations: 159.7 MB / 9.793 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007551/40.34, allocations: 2.504 MB / 9.796 GB, free: 124.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04236/40.38, allocations: 13.92 MB / 9.809 GB, free: 123.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.005625/40.38, allocations: 53.8 kB / 9.809 GB, free: 123.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.01024/40.39, allocations: 4.049 MB / 9.813 GB, free: 122.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.007967/40.4, allocations: 1.977 MB / 9.815 GB, free: 121.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005003/40.41, allocations: 3.344 kB / 9.815 GB, free: 121.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.001457/40.41, allocations: 0.6732 MB / 9.816 GB, free: 120.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02066/40.43, allocations: 9.109 MB / 9.825 GB, free: 120.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02525/40.45, allocations: 12.6 MB / 9.837 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0266/40.48, allocations: 10.52 MB / 9.847 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002649/40.48, allocations: 15 kB / 9.847 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1196) (initialization): time 0.7061/41.19, allocations: 142.8 MB / 9.987 GB, free: 35.88 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.796/41.98, allocations: 38.3 MB / 10.02 GB, free: 119.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006577/41.98, allocations: 119.5 kB / 10.02 GB, free: 119.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6909/42.67, allocations: 162.4 MB / 10.18 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01542/42.69, allocations: 2.164 MB / 10.19 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1541/42.84, allocations: 70.03 MB / 10.25 GB, free: 99.83 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02462/42.87, allocations: 1.182 MB / 10.25 GB, free: 99.75 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005524/42.87, allocations: 0.8602 MB / 10.26 GB, free: 99.75 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/42.87, allocations: 3.031 kB / 10.26 GB, free: 99.75 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.468/44.34, allocations: 132 MB / 10.38 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005699/44.34, allocations: 121 kB / 10.38 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6923/45.04, allocations: 161.1 MB / 10.54 GB, free: 100.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01358/45.05, allocations: 2.035 MB / 10.54 GB, free: 100.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1564/45.21, allocations: 68.13 MB / 10.61 GB, free: 96.49 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02252/45.23, allocations: 0.8184 MB / 10.61 GB, free: 96.43 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004816/45.23, allocations: 0.7937 MB / 10.61 GB, free: 96.43 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (937): * Single equations (assignments): 859 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {14 90} Notification: Performance of prepare postOptimizeDAE: time 0.007281/45.24, allocations: 345.3 kB / 10.61 GB, free: 96.33 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0076/45.25, allocations: 1.468 MB / 10.61 GB, free: 96.32 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2541/45.5, allocations: 64.58 MB / 10.68 GB, free: 55.67 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002291/45.5, allocations: 65.5 kB / 10.68 GB, free: 55.61 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001213/45.5, allocations: 34.19 kB / 10.68 GB, free: 55.58 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102/46.61, allocations: 58.63 MB / 10.73 GB, free: 109.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3205/46.93, allocations: 77.48 MB / 10.81 GB, free: 99.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.218e-05/46.93, allocations: 0.75 kB / 10.81 GB, free: 99.79 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009917/46.94, allocations: 1.227 MB / 10.81 GB, free: 99.78 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2204/47.16, allocations: 68.03 MB / 10.88 GB, free: 86.44 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003606/47.16, allocations: 178.9 kB / 10.88 GB, free: 86.44 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1615/47.32, allocations: 54.46 MB / 10.93 GB, free: 76.76 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/47.32, allocations: 0 / 10.93 GB, free: 76.76 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.271/47.59, allocations: 69.94 MB / 11 GB, free: 49.17 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01427/47.61, allocations: 3.183 MB / 11 GB, free: 47.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00976/47.62, allocations: 90.98 kB / 11 GB, free: 47.15 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02081/47.64, allocations: 1.036 MB / 11 GB, free: 46.44 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002971/47.64, allocations: 372.3 kB / 11 GB, free: 46.27 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001666/47.64, allocations: 275.2 kB / 11 GB, free: 46.11 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.02794/47.67, allocations: 10.45 MB / 11.01 GB, free: 40.41 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.06017/47.73, allocations: 7.971 MB / 11.02 GB, free: 33 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.x[1],pumpCoo.filter.x[2]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (520): * Single equations (assignments): 499 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.01078/47.74, allocations: 5.42 MB / 11.03 GB, free: 28.36 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.8468/48.59, allocations: 37.18 MB / 11.06 GB, free: 122.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.706e-05/48.59, allocations: 10.19 kB / 11.06 GB, free: 122.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.03198/48.62, allocations: 10.04 MB / 11.07 GB, free: 122 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04215/48.66, allocations: 7.013 MB / 11.08 GB, free: 122 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1278/48.79, allocations: 33.25 MB / 11.11 GB, free: 116.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02476/48.82, allocations: 10 MB / 11.12 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.132e-06/48.82, allocations: 2.953 kB / 11.12 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of Templates: time 2.111/50.93, allocations: 0.5011 GB / 11.62 GB, free: 69.68 MB / 0.9324 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)