Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.095/2.095, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 183.6 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.318/2.318, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009354/0.0009352, allocations: 93.47 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004979/0.000498, allocations: 10.5 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2134, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.292/1.505, allocations: 457.1 MB / 1.346 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003755/1.506, allocations: 102.8 kB / 1.346 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 55.56/57.07, allocations: 10.01 GB / 11.36 GB, free: 61.02 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.356e-06/57.07, allocations: 3.562 kB / 11.36 GB, free: 61.02 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.004226/57.07, allocations: 382.1 kB / 11.36 GB, free: 60.94 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.09961/57.17, allocations: 18.7 MB / 11.38 GB, free: 52.45 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/57.17, allocations: 7.688 kB / 11.38 GB, free: 52.45 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01851/57.19, allocations: 2.181 MB / 11.38 GB, free: 51.55 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09373/57.29, allocations: 19.87 MB / 11.4 GB, free: 37.09 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001087/57.29, allocations: 0.6066 MB / 11.4 GB, free: 36.48 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005039/57.29, allocations: 0.8166 MB / 11.4 GB, free: 35.67 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04391/57.34, allocations: 14.22 MB / 11.41 GB, free: 21.27 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002961/57.34, allocations: 19.92 kB / 11.41 GB, free: 21.25 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00297/57.34, allocations: 287.5 kB / 11.41 GB, free: 20.97 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001957/57.34, allocations: 183.9 kB / 11.41 GB, free: 20.79 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04659/57.39, allocations: 18.41 MB / 11.43 GB, free: 2.363 MB / 1.167 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 1.35/58.74, allocations: 73.88 MB / 11.5 GB, free: 40.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02505/58.76, allocations: 9.742 MB / 11.51 GB, free: 40.03 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02289/58.78, allocations: 8.634 MB / 11.52 GB, free: 39.97 MB / 1.167 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.1169/58.9, allocations: 30 MB / 11.55 GB, free: 31.61 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02406/58.92, allocations: 8.219 MB / 11.56 GB, free: 31.5 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.1145/59.04, allocations: 14.95 MB / 11.57 GB, free: 31.46 MB / 1.167 GB Notification: Performance of pre-optimization done (n=427): time 6.32e-05/59.04, allocations: 0.6562 kB / 11.57 GB, free: 31.46 MB / 1.167 GB Notification: Performance of matching and sorting (n=613): time 0.8766/59.92, allocations: 110.2 MB / 11.68 GB, free: 23.71 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/59.92, allocations: 113.1 kB / 11.68 GB, free: 23.64 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04529/59.96, allocations: 14.07 MB / 11.69 GB, free: 22.89 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.004392/59.97, allocations: 189.8 kB / 11.69 GB, free: 22.86 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01154/59.98, allocations: 6.65 MB / 11.7 GB, free: 21.73 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.005854/59.98, allocations: 2.065 MB / 11.7 GB, free: 20.68 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003587/59.99, allocations: 157.4 kB / 11.7 GB, free: 20.68 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0007928/59.99, allocations: 0.6155 MB / 11.7 GB, free: 20.36 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02746/60.02, allocations: 8.417 MB / 11.71 GB, free: 20.31 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03512/60.05, allocations: 11.24 MB / 11.72 GB, free: 17.09 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03163/60.08, allocations: 9.403 MB / 11.73 GB, free: 16.83 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001136/60.08, allocations: 14.56 kB / 11.73 GB, free: 16.83 MB / 1.167 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.1144/60.2, allocations: 28.14 MB / 11.76 GB, free: 15.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00128/60.2, allocations: 1.744 MB / 11.76 GB, free: 13.42 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001418/60.2, allocations: 54.75 kB / 11.76 GB, free: 13.42 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.799/63, allocations: 149.7 MB / 11.91 GB, free: 100.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02989/63.03, allocations: 1.973 MB / 11.91 GB, free: 100.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08431/63.11, allocations: 25.29 MB / 11.93 GB, free: 95.82 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03478/63.15, allocations: 1.288 MB / 11.93 GB, free: 95.82 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005383/63.15, allocations: 0.8166 MB / 11.94 GB, free: 95.82 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/63.15, allocations: 7.156 kB / 11.94 GB, free: 95.82 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1098/63.26, allocations: 26.73 MB / 11.96 GB, free: 95.48 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002568/63.26, allocations: 53.67 kB / 11.96 GB, free: 95.48 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507/64.77, allocations: 147.7 MB / 12.11 GB, free: 95.12 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01823/64.79, allocations: 1.962 MB / 12.11 GB, free: 95.11 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09882/64.89, allocations: 29.59 MB / 12.14 GB, free: 91.21 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03347/64.92, allocations: 1.258 MB / 12.14 GB, free: 91.15 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005094/64.93, allocations: 0.776 MB / 12.14 GB, free: 91.14 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (761): * Single equations (assignments): 747 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {32 38,5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01761/64.94, allocations: 3.354 MB / 12.14 GB, free: 90.96 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007735/64.95, allocations: 1.28 MB / 12.14 GB, free: 90.96 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1267/65.08, allocations: 26.15 MB / 12.17 GB, free: 90.02 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001726/65.08, allocations: 75.28 kB / 12.17 GB, free: 90.02 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-05/65.08, allocations: 0 / 12.17 GB, free: 90.02 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09613/65.17, allocations: 20.53 MB / 12.19 GB, free: 89.38 MB / 1.198 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 postOpt removeSimpleEquations (simulation): time 0.2877/65.46, allocations: 57.41 MB / 12.25 GB, free: 59.16 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001304/65.46, allocations: 11.98 kB / 12.25 GB, free: 59.15 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01307/65.47, allocations: 1.277 MB / 12.25 GB, free: 57.96 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3593/65.83, allocations: 43.01 MB / 12.29 GB, free: 16.16 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002418/65.84, allocations: 202.2 kB / 12.29 GB, free: 16.06 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03893/65.88, allocations: 14.37 MB / 12.3 GB, free: 5.004 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.347e-05/65.88, allocations: 11.66 kB / 12.3 GB, free: 4.996 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.486/67.36, allocations: 35.64 MB / 12.34 GB, free: 109.5 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01455/67.38, allocations: 3.056 MB / 12.34 GB, free: 109.4 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007334/67.38, allocations: 136.8 kB / 12.34 GB, free: 109.4 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02447/67.41, allocations: 0.9872 MB / 12.34 GB, free: 109.4 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003045/67.41, allocations: 483.2 kB / 12.34 GB, free: 109.4 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002609/67.41, allocations: 300.7 kB / 12.34 GB, free: 109.4 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.02973/67.44, allocations: 9.534 MB / 12.35 GB, free: 109.1 MB / 1.214 GB Notification: Performance of sort global known variables: time 6.01e-07/67.44, allocations: 0 / 12.35 GB, free: 109.1 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.07359/67.52, allocations: 7.077 MB / 12.36 GB, free: 109.1 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (537): * Single equations (assignments): 515 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 4 * 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: 0 * Non-linear torn systems: 4 {9 78,30 38,5 80,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0147/67.53, allocations: 5.405 MB / 12.36 GB, free: 107.1 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.1411/67.67, allocations: 34.34 MB / 12.4 GB, free: 106.5 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.718e-05/67.67, allocations: 2.5 kB / 12.4 GB, free: 106.5 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.03714/67.71, allocations: 9.574 MB / 12.41 GB, free: 106.4 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0701/67.78, allocations: 6.92 MB / 12.41 GB, free: 106.3 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1141/67.89, allocations: 32.12 MB / 12.44 GB, free: 94.69 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02679/67.92, allocations: 7.382 MB / 12.45 GB, free: 93.7 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.03938/67.96, allocations: 4.054 MB / 12.46 GB, free: 93.58 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01019/67.97, allocations: 1.08 MB / 12.46 GB, free: 93.57 MB / 1.214 GB Notification: Performance of SimCode: time 2.034e-06/67.97, allocations: 0 / 12.46 GB, free: 93.57 MB / 1.214 GB Notification: Performance of Templates: time 3.693/71.66, allocations: 422 MB / 12.87 GB, free: 157.3 MB / 1.261 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)