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.7618/0.7618, allocations: 127.3 MB / 139.8 MB, free: 15.44 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: 188.7 kB / 169.7 MB, free: 1.742 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.792/1.792, allocations: 205.1 MB / 404.5 MB, free: 1.676 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.0009428/0.0009428, allocations: 91.67 kB / 481.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.551e-05, allocations: 7.984 kB / 0.5532 GB, free: 54.85 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2209, allocations: 76.75 MB / 0.6282 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.468/1.689, allocations: 427.9 MB / 1.046 GB, free: 88.1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/1.69, allocations: 96.83 kB / 1.046 GB, free: 88.05 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 39.09/40.78, allocations: 8.373 GB / 9.419 GB, free: 55.12 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.377e-06/40.78, allocations: 0 / 9.419 GB, free: 55.12 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.004982/40.79, allocations: 0.5128 MB / 9.42 GB, free: 55.01 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.07444/40.86, allocations: 14.03 MB / 9.433 GB, free: 49.23 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/40.86, allocations: 11 kB / 9.433 GB, free: 49.23 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02307/40.88, allocations: 2.447 MB / 9.436 GB, free: 48.22 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1035/40.99, allocations: 24.66 MB / 9.46 GB, free: 45.53 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00189/40.99, allocations: 0.7022 MB / 9.461 GB, free: 45.51 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008441/41, allocations: 1.007 MB / 9.462 GB, free: 45.49 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06937/41.07, allocations: 18.03 MB / 9.479 GB, free: 43.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009688/41.07, allocations: 13.06 kB / 9.479 GB, free: 43.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006887/41.08, allocations: 357.7 kB / 9.48 GB, free: 43.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005192/41.08, allocations: 211.8 kB / 9.48 GB, free: 43.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06016/41.14, allocations: 20.87 MB / 9.5 GB, free: 43.63 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.201/41.34, allocations: 79.07 MB / 9.577 GB, free: 9.668 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03176/41.37, allocations: 13.13 MB / 9.59 GB, free: 9.227 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01616/41.39, allocations: 8.898 MB / 9.599 GB, free: 9.168 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.09248/41.48, allocations: 30.94 MB / 9.629 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02963/41.51, allocations: 10.67 MB / 9.639 GB, free: 392 kB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05124/41.56, allocations: 15.24 MB / 9.654 GB, free: 15.83 MB / 0.948 GB Notification: Performance of pre-optimization done (n=580): time 6.248e-05/41.56, allocations: 5.406 kB / 9.654 GB, free: 15.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=810): time 1.972/43.53, allocations: 184.3 MB / 9.834 GB, free: 80.23 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000842/43.53, allocations: 2.532 MB / 9.837 GB, free: 77.23 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04669/43.58, allocations: 14.48 MB / 9.851 GB, free: 76.48 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.006253/43.59, allocations: 265.3 kB / 9.851 GB, free: 76.45 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.01472/43.6, allocations: 7.885 MB / 9.859 GB, free: 76.07 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.008098/43.61, allocations: 2.81 MB / 9.862 GB, free: 75.64 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005171/43.61, allocations: 212.3 kB / 9.862 GB, free: 75.64 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.001583/43.61, allocations: 0.7452 MB / 9.863 GB, free: 75.32 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02609/43.64, allocations: 9.757 MB / 9.872 GB, free: 75.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0281/43.67, allocations: 13.45 MB / 9.885 GB, free: 71.34 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02633/43.7, allocations: 11.15 MB / 9.896 GB, free: 71.11 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002762/43.7, allocations: 13.19 kB / 9.896 GB, free: 71.11 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1422) (initialization): time 0.6549/44.35, allocations: 132.9 MB / 10.03 GB, free: 67.61 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.01122/44.36, allocations: 38.53 MB / 10.06 GB, free: 44.54 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007141/44.36, allocations: 118.7 kB / 10.06 GB, free: 44.54 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719/46.08, allocations: 149.1 MB / 10.21 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01523/46.1, allocations: 2.47 MB / 10.21 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2182/46.32, allocations: 89.27 MB / 10.3 GB, free: 97.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0317/46.35, allocations: 1.501 MB / 10.3 GB, free: 97.46 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006882/46.35, allocations: 0.9328 MB / 10.3 GB, free: 97.46 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/46.35, allocations: 6.812 kB / 10.3 GB, free: 97.46 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5827/46.94, allocations: 128.1 MB / 10.43 GB, free: 65.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006035/46.94, allocations: 118.6 kB / 10.43 GB, free: 65.68 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655/48.59, allocations: 148 MB / 10.57 GB, free: 114.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01223/48.6, allocations: 2.361 MB / 10.57 GB, free: 114.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1846/48.79, allocations: 89.48 MB / 10.66 GB, free: 109.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02485/48.81, allocations: 1.238 MB / 10.66 GB, free: 109.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00601/48.82, allocations: 0.8713 MB / 10.66 GB, free: 109.6 MB / 1.01 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 (1060): * Single equations (assignments): 981 * 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.009269/48.83, allocations: 0.7247 MB / 10.66 GB, free: 109.5 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007695/48.84, allocations: 1.545 MB / 10.66 GB, free: 109.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2174/49.05, allocations: 53.87 MB / 10.72 GB, free: 108.8 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001916/49.06, allocations: 93.53 kB / 10.72 GB, free: 108.8 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002151/49.06, allocations: 49.16 kB / 10.72 GB, free: 108.8 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1969/49.25, allocations: 47.71 MB / 10.76 GB, free: 100.3 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2416/49.49, allocations: 70.89 MB / 10.83 GB, free: 50.83 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001061/49.49, allocations: 4 kB / 10.83 GB, free: 50.83 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01074/49.5, allocations: 1.644 MB / 10.84 GB, free: 49.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.18/50.68, allocations: 44.11 MB / 10.88 GB, free: 103.6 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003493/50.69, allocations: 352.3 kB / 10.88 GB, free: 103.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1633/50.85, allocations: 65.35 MB / 10.94 GB, free: 92.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/50.85, allocations: 9.359 kB / 10.94 GB, free: 92.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2249/51.08, allocations: 61.29 MB / 11 GB, free: 91.45 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01408/51.09, allocations: 3.61 MB / 11.01 GB, free: 90.61 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007168/51.1, allocations: 272.5 kB / 11.01 GB, free: 90.61 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01989/51.12, allocations: 1.259 MB / 11.01 GB, free: 90.57 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005332/51.12, allocations: 0.6873 MB / 11.01 GB, free: 90.56 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002551/51.13, allocations: 365.1 kB / 11.01 GB, free: 90.56 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.02264/51.15, allocations: 11.07 MB / 11.02 GB, free: 90.06 MB / 1.01 GB Notification: Performance of sort global known variables: time 4.31e-07/51.15, allocations: 0 / 11.02 GB, free: 90.06 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.06227/51.21, allocations: 9.257 MB / 11.03 GB, free: 90.06 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 (703): * 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): 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%) 64} * Non-linear torn systems: 1 {39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.01191/51.22, allocations: 5.727 MB / 11.03 GB, free: 88.07 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.1097/51.33, allocations: 46.74 MB / 11.08 GB, free: 84.09 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.628e-05/51.33, allocations: 9.688 kB / 11.08 GB, free: 84.09 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.04247/51.37, allocations: 14.71 MB / 11.09 GB, free: 83.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04223/51.42, allocations: 7.515 MB / 11.1 GB, free: 83.08 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07047/51.49, allocations: 30.29 MB / 11.13 GB, free: 71.46 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0146/51.5, allocations: 9.5 MB / 11.14 GB, free: 65.86 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.04481/51.55, allocations: 8.983 MB / 11.15 GB, free: 60.1 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005053/51.55, allocations: 0.9512 MB / 11.15 GB, free: 59.31 MB / 1.01 GB Notification: Performance of SimCode: time 1.092e-06/51.55, allocations: 0.5625 kB / 11.15 GB, free: 59.31 MB / 1.01 GB Notification: Performance of Templates: time 3.711/55.26, allocations: 0.5268 GB / 11.68 GB, free: 131.3 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)