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.817/0.817, allocations: 127.4 MB / 134.9 MB, free: 3.762 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.001231/0.001231, allocations: 176.8 kB / 164.7 MB, free: 6.523 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.714/1.714, allocations: 205.2 MB / 399.5 MB, free: 5.93 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.001008/0.001008, allocations: 79.05 kB / 476.7 MB, free: 8.664 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.955e-05/1.95e-05, allocations: 4 kB / 0.5466 GB, free: 60.48 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1702, allocations: 76.75 MB / 0.6215 GB, free: 15.66 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.19/1.36, allocations: 427.5 MB / 1.039 GB, free: 93.94 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/1.36, allocations: 91.55 kB / 1.039 GB, free: 93.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 36.28/37.64, allocations: 8.334 GB / 9.373 GB, free: 72.42 MB / 0.9167 GB Notification: Performance of FrontEnd: time 4.528e-06/37.64, allocations: 9.625 kB / 9.373 GB, free: 72.42 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.005174/37.64, allocations: 0.513 MB / 9.373 GB, free: 72.31 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.06792/37.71, allocations: 14.02 MB / 9.387 GB, free: 66.36 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/37.71, allocations: 9.562 kB / 9.387 GB, free: 66.36 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01999/37.73, allocations: 2.442 MB / 9.389 GB, free: 65.35 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08584/37.81, allocations: 24.66 MB / 9.413 GB, free: 62.59 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000776/37.82, allocations: 256.3 kB / 9.414 GB, free: 62.59 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006114/37.82, allocations: 0.5715 MB / 9.414 GB, free: 62.59 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03862/37.86, allocations: 19.54 MB / 9.433 GB, free: 62.55 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0482/37.91, allocations: 15.28 MB / 9.448 GB, free: 60.72 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000525/37.91, allocations: 10.69 kB / 9.448 GB, free: 60.72 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004687/37.91, allocations: 17.47 kB / 9.448 GB, free: 60.72 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002095/37.91, allocations: 216.5 kB / 9.448 GB, free: 60.71 MB / 0.9167 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.1568/38.07, allocations: 77.89 MB / 9.525 GB, free: 26.2 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01896/38.09, allocations: 12.25 MB / 9.537 GB, free: 25.77 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01372/38.1, allocations: 9.188 MB / 9.546 GB, free: 25.69 MB / 0.9167 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.07272/38.18, allocations: 30.53 MB / 9.575 GB, free: 17.01 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01884/38.2, allocations: 8.91 MB / 9.584 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04673/38.24, allocations: 14.96 MB / 9.599 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=579): time 6.648e-05/38.24, allocations: 0 / 9.599 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of matching and sorting (n=581): time 1.672/39.91, allocations: 146 MB / 9.741 GB, free: 87.49 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007322/39.92, allocations: 2.505 MB / 9.744 GB, free: 84.48 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03305/39.95, allocations: 13.61 MB / 9.757 GB, free: 83.81 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.004782/39.95, allocations: 43.36 kB / 9.757 GB, free: 83.78 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.01327/39.97, allocations: 7.891 MB / 9.765 GB, free: 83.39 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.006234/39.97, allocations: 1.976 MB / 9.767 GB, free: 83.32 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004205/39.98, allocations: 0 / 9.767 GB, free: 83.32 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.001247/39.98, allocations: 0.681 MB / 9.767 GB, free: 83 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01625/39.99, allocations: 8.71 MB / 9.776 GB, free: 82.97 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02239/40.02, allocations: 12.18 MB / 9.788 GB, free: 78.96 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0245/40.04, allocations: 10.09 MB / 9.798 GB, free: 78.73 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002069/40.04, allocations: 17.12 kB / 9.798 GB, free: 78.73 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1194) (initialization): time 0.7277/40.77, allocations: 129.3 MB / 9.924 GB, free: 40.44 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.007036/40.78, allocations: 38.37 MB / 9.961 GB, free: 1.238 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005953/40.78, allocations: 119.9 kB / 9.961 GB, free: 1.121 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607/42.38, allocations: 144.7 MB / 10.1 GB, free: 125.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01325/42.4, allocations: 2.209 MB / 10.1 GB, free: 125.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1496/42.55, allocations: 70.56 MB / 10.17 GB, free: 119.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02258/42.57, allocations: 1.162 MB / 10.17 GB, free: 119.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005164/42.58, allocations: 0.8537 MB / 10.18 GB, free: 119.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/42.58, allocations: 3.672 kB / 10.18 GB, free: 119.4 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5856/43.16, allocations: 121.5 MB / 10.29 GB, free: 71.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005488/43.16, allocations: 117.2 kB / 10.29 GB, free: 71.71 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521/44.68, allocations: 143.4 MB / 10.43 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01004/44.69, allocations: 2.1 MB / 10.44 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1367/44.83, allocations: 69.31 MB / 10.5 GB, free: 113.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02048/44.85, allocations: 0.8942 MB / 10.51 GB, free: 113.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004525/44.85, allocations: 0.7944 MB / 10.51 GB, free: 113.4 MB / 0.9792 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (935): * Single equations (assignments): 857 * 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: 2 * 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {39 65} Notification: Performance of prepare postOptimizeDAE: time 0.005048/44.86, allocations: 357.3 kB / 10.51 GB, free: 113.3 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005029/44.86, allocations: 1.463 MB / 10.51 GB, free: 113.3 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2033/45.07, allocations: 47.59 MB / 10.55 GB, free: 112.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001396/45.07, allocations: 67.28 kB / 10.55 GB, free: 112.7 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.688e-05/45.07, allocations: 29.19 kB / 10.55 GB, free: 112.7 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1863/45.25, allocations: 42.6 MB / 10.6 GB, free: 112 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2286/45.48, allocations: 61.56 MB / 10.66 GB, free: 76.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.374e-05/45.48, allocations: 4.562 kB / 10.66 GB, free: 76.79 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008923/45.49, allocations: 1.252 MB / 10.66 GB, free: 75.62 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1722/45.66, allocations: 42 MB / 10.7 GB, free: 34.76 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002457/45.67, allocations: 168 kB / 10.7 GB, free: 34.64 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021/46.69, allocations: 52.8 MB / 10.75 GB, free: 120.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/46.69, allocations: 1.5 kB / 10.75 GB, free: 120.4 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2132/46.9, allocations: 53.48 MB / 10.8 GB, free: 119.4 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01264/46.91, allocations: 3.161 MB / 10.81 GB, free: 119 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007396/46.92, allocations: 76.52 kB / 10.81 GB, free: 119 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0173/46.94, allocations: 0.9915 MB / 10.81 GB, free: 119 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003474/46.94, allocations: 493 kB / 10.81 GB, free: 119 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00179/46.94, allocations: 268.5 kB / 10.81 GB, free: 119 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.02734/46.97, allocations: 10.21 MB / 10.82 GB, free: 118.6 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.022e-06/46.97, allocations: 0 / 10.82 GB, free: 118.6 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.06283/47.03, allocations: 8.172 MB / 10.82 GB, free: 118.6 MB / 0.9792 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 (517): * Single equations (assignments): 496 * 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: 2 * 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.01275/47.05, allocations: 5.412 MB / 10.83 GB, free: 116.6 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.09319/47.14, allocations: 38.43 MB / 10.87 GB, free: 113.4 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-05/47.14, allocations: 14.12 kB / 10.87 GB, free: 113.4 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.03128/47.17, allocations: 11.24 MB / 10.88 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04096/47.21, allocations: 7.309 MB / 10.89 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06403/47.28, allocations: 27.23 MB / 10.91 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01572/47.29, allocations: 8.917 MB / 10.92 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.03667/47.33, allocations: 8.295 MB / 10.93 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003771/47.33, allocations: 0.822 MB / 10.93 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of SimCode: time 1.253e-06/47.33, allocations: 3.281 kB / 10.93 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of Templates: time 2.363/49.7, allocations: 452 MB / 11.37 GB, free: 20.65 MB / 0.9793 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)