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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.9141/0.9141, allocations: 128.7 MB / 143.7 MB, free: 2.312 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.001193/0.001193, allocations: 192.8 kB / 173.8 MB, free: 6.117 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.737/1.737, allocations: 205.4 MB / 409 MB, free: 10.52 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.001037/0.001037, allocations: 100.8 kB / 486.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.000371, allocations: 8.781 kB / 0.5603 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1717, allocations: 76.77 MB / 0.6353 GB, free: 30.6 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.201/1.373, allocations: 428.2 MB / 1.053 GB, free: 161.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/1.374, allocations: 104.8 kB / 1.054 GB, free: 161.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 34.12/35.5, allocations: 8.399 GB / 9.452 GB, free: 37.92 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.447e-06/35.5, allocations: 0 / 9.452 GB, free: 37.92 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.006178/35.5, allocations: 0.5088 MB / 9.453 GB, free: 37.77 MB / 0.9323 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.1046/35.61, allocations: 21.32 MB / 9.474 GB, free: 17.06 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/35.61, allocations: 12.02 kB / 9.474 GB, free: 17.05 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01985/35.63, allocations: 2.443 MB / 9.476 GB, free: 14.58 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.157/37.78, allocations: 24.92 MB / 9.501 GB, free: 37.2 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001637/37.78, allocations: 0.7042 MB / 9.501 GB, free: 37.18 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007801/37.79, allocations: 1.004 MB / 9.502 GB, free: 37.18 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08378/37.88, allocations: 19.41 MB / 9.521 GB, free: 35.38 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001179/37.88, allocations: 13.69 kB / 9.521 GB, free: 35.38 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007533/37.89, allocations: 357.1 kB / 9.521 GB, free: 35.38 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005182/37.89, allocations: 215.3 kB / 9.522 GB, free: 35.38 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06401/37.95, allocations: 22.39 MB / 9.544 GB, free: 35.32 MB / 0.9324 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 0.2186/38.17, allocations: 79.11 MB / 9.621 GB, free: 18.54 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03759/38.21, allocations: 14.52 MB / 9.635 GB, free: 18.1 MB / 0.948 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.08261/38.29, allocations: 30.75 MB / 9.665 GB, free: 9.703 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03527/38.32, allocations: 11.96 MB / 9.677 GB, free: 9.527 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05199/38.38, allocations: 14.9 MB / 9.691 GB, free: 9.363 MB / 0.948 GB Notification: Performance of pre-optimization done (n=579): time 7.044e-05/38.38, allocations: 3.188 kB / 9.691 GB, free: 9.363 MB / 0.948 GB Notification: Performance of matching and sorting (n=809): time 2.204/40.58, allocations: 233.2 MB / 9.919 GB, free: 67.21 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001035/40.58, allocations: 2.531 MB / 9.921 GB, free: 64.2 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04439/40.63, allocations: 14.64 MB / 9.936 GB, free: 63.52 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.006009/40.63, allocations: 263.9 kB / 9.936 GB, free: 63.49 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.01429/40.65, allocations: 7.888 MB / 9.944 GB, free: 63.13 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.007543/40.65, allocations: 2.805 MB / 9.946 GB, free: 62.69 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004735/40.66, allocations: 204.7 kB / 9.947 GB, free: 62.69 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.001125/40.66, allocations: 0.7459 MB / 9.947 GB, free: 62.36 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02407/40.68, allocations: 10.69 MB / 9.958 GB, free: 62.34 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02842/40.71, allocations: 14.4 MB / 9.972 GB, free: 58.38 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02832/40.74, allocations: 12.03 MB / 9.984 GB, free: 58.18 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001942/40.74, allocations: 14.12 kB / 9.984 GB, free: 58.18 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1421) (initialization): time 0.6415/41.38, allocations: 138.9 MB / 10.12 GB, free: 49.01 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.009898/41.39, allocations: 38.53 MB / 10.16 GB, free: 25.9 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006968/41.39, allocations: 115 kB / 10.16 GB, free: 25.88 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61/43, allocations: 149.9 MB / 10.3 GB, free: 92.56 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01627/43.02, allocations: 2.473 MB / 10.31 GB, free: 92.56 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2044/43.22, allocations: 93.78 MB / 10.4 GB, free: 84.96 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02954/43.25, allocations: 1.633 MB / 10.4 GB, free: 84.96 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006622/43.26, allocations: 0.939 MB / 10.4 GB, free: 84.96 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/43.26, allocations: 3.25 kB / 10.4 GB, free: 84.96 MB / 0.9949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5729/43.83, allocations: 128.6 MB / 10.53 GB, free: 32.38 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006094/43.83, allocations: 122.1 kB / 10.53 GB, free: 32.27 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589/45.42, allocations: 147.9 MB / 10.67 GB, free: 100.1 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01825/45.44, allocations: 2.348 MB / 10.67 GB, free: 100.1 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2765/45.72, allocations: 93.48 MB / 10.76 GB, free: 95.18 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02494/45.74, allocations: 1.233 MB / 10.76 GB, free: 95.18 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006437/45.75, allocations: 0.8737 MB / 10.77 GB, free: 95.18 MB / 1.011 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1059): * Single equations (assignments): 980 * 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,(14,32.1%) 90} * Non-linear torn systems: 1 {14 90} Notification: Performance of prepare postOptimizeDAE: time 0.0231/45.77, allocations: 4.243 MB / 10.77 GB, free: 94.99 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008415/45.78, allocations: 1.548 MB / 10.77 GB, free: 94.99 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.255/46.04, allocations: 59.76 MB / 10.83 GB, free: 94.27 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002215/46.04, allocations: 97.86 kB / 10.83 GB, free: 94.27 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003076/46.04, allocations: 44.25 kB / 10.83 GB, free: 94.27 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2197/46.26, allocations: 53.56 MB / 10.88 GB, free: 57.35 MB / 1.011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.278/47.53, allocations: 76.89 MB / 10.96 GB, free: 84.99 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001384/47.53, allocations: 0 / 10.96 GB, free: 84.99 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01167/47.55, allocations: 1.639 MB / 10.96 GB, free: 84.99 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1897/47.74, allocations: 45.12 MB / 11 GB, free: 84.93 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003638/47.74, allocations: 361.7 kB / 11 GB, free: 84.93 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2183/47.96, allocations: 79.84 MB / 11.08 GB, free: 73.7 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/47.96, allocations: 0 / 11.08 GB, free: 73.7 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2623/48.22, allocations: 68.14 MB / 11.15 GB, free: 72.64 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01682/48.24, allocations: 3.631 MB / 11.15 GB, free: 71.88 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008547/48.25, allocations: 274.2 kB / 11.15 GB, free: 71.88 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02022/48.27, allocations: 1.391 MB / 11.15 GB, free: 71.84 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005312/48.27, allocations: 0.7242 MB / 11.15 GB, free: 71.84 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002346/48.27, allocations: 364.3 kB / 11.15 GB, free: 71.84 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.02816/48.3, allocations: 11.23 MB / 11.16 GB, free: 71.4 MB / 1.011 GB Notification: Performance of sort global known variables: time 5.71e-07/48.3, allocations: 0 / 11.16 GB, free: 71.4 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.0732/48.38, allocations: 9.423 MB / 11.17 GB, free: 71.4 MB / 1.011 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 (702): * Single equations (assignments): 680 * 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 {(14,32.1%) 89,(28,89.3%) 28} * Non-linear torn systems: 1 {14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.01409/48.39, allocations: 5.74 MB / 11.18 GB, free: 69.45 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.1222/48.51, allocations: 45.69 MB / 11.22 GB, free: 54.25 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 3.177e-05/48.51, allocations: 10.62 kB / 11.22 GB, free: 54.24 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.04559/48.56, allocations: 13.72 MB / 11.24 GB, free: 47.21 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05061/48.61, allocations: 7.504 MB / 11.25 GB, free: 43.38 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1213/48.73, allocations: 45.86 MB / 11.29 GB, free: 8.359 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.03/49.76, allocations: 9.531 MB / 11.3 GB, free: 93.47 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.03358/49.79, allocations: 5.465 MB / 11.3 GB, free: 93.33 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008369/49.8, allocations: 1.282 MB / 11.31 GB, free: 93.33 MB / 1.011 GB Notification: Performance of SimCode: time 1.012e-06/49.8, allocations: 0 / 11.31 GB, free: 93.33 MB / 1.011 GB Notification: Performance of Templates: time 1.896/51.7, allocations: 0.5077 GB / 11.81 GB, free: 126.4 MB / 1.057 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)