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.7252/0.7252, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001012, allocations: 184.8 kB / 169.7 MB, free: 1.73 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.962/1.962, allocations: 205.1 MB / 404.5 MB, free: 1.586 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.0009523/0.0009519, allocations: 78.25 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.274e-05/4.276e-05, allocations: 11.92 kB / 0.5532 GB, free: 54.83 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1869, allocations: 76.75 MB / 0.6281 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.441/1.628, allocations: 427.8 MB / 1.046 GB, free: 88.27 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/1.628, allocations: 95.12 kB / 1.046 GB, free: 88.22 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 27.96/29.58, allocations: 6.176 GB / 7.222 GB, free: 58.16 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.884e-06/29.58, allocations: 0 / 7.222 GB, free: 58.16 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.004357/29.59, allocations: 0.5259 MB / 7.222 GB, free: 57.96 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.0572/29.65, allocations: 14.04 MB / 7.236 GB, free: 48.83 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/29.65, allocations: 8.031 kB / 7.236 GB, free: 48.82 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01943/29.67, allocations: 2.452 MB / 7.238 GB, free: 46.51 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07801/29.74, allocations: 24.74 MB / 7.262 GB, free: 23.79 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001517/29.75, allocations: 0.7108 MB / 7.263 GB, free: 23.07 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007705/29.75, allocations: 1.015 MB / 7.264 GB, free: 22.06 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08506/29.84, allocations: 19.16 MB / 7.283 GB, free: 2.289 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005854/29.84, allocations: 15.88 kB / 7.283 GB, free: 2.273 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006253/29.85, allocations: 353.4 kB / 7.283 GB, free: 1.93 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002685/29.85, allocations: 216 kB / 7.283 GB, free: 1.719 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.094/30.94, allocations: 21.94 MB / 7.305 GB, free: 77.73 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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 0.1698/31.11, allocations: 78.24 MB / 7.381 GB, free: 46.61 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03731/31.15, allocations: 14.58 MB / 7.395 GB, free: 46.16 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01828/31.17, allocations: 9.383 MB / 7.405 GB, free: 46.07 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.09463/31.26, allocations: 31.49 MB / 7.435 GB, free: 37.64 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03513/31.3, allocations: 11.72 MB / 7.447 GB, free: 37.46 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05266/31.35, allocations: 15.15 MB / 7.462 GB, free: 37.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=604): time 7.818e-05/31.35, allocations: 0 / 7.462 GB, free: 37.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=858): time 0.8936/32.24, allocations: 193.4 MB / 7.65 GB, free: 2.379 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.114/33.36, allocations: 2.532 MB / 7.653 GB, free: 90.92 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05663/33.41, allocations: 14.44 MB / 7.667 GB, free: 90.18 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.006238/33.42, allocations: 277.2 kB / 7.667 GB, free: 90.14 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01577/33.44, allocations: 7.911 MB / 7.675 GB, free: 89.68 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.008217/33.44, allocations: 2.971 MB / 7.678 GB, free: 88.74 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004883/33.45, allocations: 209.7 kB / 7.678 GB, free: 88.74 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.001135/33.45, allocations: 0.757 MB / 7.679 GB, free: 88.41 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02148/33.47, allocations: 10.46 MB / 7.689 GB, free: 88.39 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02972/33.5, allocations: 14.2 MB / 7.703 GB, free: 84.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02544/33.53, allocations: 11.76 MB / 7.714 GB, free: 84.19 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001799/33.53, allocations: 14.56 kB / 7.714 GB, free: 84.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=1446) (initialization): time 0.674/34.2, allocations: 138.6 MB / 7.85 GB, free: 82.11 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.01104/34.21, allocations: 34.76 MB / 7.884 GB, free: 46.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006776/34.21, allocations: 117.5 kB / 7.884 GB, free: 46.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853/36.07, allocations: 156.3 MB / 8.036 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01571/36.08, allocations: 2.281 MB / 8.039 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.276/36.36, allocations: 101.7 MB / 8.138 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0315/36.39, allocations: 1.681 MB / 8.14 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00849/36.4, allocations: 0.9454 MB / 8.14 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/36.4, allocations: 3.375 kB / 8.14 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6403/37.04, allocations: 131.4 MB / 8.269 GB, free: 96.26 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008325/37.04, allocations: 107.9 kB / 8.269 GB, free: 96.15 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893/38.93, allocations: 155.5 MB / 8.421 GB, free: 129 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01192/38.94, allocations: 2.163 MB / 8.423 GB, free: 129 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2422/39.19, allocations: 105.3 MB / 8.526 GB, free: 124.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0276/39.21, allocations: 1.317 MB / 8.527 GB, free: 124.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007042/39.22, allocations: 0.8718 MB / 8.528 GB, free: 124.5 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (988): * Single equations (assignments): 909 * 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.01295/39.23, allocations: 0.7345 MB / 8.529 GB, free: 124.4 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01201/39.25, allocations: 1.548 MB / 8.53 GB, free: 124 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2713/39.52, allocations: 59.76 MB / 8.588 GB, free: 123.2 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002844/39.52, allocations: 109.4 kB / 8.588 GB, free: 123.2 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003166/39.52, allocations: 48.88 kB / 8.589 GB, free: 123.2 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2439/39.76, allocations: 53.5 MB / 8.641 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3074/40.07, allocations: 78.32 MB / 8.717 GB, free: 41.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001388/40.07, allocations: 4 kB / 8.717 GB, free: 41.05 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01032/40.08, allocations: 1.494 MB / 8.719 GB, free: 39.62 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.389/41.47, allocations: 49.22 MB / 8.767 GB, free: 114.3 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005029/41.48, allocations: 375.5 kB / 8.767 GB, free: 114.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2399/41.72, allocations: 84.95 MB / 8.85 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/41.72, allocations: 0 / 8.85 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2622/41.98, allocations: 68.36 MB / 8.917 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01902/42, allocations: 3.791 MB / 8.921 GB, free: 101.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01134/42.01, allocations: 286.9 kB / 8.921 GB, free: 101.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02493/42.03, allocations: 1.462 MB / 8.922 GB, free: 101.3 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007832/42.04, allocations: 0.7924 MB / 8.923 GB, free: 101.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004036/42.04, allocations: 390 kB / 8.923 GB, free: 101.3 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.03194/42.08, allocations: 11.05 MB / 8.934 GB, free: 100.8 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.61e-07/42.08, allocations: 0 / 8.934 GB, free: 100.8 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.07639/42.15, allocations: 9.766 MB / 8.944 GB, free: 100.8 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (655): * Single equations (assignments): 633 * 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.01936/42.17, allocations: 5.726 MB / 8.949 GB, free: 98.84 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.1123/42.28, allocations: 47.71 MB / 8.996 GB, free: 82.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-05/42.28, allocations: 10.62 kB / 8.996 GB, free: 82.48 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.03586/42.32, allocations: 14.57 MB / 9.01 GB, free: 74.74 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04516/42.37, allocations: 7.532 MB / 9.018 GB, free: 70.86 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07677/42.44, allocations: 31.3 MB / 9.048 GB, free: 44.32 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0162/42.46, allocations: 9.608 MB / 9.057 GB, free: 37.8 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.04148/42.5, allocations: 8.544 MB / 9.066 GB, free: 32.29 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006776/42.51, allocations: 0.9149 MB / 9.067 GB, free: 31.48 MB / 0.9948 GB Notification: Performance of SimCode: time 1.844e-06/42.51, allocations: 0 / 9.067 GB, free: 31.48 MB / 0.9948 GB Notification: Performance of Templates: time 3.946/46.45, allocations: 0.5965 GB / 9.663 GB, free: 152.3 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)