Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.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.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.743/0.743, allocations: 128.7 MB / 143.7 MB, free: 2.297 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.001206/0.001206, allocations: 174.4 kB / 173.8 MB, free: 6.129 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.706/1.706, allocations: 205.4 MB / 409 MB, free: 10.51 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.0009644/0.0009643, allocations: 88.25 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003405, allocations: 9.438 kB / 0.5603 GB, free: 97.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1632, allocations: 76.77 MB / 0.6353 GB, free: 30.57 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.093/1.256, allocations: 428.3 MB / 1.054 GB, free: 197.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/1.257, allocations: 97.14 kB / 1.054 GB, free: 197.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 39.23/40.49, allocations: 9.157 GB / 10.21 GB, free: 72.58 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.599e-06/40.49, allocations: 3.375 kB / 10.21 GB, free: 72.58 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.004524/40.49, allocations: 0.5043 MB / 10.21 GB, free: 72.48 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.09314/40.59, allocations: 21.3 MB / 10.23 GB, free: 64.83 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/40.59, allocations: 6.812 kB / 10.23 GB, free: 64.83 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0202/40.61, allocations: 2.445 MB / 10.23 GB, free: 63.83 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08981/40.7, allocations: 24.9 MB / 10.26 GB, free: 61.12 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001433/40.7, allocations: 0.704 MB / 10.26 GB, free: 61.11 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007692/40.71, allocations: 0.9993 MB / 10.26 GB, free: 61.09 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06848/40.77, allocations: 19.17 MB / 10.28 GB, free: 59.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000794/40.77, allocations: 11.38 kB / 10.28 GB, free: 59.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005763/40.78, allocations: 356.5 kB / 10.28 GB, free: 59.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003855/40.78, allocations: 212.9 kB / 10.28 GB, free: 59.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05742/40.84, allocations: 22.15 MB / 10.3 GB, free: 59.06 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.1663/41, allocations: 79.53 MB / 10.38 GB, free: 24.25 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03258/41.04, allocations: 14.06 MB / 10.39 GB, free: 23.74 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.0773/41.11, allocations: 30.51 MB / 10.42 GB, free: 15.12 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03039/41.15, allocations: 11.65 MB / 10.43 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05169/41.2, allocations: 14.89 MB / 10.45 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=559): time 9.171e-05/41.2, allocations: 0 / 10.45 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of matching and sorting (n=773): time 2.192/43.39, allocations: 228 MB / 10.67 GB, free: 87.95 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008797/43.39, allocations: 2.525 MB / 10.67 GB, free: 84.94 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04641/43.44, allocations: 14.67 MB / 10.69 GB, free: 84.18 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.006783/43.44, allocations: 257.4 kB / 10.69 GB, free: 84.15 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.02077/43.46, allocations: 7.911 MB / 10.7 GB, free: 82.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.009373/43.47, allocations: 2.685 MB / 10.7 GB, free: 81.43 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005741/43.48, allocations: 206.1 kB / 10.7 GB, free: 81.43 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.002047/43.48, allocations: 0.7368 MB / 10.7 GB, free: 81.11 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0259/43.51, allocations: 10.48 MB / 10.71 GB, free: 81.05 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02704/43.53, allocations: 14.17 MB / 10.72 GB, free: 76.98 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02634/43.56, allocations: 11.81 MB / 10.73 GB, free: 76.65 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001929/43.56, allocations: 17.97 kB / 10.73 GB, free: 76.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=1395) (initialization): time 1.716/45.28, allocations: 137.8 MB / 10.87 GB, free: 99.82 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.008658/45.29, allocations: 40.11 MB / 10.91 GB, free: 59.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006881/45.29, allocations: 124.8 kB / 10.91 GB, free: 59.39 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6253/45.91, allocations: 149 MB / 11.05 GB, free: 58.84 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0149/45.93, allocations: 2.404 MB / 11.06 GB, free: 58.83 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1974/46.12, allocations: 89.86 MB / 11.14 GB, free: 50.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03431/46.16, allocations: 1.617 MB / 11.15 GB, free: 49.92 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008523/46.17, allocations: 0.9203 MB / 11.15 GB, free: 49.37 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/46.17, allocations: 7.953 kB / 11.15 GB, free: 49.36 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.722/47.89, allocations: 127.9 MB / 11.27 GB, free: 102.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008102/47.89, allocations: 119.3 kB / 11.27 GB, free: 102.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6175/48.51, allocations: 147.1 MB / 11.42 GB, free: 101.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01333/48.52, allocations: 2.36 MB / 11.42 GB, free: 101.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.187/48.71, allocations: 90.27 MB / 11.51 GB, free: 71.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02436/48.73, allocations: 1.219 MB / 11.51 GB, free: 70.11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005771/48.74, allocations: 0.8667 MB / 11.51 GB, free: 69.33 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * 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 (1065): * Single equations (assignments): 988 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {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,(6,72.2%) 82} * Non-linear torn systems: 1 {6 82} Notification: Performance of prepare postOptimizeDAE: time 0.02222/48.76, allocations: 4.231 MB / 11.51 GB, free: 66.73 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01011/48.77, allocations: 1.54 MB / 11.51 GB, free: 65.85 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2422/49.01, allocations: 58.48 MB / 11.57 GB, free: 17.26 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002033/49.01, allocations: 88 kB / 11.57 GB, free: 17.17 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003276/49.01, allocations: 48.89 kB / 11.57 GB, free: 17.12 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302/50.32, allocations: 52.36 MB / 11.62 GB, free: 103.4 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2927/50.61, allocations: 75.21 MB / 11.7 GB, free: 99.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001356/50.61, allocations: 5.438 kB / 11.7 GB, free: 99.45 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0105/50.62, allocations: 1.523 MB / 11.7 GB, free: 99.45 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1874/50.81, allocations: 44.36 MB / 11.74 GB, free: 99.38 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003805/50.81, allocations: 345.6 kB / 11.74 GB, free: 99.38 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1839/50.99, allocations: 72.06 MB / 11.81 GB, free: 90.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/50.99, allocations: 5 kB / 11.81 GB, free: 90.84 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2389/51.23, allocations: 66.57 MB / 11.88 GB, free: 63.26 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01986/51.25, allocations: 3.57 MB / 11.88 GB, free: 61.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009924/51.26, allocations: 271.6 kB / 11.88 GB, free: 61 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02232/51.29, allocations: 1.36 MB / 11.88 GB, free: 60.25 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005392/51.29, allocations: 0.6712 MB / 11.88 GB, free: 59.94 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002995/51.29, allocations: 351 kB / 11.88 GB, free: 59.73 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.03056/51.32, allocations: 11.24 MB / 11.89 GB, free: 53.98 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.21e-07/51.32, allocations: 0 / 11.89 GB, free: 53.98 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.06945/51.39, allocations: 9.325 MB / 11.9 GB, free: 45.78 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 (698): * Single equations (assignments): 678 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {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,(6,66.7%) 81} * Non-linear torn systems: 1 {6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.01208/51.41, allocations: 5.736 MB / 11.91 GB, free: 41.46 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.09717/51.5, allocations: 44.44 MB / 11.95 GB, free: 13.22 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 0.8933/52.4, allocations: 14.95 kB / 11.95 GB, free: 114.4 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.03315/52.43, allocations: 12.95 MB / 11.96 GB, free: 114.1 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04432/52.47, allocations: 7.474 MB / 11.97 GB, free: 114 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1221/52.6, allocations: 45.45 MB / 12.02 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02341/52.62, allocations: 9.381 MB / 12.02 GB, free: 99.06 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.03486/52.65, allocations: 5.449 MB / 12.03 GB, free: 98.93 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01031/52.66, allocations: 1.286 MB / 12.03 GB, free: 98.93 MB / 0.9948 GB Notification: Performance of SimCode: time 2.424e-06/52.66, allocations: 0 / 12.03 GB, free: 98.93 MB / 0.9948 GB Notification: Performance of Templates: time 1.694/54.36, allocations: 0.4955 GB / 12.53 GB, free: 125.7 MB / 1.026 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)