Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.693/1.693, allocations: 288.4 MB / 304.3 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00126/0.00126, allocations: 182.6 kB / 373 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.4 MB / 0.6317 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008859/0.0008859, allocations: 96.69 kB / 0.745 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004118, allocations: 15.75 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2463, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.565/1.811, allocations: 465.7 MB / 1.436 GB, free: 336.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004095/1.812, allocations: 107.6 kB / 1.436 GB, free: 336.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 39.33/41.14, allocations: 10.24 GB / 11.67 GB, free: 93.48 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.845e-06/41.14, allocations: 0.7188 kB / 11.67 GB, free: 93.48 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003279/41.15, allocations: 346.4 kB / 11.67 GB, free: 93.43 MB / 1.214 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.07336/41.22, allocations: 17.39 MB / 11.69 GB, free: 87.3 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/41.22, allocations: 9.938 kB / 11.69 GB, free: 87.3 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01677/41.24, allocations: 2.22 MB / 11.69 GB, free: 86.52 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06442/41.3, allocations: 19.04 MB / 11.71 GB, free: 83.88 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001301/41.3, allocations: 0.5274 MB / 11.71 GB, free: 83.87 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005297/41.31, allocations: 0.7076 MB / 11.71 GB, free: 83.87 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03626/41.35, allocations: 13.38 MB / 11.73 GB, free: 83.26 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000393/41.35, allocations: 13.84 kB / 11.73 GB, free: 83.26 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003174/41.35, allocations: 245.8 kB / 11.73 GB, free: 83.26 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001554/41.35, allocations: 149.8 kB / 11.73 GB, free: 83.26 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0379/41.39, allocations: 17.98 MB / 11.74 GB, free: 83.21 MB / 1.214 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.1319/41.52, allocations: 69.95 MB / 11.81 GB, free: 51.34 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01656/41.54, allocations: 9.766 MB / 11.82 GB, free: 51.18 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01299/41.55, allocations: 8.634 MB / 11.83 GB, free: 51.12 MB / 1.214 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.06766/41.62, allocations: 29.37 MB / 11.86 GB, free: 43.02 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01477/41.63, allocations: 8.306 MB / 11.87 GB, free: 42.91 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04641/41.68, allocations: 15.21 MB / 11.88 GB, free: 42.36 MB / 1.214 GB Notification: Performance of pre-optimization done (n=393): time 5.478e-05/41.68, allocations: 4 kB / 11.88 GB, free: 42.36 MB / 1.214 GB Notification: Performance of matching and sorting (n=581): time 0.4951/42.17, allocations: 126.7 MB / 12.01 GB, free: 26.95 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/42.17, allocations: 112 kB / 12.01 GB, free: 26.83 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03509/42.21, allocations: 13.3 MB / 12.02 GB, free: 15.9 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.003722/42.21, allocations: 189.4 kB / 12.02 GB, free: 15.71 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.008418/42.22, allocations: 6.008 MB / 12.03 GB, free: 10.22 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.004561/42.22, allocations: 1.943 MB / 12.03 GB, free: 8.461 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002552/42.23, allocations: 147.5 kB / 12.03 GB, free: 8.32 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0005165/42.23, allocations: 0.5979 MB / 12.03 GB, free: 7.805 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01636/42.24, allocations: 8.632 MB / 12.04 GB, free: 0.7344 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03956/42.28, allocations: 12.66 MB / 12.05 GB, free: 9.66 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.084/43.37, allocations: 20.49 MB / 12.07 GB, free: 106.2 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001033/43.37, allocations: 13.09 kB / 12.07 GB, free: 106.2 MB / 1.229 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.08448/43.45, allocations: 28.72 MB / 12.1 GB, free: 105.8 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.001365/43.45, allocations: 1.537 MB / 12.1 GB, free: 104 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001822/43.45, allocations: 45.61 kB / 12.1 GB, free: 104 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7378/44.19, allocations: 171.8 MB / 12.27 GB, free: 103 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01146/44.2, allocations: 1.86 MB / 12.27 GB, free: 103 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05795/44.26, allocations: 27.38 MB / 12.29 GB, free: 97.79 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02215/44.28, allocations: 1.279 MB / 12.3 GB, free: 97.73 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004647/44.29, allocations: 0.8075 MB / 12.3 GB, free: 97.73 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/44.29, allocations: 3.562 kB / 12.3 GB, free: 97.73 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06798/44.36, allocations: 27.41 MB / 12.32 GB, free: 97.21 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003122/44.36, allocations: 44.16 kB / 12.32 GB, free: 97.21 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7264/45.08, allocations: 171.6 MB / 12.49 GB, free: 14.45 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01051/45.09, allocations: 1.842 MB / 12.49 GB, free: 12.73 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208/46.3, allocations: 31.74 MB / 12.52 GB, free: 153.5 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02432/46.33, allocations: 1.255 MB / 12.52 GB, free: 153.5 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005868/46.33, allocations: 0.763 MB / 12.53 GB, free: 153.5 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (662): * Single equations (assignments): 648 * 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 {40 56,6 79,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.01621/46.35, allocations: 3.092 MB / 12.53 GB, free: 153.3 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007144/46.36, allocations: 1.202 MB / 12.53 GB, free: 153.3 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.118/46.47, allocations: 30.9 MB / 12.56 GB, free: 152.8 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002218/46.47, allocations: 74.94 kB / 12.56 GB, free: 152.8 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.606e-05/46.47, allocations: 0.625 kB / 12.56 GB, free: 152.8 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08292/46.56, allocations: 25.33 MB / 12.58 GB, free: 152.2 MB / 1.276 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.1447/46.7, allocations: 50.41 MB / 12.63 GB, free: 145.8 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001009/46.7, allocations: 10.5 kB / 12.63 GB, free: 145.8 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007349/46.71, allocations: 1.244 MB / 12.64 GB, free: 145.8 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2212/46.93, allocations: 50.01 MB / 12.68 GB, free: 145.7 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002591/46.93, allocations: 200.9 kB / 12.68 GB, free: 145.7 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02675/46.96, allocations: 15.48 MB / 12.7 GB, free: 140.6 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.33e-05/46.96, allocations: 11.31 kB / 12.7 GB, free: 140.6 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07785/47.04, allocations: 32.58 MB / 12.73 GB, free: 139.5 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01228/47.05, allocations: 2.939 MB / 12.73 GB, free: 139.4 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007181/47.06, allocations: 134.7 kB / 12.73 GB, free: 139.4 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01685/47.08, allocations: 1.006 MB / 12.74 GB, free: 139.3 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00304/47.08, allocations: 461.4 kB / 12.74 GB, free: 139.3 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00244/47.08, allocations: 289.1 kB / 12.74 GB, free: 139.3 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02328/47.1, allocations: 9.042 MB / 12.74 GB, free: 139 MB / 1.276 GB Notification: Performance of sort global known variables: time 5.21e-07/47.1, allocations: 1.094 kB / 12.74 GB, free: 139 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.05111/47.16, allocations: 6.552 MB / 12.75 GB, free: 139 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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 (490): * Single equations (assignments): 468 * 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 {7 80,38 56,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.0112/47.17, allocations: 4.94 MB / 12.76 GB, free: 137.1 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.08969/47.26, allocations: 35.71 MB / 12.79 GB, free: 136.3 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.648e-05/47.26, allocations: 0 / 12.79 GB, free: 136.3 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.02479/47.28, allocations: 10.03 MB / 12.8 GB, free: 136.2 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06987/47.35, allocations: 6.29 MB / 12.81 GB, free: 135.9 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07346/47.42, allocations: 30.09 MB / 12.84 GB, free: 124.8 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02076/47.45, allocations: 6.913 MB / 12.84 GB, free: 122.9 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.02697/47.47, allocations: 3.757 MB / 12.85 GB, free: 120.2 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006135/47.48, allocations: 0.99 MB / 12.85 GB, free: 119.4 MB / 1.276 GB Notification: Performance of SimCode: time 1.142e-06/47.48, allocations: 0 / 12.85 GB, free: 119.4 MB / 1.276 GB Notification: Performance of Templates: time 1.554/49.03, allocations: 415.8 MB / 13.25 GB, free: 133.2 MB / 1.276 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)