Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic.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.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7605/0.7605, allocations: 128.7 MB / 143.7 MB, free: 2.336 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.00115/0.001151, allocations: 184.4 kB / 173.8 MB, free: 6.121 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.79/1.79, allocations: 205.4 MB / 409 MB, free: 10.5 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.0009227/0.0009227, allocations: 94.36 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 9.031 kB / 0.5603 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1674, allocations: 76.77 MB / 0.6353 GB, free: 30.58 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.172/1.339, allocations: 427.9 MB / 1.053 GB, free: 162 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/1.339, allocations: 99.45 kB / 1.053 GB, free: 162 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 25.1/26.44, allocations: 6.194 GB / 7.247 GB, free: 51.4 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.997e-06/26.44, allocations: 0 / 7.247 GB, free: 51.4 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.00495/26.45, allocations: 0.5307 MB / 7.248 GB, free: 51.24 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.09185/26.54, allocations: 21.32 MB / 7.269 GB, free: 43.16 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/26.54, allocations: 10.81 kB / 7.269 GB, free: 43.16 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01889/26.56, allocations: 2.454 MB / 7.271 GB, free: 42.13 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08351/26.64, allocations: 25 MB / 7.295 GB, free: 39.08 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001182/26.64, allocations: 0.718 MB / 7.296 GB, free: 39.06 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00663/26.65, allocations: 1.016 MB / 7.297 GB, free: 39.04 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06553/26.71, allocations: 19.85 MB / 7.316 GB, free: 37.03 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000649/26.71, allocations: 11.69 kB / 7.316 GB, free: 37.02 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005356/26.72, allocations: 356.2 kB / 7.317 GB, free: 37.02 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002813/26.72, allocations: 218.4 kB / 7.317 GB, free: 37.02 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05575/26.78, allocations: 22.77 MB / 7.339 GB, free: 36 MB / 0.9167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.039/27.82, allocations: 78.29 MB / 7.416 GB, free: 60.62 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04338/27.86, allocations: 15.27 MB / 7.431 GB, free: 60.17 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.08424/27.94, allocations: 31.29 MB / 7.461 GB, free: 52.04 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0382/27.98, allocations: 12.33 MB / 7.473 GB, free: 51.87 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04835/28.03, allocations: 14.91 MB / 7.488 GB, free: 51.87 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=603): time 8.557e-05/28.03, allocations: 0 / 7.488 GB, free: 51.87 MB / 0.9323 GB Notification: Performance of matching and sorting (n=857): time 1.042/29.07, allocations: 238.5 MB / 7.721 GB, free: 13.57 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001293/29.07, allocations: 2.537 MB / 7.723 GB, free: 10.46 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04038/29.11, allocations: 14.61 MB / 7.737 GB, free: 60 kB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.005988/29.12, allocations: 279.4 kB / 7.738 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.01328/29.13, allocations: 7.905 MB / 7.745 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.008345/29.14, allocations: 2.959 MB / 7.748 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006339/29.15, allocations: 214.1 kB / 7.748 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.001718/29.15, allocations: 0.7557 MB / 7.749 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02787/29.18, allocations: 11.28 MB / 7.76 GB, free: 2.73 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.923/30.1, allocations: 15.05 MB / 7.775 GB, free: 91.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03215/30.13, allocations: 12.55 MB / 7.787 GB, free: 91.28 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001631/30.13, allocations: 14.16 kB / 7.787 GB, free: 91.28 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1445) (initialization): time 0.6682/30.8, allocations: 140.9 MB / 7.925 GB, free: 90.01 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.006965/30.81, allocations: 34.76 MB / 7.959 GB, free: 53.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006127/30.81, allocations: 114.1 kB / 7.959 GB, free: 53.98 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6188/31.43, allocations: 158.1 MB / 8.113 GB, free: 8.812 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01592/31.44, allocations: 2.279 MB / 8.115 GB, free: 6.703 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128/32.57, allocations: 109.9 MB / 8.223 GB, free: 115.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02741/32.6, allocations: 1.678 MB / 8.224 GB, free: 115.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006455/32.61, allocations: 0.9474 MB / 8.225 GB, free: 115.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/32.61, allocations: 6.406 kB / 8.225 GB, free: 115.2 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5969/33.2, allocations: 132.4 MB / 8.355 GB, free: 113.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005727/33.2, allocations: 116.4 kB / 8.355 GB, free: 113.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624/34.83, allocations: 156.2 MB / 8.507 GB, free: 118.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01187/34.84, allocations: 2.161 MB / 8.509 GB, free: 118.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2933/35.13, allocations: 112.9 MB / 8.62 GB, free: 114.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02886/35.16, allocations: 1.324 MB / 8.621 GB, free: 114.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008/35.17, allocations: 0.8745 MB / 8.622 GB, free: 114.1 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (987): * Single equations (assignments): 908 * 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: 3 * 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: 2 {(28,89.3%) 28,(33,24.2%) 119} * Non-linear torn systems: 1 {33 119} Notification: Performance of prepare postOptimizeDAE: time 0.0262/35.2, allocations: 4.266 MB / 8.626 GB, free: 113.9 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01183/35.21, allocations: 1.552 MB / 8.627 GB, free: 113.9 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2827/35.49, allocations: 61.99 MB / 8.688 GB, free: 113.2 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002723/35.49, allocations: 106.7 kB / 8.688 GB, free: 113.2 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004799/35.49, allocations: 53.72 kB / 8.688 GB, free: 113.2 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2518/35.74, allocations: 55.69 MB / 8.742 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3263/36.07, allocations: 80.5 MB / 8.821 GB, free: 49.33 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001166/36.07, allocations: 12.7 kB / 8.821 GB, free: 49.32 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01026/36.08, allocations: 1.487 MB / 8.823 GB, free: 47.89 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.408/37.49, allocations: 50.5 MB / 8.872 GB, free: 105.6 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004349/37.49, allocations: 373.3 kB / 8.872 GB, free: 105.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2938/37.79, allocations: 96.52 MB / 8.966 GB, free: 95.05 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/37.79, allocations: 6.5 kB / 8.966 GB, free: 95.05 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.329/38.11, allocations: 71.33 MB / 9.036 GB, free: 93.97 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0188/38.13, allocations: 3.799 MB / 9.04 GB, free: 93.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01071/38.14, allocations: 274.4 kB / 9.04 GB, free: 93.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02611/38.17, allocations: 1.464 MB / 9.042 GB, free: 93.59 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00794/38.18, allocations: 0.7945 MB / 9.042 GB, free: 93.57 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004168/38.18, allocations: 385.7 kB / 9.043 GB, free: 93.57 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.03332/38.22, allocations: 11.21 MB / 9.054 GB, free: 93.14 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.323e-06/38.22, allocations: 0 / 9.054 GB, free: 93.14 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.07782/38.29, allocations: 9.777 MB / 9.063 GB, free: 93.14 MB / 0.9948 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (654): * Single equations (assignments): 632 * 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: 3 * 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: 2 {(33,24.2%) 118,(28,89.3%) 28} * Non-linear torn systems: 1 {33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.01993/38.31, allocations: 5.741 MB / 9.069 GB, free: 91.2 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.1384/38.45, allocations: 49.43 MB / 9.117 GB, free: 77.96 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.968e-05/38.45, allocations: 12.59 kB / 9.117 GB, free: 77.96 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.04724/38.5, allocations: 15.48 MB / 9.132 GB, free: 69.83 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05138/38.55, allocations: 7.549 MB / 9.14 GB, free: 64.7 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1367/38.69, allocations: 42.89 MB / 9.181 GB, free: 26.45 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03547/38.72, allocations: 9.581 MB / 9.191 GB, free: 19.81 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.04178/38.77, allocations: 5.033 MB / 9.196 GB, free: 16.34 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009048/38.77, allocations: 1.243 MB / 9.197 GB, free: 15.24 MB / 0.9948 GB Notification: Performance of SimCode: time 1.623e-06/38.77, allocations: 2.625 kB / 9.197 GB, free: 15.24 MB / 0.9948 GB Notification: Performance of Templates: time 4.373/43.15, allocations: 0.5625 GB / 9.759 GB, free: 155.8 MB / 1.057 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)