Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8014/0.8014, allocations: 128.7 MB / 143.7 MB, free: 2.332 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.00117/0.00117, allocations: 190 kB / 173.8 MB, free: 6.109 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.668/1.668, allocations: 205.4 MB / 409 MB, free: 10.49 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.0009619/0.0009619, allocations: 95.91 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.0003561, allocations: 12.72 kB / 0.5604 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1682, allocations: 76.76 MB / 0.6353 GB, free: 30.54 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.175/1.344, allocations: 428 MB / 1.053 GB, free: 198.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/1.344, allocations: 107.4 kB / 1.053 GB, free: 198.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 33.72/35.06, allocations: 8.398 GB / 9.452 GB, free: 44.93 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.915e-06/35.06, allocations: 7.969 kB / 9.452 GB, free: 44.93 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.004551/35.07, allocations: 0.5156 MB / 9.452 GB, free: 44.73 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.1022/35.17, allocations: 21.3 MB / 9.473 GB, free: 28.84 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.543e-05/35.17, allocations: 8.031 kB / 9.473 GB, free: 28.83 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02447/35.2, allocations: 2.448 MB / 9.475 GB, free: 26.36 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0988/35.3, allocations: 24.92 MB / 9.5 GB, free: 1.363 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001458/35.3, allocations: 0.703 MB / 9.5 GB, free: 0.6602 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133/36.43, allocations: 0.9985 MB / 9.501 GB, free: 50.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07701/36.51, allocations: 18.57 MB / 9.519 GB, free: 48.51 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009516/36.51, allocations: 12.23 kB / 9.519 GB, free: 48.51 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007405/36.52, allocations: 358.1 kB / 9.52 GB, free: 48.51 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000433/36.52, allocations: 214.6 kB / 9.52 GB, free: 48.51 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06614/36.58, allocations: 21.54 MB / 9.541 GB, free: 48.45 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 removeSimpleEquations (simulation): time 0.1886/36.77, allocations: 79.11 MB / 9.618 GB, free: 31.85 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03317/36.8, allocations: 13.66 MB / 9.632 GB, free: 31.42 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.08124/36.89, allocations: 30.75 MB / 9.662 GB, free: 23.21 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0323/36.92, allocations: 11.12 MB / 9.672 GB, free: 23.03 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05041/36.97, allocations: 14.9 MB / 9.687 GB, free: 22.87 MB / 0.948 GB Notification: Performance of pre-optimization done (n=579): time 8.306e-05/36.97, allocations: 3.891 kB / 9.687 GB, free: 22.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=809): time 2.115/39.08, allocations: 215.6 MB / 9.898 GB, free: 76.02 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000855/39.08, allocations: 2.527 MB / 9.9 GB, free: 73.01 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.047/39.13, allocations: 14.64 MB / 9.914 GB, free: 72.34 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.006279/39.14, allocations: 268.2 kB / 9.915 GB, free: 72.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.01737/39.16, allocations: 7.888 MB / 9.922 GB, free: 71.95 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.007623/39.16, allocations: 2.803 MB / 9.925 GB, free: 71.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004978/39.17, allocations: 208.5 kB / 9.925 GB, free: 71.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.001316/39.17, allocations: 0.7434 MB / 9.926 GB, free: 70.98 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02323/39.19, allocations: 10.29 MB / 9.936 GB, free: 70.96 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02874/39.22, allocations: 14 MB / 9.95 GB, free: 67 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02765/39.25, allocations: 11.65 MB / 9.961 GB, free: 66.79 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001994/39.25, allocations: 18.06 kB / 9.961 GB, free: 66.79 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1421) (initialization): time 0.6291/39.88, allocations: 134.4 MB / 10.09 GB, free: 64.52 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.01026/39.89, allocations: 38.53 MB / 10.13 GB, free: 41.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000683/39.89, allocations: 127.8 kB / 10.13 GB, free: 41.44 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641/41.53, allocations: 149.9 MB / 10.28 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01611/41.55, allocations: 2.471 MB / 10.28 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2223/41.77, allocations: 94.49 MB / 10.37 GB, free: 92.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02809/41.8, allocations: 1.492 MB / 10.37 GB, free: 92.95 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007487/41.8, allocations: 0.9341 MB / 10.37 GB, free: 92.95 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/41.81, allocations: 3.875 kB / 10.37 GB, free: 92.95 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5758/42.38, allocations: 128.6 MB / 10.5 GB, free: 86.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006197/42.38, allocations: 118.3 kB / 10.5 GB, free: 86.44 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605/43.99, allocations: 148.2 MB / 10.64 GB, free: 98.27 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01276/44, allocations: 2.352 MB / 10.65 GB, free: 98.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2058/44.21, allocations: 94.28 MB / 10.74 GB, free: 93.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02487/44.23, allocations: 1.238 MB / 10.74 GB, free: 93.39 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006709/44.24, allocations: 0.8799 MB / 10.74 GB, free: 93.39 MB / 0.9948 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,(39,16.3%) 65} * Non-linear torn systems: 1 {39 65} Notification: Performance of prepare postOptimizeDAE: time 0.02677/44.26, allocations: 4.246 MB / 10.74 GB, free: 93.2 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01266/44.28, allocations: 1.54 MB / 10.75 GB, free: 93.2 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2452/44.52, allocations: 55.17 MB / 10.8 GB, free: 92.48 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001887/44.52, allocations: 93.03 kB / 10.8 GB, free: 92.48 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002662/44.52, allocations: 46.75 kB / 10.8 GB, free: 92.48 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.205/44.73, allocations: 48.99 MB / 10.85 GB, free: 91.77 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2636/44.99, allocations: 72.18 MB / 10.92 GB, free: 47.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001077/44.99, allocations: 5.938 kB / 10.92 GB, free: 47.37 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01145/45, allocations: 1.634 MB / 10.92 GB, free: 45.86 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177/46.18, allocations: 44.77 MB / 10.96 GB, free: 82.34 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003813/46.18, allocations: 359.5 kB / 10.96 GB, free: 82.34 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1984/46.38, allocations: 71.86 MB / 11.03 GB, free: 71.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/46.38, allocations: 0 / 11.03 GB, free: 71.18 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3215/46.7, allocations: 63.07 MB / 11.1 GB, free: 70.12 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02429/46.73, allocations: 3.604 MB / 11.1 GB, free: 69.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01083/46.74, allocations: 272.9 kB / 11.1 GB, free: 69.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02824/46.77, allocations: 1.256 MB / 11.1 GB, free: 69.13 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006506/46.77, allocations: 0.6953 MB / 11.1 GB, free: 69.12 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003406/46.78, allocations: 364.1 kB / 11.1 GB, free: 69.12 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.03031/46.81, allocations: 11.23 MB / 11.11 GB, free: 68.69 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9.32e-07/46.81, allocations: 0 / 11.11 GB, free: 68.69 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.07359/46.88, allocations: 9.263 MB / 11.12 GB, free: 68.69 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 (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 {(39,16.2%) 64,(28,89.3%) 28} * Non-linear torn systems: 1 {39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.01295/46.89, allocations: 5.734 MB / 11.13 GB, free: 66.73 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.123/47.02, allocations: 47.68 MB / 11.17 GB, free: 62.74 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.433e-05/47.02, allocations: 10.5 kB / 11.17 GB, free: 62.74 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.04736/47.06, allocations: 15.33 MB / 11.19 GB, free: 61.81 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04372/47.11, allocations: 7.508 MB / 11.2 GB, free: 61.73 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.107/47.22, allocations: 41.61 MB / 11.24 GB, free: 46.77 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02424/47.24, allocations: 9.464 MB / 11.25 GB, free: 43.54 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.03643/47.28, allocations: 5.453 MB / 11.25 GB, free: 39.77 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009112/47.29, allocations: 1.292 MB / 11.25 GB, free: 38.7 MB / 0.9948 GB Notification: Performance of SimCode: time 1.974e-06/47.29, allocations: 0 / 11.25 GB, free: 38.7 MB / 0.9948 GB Notification: Performance of Templates: time 3.715/51, allocations: 0.4926 GB / 11.75 GB, free: 123.2 MB / 1.057 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)