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.7018/0.7018, allocations: 127.3 MB / 139.8 MB, free: 15.48 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.001067/0.001067, allocations: 187.5 kB / 169.7 MB, free: 1.738 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.66/1.66, allocations: 205.1 MB / 404.5 MB, free: 1.582 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.0009998/0.0009999, allocations: 96.66 kB / 481.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.359e-05/3.362e-05, allocations: 0 / 0.5532 GB, free: 54.85 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1632, allocations: 76.77 MB / 0.6282 GB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.304/1.467, allocations: 428.2 MB / 1.046 GB, free: 87.86 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/1.468, allocations: 96.75 kB / 1.046 GB, free: 87.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 43/44.46, allocations: 9.13 GB / 10.18 GB, free: 71.32 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.076e-06/44.46, allocations: 0 / 10.18 GB, free: 71.32 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.004897/44.47, allocations: 0.5047 MB / 10.18 GB, free: 71.21 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.07509/44.54, allocations: 14.02 MB / 10.19 GB, free: 65.21 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/44.54, allocations: 10.22 kB / 10.19 GB, free: 65.21 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02128/44.57, allocations: 2.44 MB / 10.19 GB, free: 64.19 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09492/44.66, allocations: 24.63 MB / 10.22 GB, free: 61.34 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001541/44.66, allocations: 0.707 MB / 10.22 GB, free: 61.32 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00745/44.67, allocations: 1.001 MB / 10.22 GB, free: 61.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06439/44.73, allocations: 18.34 MB / 10.24 GB, free: 59.33 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000874/44.73, allocations: 10.44 kB / 10.24 GB, free: 59.32 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006157/44.74, allocations: 357.4 kB / 10.24 GB, free: 59.32 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003528/44.74, allocations: 213.7 kB / 10.24 GB, free: 59.32 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05292/44.79, allocations: 21.18 MB / 10.26 GB, free: 59.17 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.1833/44.98, allocations: 79.5 MB / 10.34 GB, free: 23.95 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03322/45.01, allocations: 13.23 MB / 10.35 GB, free: 23.46 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01711/45.03, allocations: 9.218 MB / 10.36 GB, free: 23.37 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.08999/45.12, allocations: 30.82 MB / 10.39 GB, free: 7.324 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0315/45.15, allocations: 10.92 MB / 10.4 GB, free: 3.891 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07852/45.23, allocations: 17.47 MB / 10.41 GB, free: 15.69 MB / 0.948 GB Notification: Performance of pre-optimization done (n=559): time 6.951e-05/45.23, allocations: 4 kB / 10.41 GB, free: 15.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=770): time 2.097/47.33, allocations: 196.2 MB / 10.61 GB, free: 85.99 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007453/47.33, allocations: 2.523 MB / 10.61 GB, free: 82.98 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04015/47.37, allocations: 14.52 MB / 10.62 GB, free: 82.15 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.005967/47.37, allocations: 251.4 kB / 10.62 GB, free: 82.12 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01439/47.39, allocations: 7.908 MB / 10.63 GB, free: 80.79 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006852/47.39, allocations: 2.675 MB / 10.63 GB, free: 79.42 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004832/47.4, allocations: 203.4 kB / 10.63 GB, free: 79.42 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.00132/47.4, allocations: 0.7412 MB / 10.63 GB, free: 79.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.019/47.42, allocations: 9.681 MB / 10.64 GB, free: 79.07 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02333/47.44, allocations: 13.36 MB / 10.66 GB, free: 75.03 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02332/47.47, allocations: 11.06 MB / 10.67 GB, free: 74.68 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002038/47.47, allocations: 15.09 kB / 10.67 GB, free: 74.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=1392) (initialization): time 1.704/49.17, allocations: 135.5 MB / 10.8 GB, free: 99.54 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.008185/49.18, allocations: 40.11 MB / 10.84 GB, free: 59.11 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007091/49.18, allocations: 122 kB / 10.84 GB, free: 59.11 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6432/49.82, allocations: 147.4 MB / 10.98 GB, free: 58.66 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01326/49.84, allocations: 2.416 MB / 10.99 GB, free: 58.65 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1602/50, allocations: 84.47 MB / 11.07 GB, free: 51.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02481/50.02, allocations: 1.61 MB / 11.07 GB, free: 51.64 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005519/50.03, allocations: 0.9201 MB / 11.07 GB, free: 51.64 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/50.03, allocations: 3.812 kB / 11.07 GB, free: 51.64 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.793/51.82, allocations: 127.3 MB / 11.2 GB, free: 117.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006651/51.82, allocations: 117.7 kB / 11.2 GB, free: 117.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6468/52.47, allocations: 146.7 MB / 11.34 GB, free: 117.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01221/52.48, allocations: 2.372 MB / 11.34 GB, free: 117.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1838/52.66, allocations: 86.31 MB / 11.43 GB, free: 111.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02428/52.69, allocations: 1.218 MB / 11.43 GB, free: 111.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005574/52.69, allocations: 0.8634 MB / 11.43 GB, free: 111.1 MB / 1.01 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1068): * Single equations (assignments): 991 * 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,(5,76.0%) 80} * Non-linear torn systems: 1 {5 80} Notification: Performance of prepare postOptimizeDAE: time 0.009238/52.7, allocations: 0.7209 MB / 11.43 GB, free: 111 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008555/52.71, allocations: 1.538 MB / 11.43 GB, free: 110.8 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2376/52.95, allocations: 56.35 MB / 11.48 GB, free: 63.95 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001837/52.95, allocations: 97.3 kB / 11.48 GB, free: 63.86 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001888/52.95, allocations: 40 kB / 11.48 GB, free: 63.82 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2129/53.16, allocations: 50.25 MB / 11.53 GB, free: 21.07 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.296/54.46, allocations: 73.11 MB / 11.6 GB, free: 122.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001646/54.46, allocations: 0 / 11.6 GB, free: 122.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009758/54.47, allocations: 1.533 MB / 11.61 GB, free: 122.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.189/54.66, allocations: 43.04 MB / 11.65 GB, free: 122.5 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003243/54.66, allocations: 343.7 kB / 11.65 GB, free: 122.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1537/54.81, allocations: 63.78 MB / 11.71 GB, free: 114.2 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/54.81, allocations: 0.8125 kB / 11.71 GB, free: 114.2 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2338/55.05, allocations: 63.69 MB / 11.77 GB, free: 111.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0184/55.07, allocations: 3.571 MB / 11.78 GB, free: 109.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009306/55.08, allocations: 260 kB / 11.78 GB, free: 109.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02038/55.1, allocations: 1.361 MB / 11.78 GB, free: 108.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00539/55.1, allocations: 0.6607 MB / 11.78 GB, free: 108.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00309/55.1, allocations: 345 kB / 11.78 GB, free: 108.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.03066/55.13, allocations: 11.08 MB / 11.79 GB, free: 101.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.61e-07/55.14, allocations: 0 / 11.79 GB, free: 101.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.07039/55.21, allocations: 9.313 MB / 11.8 GB, free: 93.7 MB / 1.01 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 (701): * Single equations (assignments): 681 * 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 {(5,76.0%) 79,(28,89.3%) 28} * Non-linear torn systems: 1 {5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01184/55.22, allocations: 5.726 MB / 11.8 GB, free: 89.34 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.08999/55.31, allocations: 42.61 MB / 11.85 GB, free: 64.34 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.01e-05/55.31, allocations: 10.62 kB / 11.85 GB, free: 64.33 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.02661/55.33, allocations: 11.87 MB / 11.86 GB, free: 53.65 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04273/55.38, allocations: 7.476 MB / 11.87 GB, free: 48.58 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.022/57.4, allocations: 34.7 MB / 11.9 GB, free: 116.9 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0332/57.43, allocations: 9.408 MB / 11.91 GB, free: 115.8 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.07673/57.51, allocations: 8.931 MB / 11.92 GB, free: 115.6 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009082/57.52, allocations: 0.9493 MB / 11.92 GB, free: 115.6 MB / 1.011 GB Notification: Performance of SimCode: time 2.855e-06/57.52, allocations: 0 / 11.92 GB, free: 115.6 MB / 1.011 GB Notification: Performance of Templates: time 1.918/59.44, allocations: 0.5307 GB / 12.45 GB, free: 137 MB / 1.057 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)