Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.819/1.819, allocations: 288.3 MB / 303.2 MB, free: 8.121 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.001286/0.001286, allocations: 181.1 kB / 371.8 MB, free: 10.26 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.981/1.981, allocations: 205.4 MB / 0.6306 GB, free: 9.992 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.0009755/0.0009754, allocations: 100.7 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003776, allocations: 10.81 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2575, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.695/1.952, allocations: 464.9 MB / 1.433 GB, free: 336.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003908/1.953, allocations: 102.2 kB / 1.434 GB, free: 336.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 44.7/46.66, allocations: 10.36 GB / 11.79 GB, free: 96.05 MB / 1.229 GB Notification: Performance of FrontEnd: time 2.214e-06/46.66, allocations: 3 kB / 11.79 GB, free: 96.05 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.003583/46.66, allocations: 382.4 kB / 11.79 GB, free: 95.99 MB / 1.229 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.08385/46.74, allocations: 18.72 MB / 11.81 GB, free: 89.23 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 7.271e-05/46.74, allocations: 16.56 kB / 11.81 GB, free: 89.23 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01712/46.76, allocations: 2.183 MB / 11.81 GB, free: 88.37 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07254/46.83, allocations: 20.28 MB / 11.83 GB, free: 86.11 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001082/46.84, allocations: 0.6008 MB / 11.83 GB, free: 86.09 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00531/46.84, allocations: 0.8062 MB / 11.83 GB, free: 86.09 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04491/46.89, allocations: 14.23 MB / 11.85 GB, free: 85.3 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006415/46.89, allocations: 15.5 kB / 11.85 GB, free: 85.3 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004499/46.89, allocations: 293 kB / 11.85 GB, free: 85.3 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002211/46.89, allocations: 185.9 kB / 11.85 GB, free: 85.3 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03592/46.93, allocations: 18.48 MB / 11.87 GB, free: 85.24 MB / 1.229 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.1413/47.07, allocations: 74.23 MB / 11.94 GB, free: 51.34 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01749/47.09, allocations: 9.807 MB / 11.95 GB, free: 51.16 MB / 1.229 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.06966/47.16, allocations: 29.93 MB / 11.98 GB, free: 42.68 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01715/47.17, allocations: 8.27 MB / 11.99 GB, free: 42.55 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04582/47.22, allocations: 14.74 MB / 12 GB, free: 41.71 MB / 1.229 GB Notification: Performance of pre-optimization done (n=427): time 5.774e-05/47.22, allocations: 0 / 12 GB, free: 41.71 MB / 1.229 GB Notification: Performance of matching and sorting (n=616): time 0.3859/47.6, allocations: 107.2 MB / 12.1 GB, free: 7.527 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.897e-05/47.6, allocations: 116.2 kB / 12.1 GB, free: 7.398 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03787/47.64, allocations: 12.78 MB / 12.12 GB, free: 12.95 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.004082/47.65, allocations: 197.7 kB / 12.12 GB, free: 12.75 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.0108/47.66, allocations: 6.667 MB / 12.12 GB, free: 6.676 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.005662/47.66, allocations: 2.081 MB / 12.13 GB, free: 4.789 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003412/47.67, allocations: 156 kB / 12.13 GB, free: 4.637 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.000758/47.67, allocations: 0.623 MB / 12.13 GB, free: 4.102 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03156/47.7, allocations: 9.573 MB / 12.14 GB, free: 0 / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.27/48.97, allocations: 11.31 MB / 12.15 GB, free: 113.5 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02697/49, allocations: 9.479 MB / 12.16 GB, free: 113.4 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000297/49, allocations: 13.19 kB / 12.16 GB, free: 113.4 MB / 1.245 GB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.08197/49.08, allocations: 27.44 MB / 12.18 GB, free: 113.1 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.01161/49.09, allocations: 34.78 MB / 12.22 GB, free: 77.04 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004214/49.09, allocations: 52.69 kB / 12.22 GB, free: 77.04 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6108/49.7, allocations: 146.8 MB / 12.36 GB, free: 76.18 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01238/49.71, allocations: 1.944 MB / 12.36 GB, free: 76.16 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04136/49.76, allocations: 24.83 MB / 12.39 GB, free: 71.02 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0255/49.78, allocations: 1.361 MB / 12.39 GB, free: 70.95 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005547/49.79, allocations: 0.8148 MB / 12.39 GB, free: 70.95 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/49.79, allocations: 3.312 kB / 12.39 GB, free: 70.95 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07401/49.86, allocations: 26.38 MB / 12.41 GB, free: 70.46 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003532/49.86, allocations: 55.84 kB / 12.41 GB, free: 70.46 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5944/50.46, allocations: 147.1 MB / 12.56 GB, free: 10.01 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01075/50.47, allocations: 1.938 MB / 12.56 GB, free: 8.207 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05644/50.52, allocations: 29.53 MB / 12.59 GB, free: 2.145 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02479/50.55, allocations: 1.328 MB / 12.59 GB, free: 1.012 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005694/50.55, allocations: 0.7674 MB / 12.59 GB, free: 312 kB / 1.276 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 (758): * Single equations (assignments): 744 * 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,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01583/50.57, allocations: 3.368 MB / 12.59 GB, free: 14.27 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006323/50.58, allocations: 1.288 MB / 12.6 GB, free: 13.68 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.426/52, allocations: 47.15 MB / 12.64 GB, free: 153.3 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001779/52, allocations: 74.97 kB / 12.64 GB, free: 153.3 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/52, allocations: 5.453 kB / 12.64 GB, free: 153.3 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1722/52.17, allocations: 41.56 MB / 12.68 GB, free: 152.7 MB / 1.292 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.1252/52.3, allocations: 48.58 MB / 12.73 GB, free: 146.5 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001057/52.3, allocations: 6.062 kB / 12.73 GB, free: 146.5 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008842/52.31, allocations: 1.346 MB / 12.73 GB, free: 146.5 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1783/52.49, allocations: 42.03 MB / 12.77 GB, free: 146.4 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0024/52.49, allocations: 205.7 kB / 12.77 GB, free: 146.4 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02279/52.51, allocations: 13.76 MB / 12.79 GB, free: 141.2 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.709e-05/52.51, allocations: 17.2 kB / 12.79 GB, free: 141.2 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1402/52.65, allocations: 45.03 MB / 12.83 GB, free: 137.7 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0158/52.67, allocations: 3.09 MB / 12.83 GB, free: 137.7 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006901/52.67, allocations: 135.6 kB / 12.83 GB, free: 137.7 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01911/52.69, allocations: 1.053 MB / 12.83 GB, free: 137.7 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002935/52.7, allocations: 474.4 kB / 12.83 GB, free: 137.6 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00145/52.7, allocations: 306.5 kB / 12.83 GB, free: 137.6 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.02661/52.73, allocations: 9.744 MB / 12.84 GB, free: 137.3 MB / 1.292 GB Notification: Performance of sort global known variables: time 9.11e-07/52.73, allocations: 0 / 12.84 GB, free: 137.3 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.05959/52.78, allocations: 7.193 MB / 12.85 GB, free: 137.3 MB / 1.292 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 (536): * Single equations (assignments): 514 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * 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 {8 74,30 38,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.01351/52.8, allocations: 5.557 MB / 12.86 GB, free: 135.3 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.08525/52.88, allocations: 34.57 MB / 12.89 GB, free: 134.6 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.952e-05/52.88, allocations: 7.922 kB / 12.89 GB, free: 134.6 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.02194/52.91, allocations: 9.553 MB / 12.9 GB, free: 134.4 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03958/52.95, allocations: 6.811 MB / 12.91 GB, free: 134.4 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06925/53.01, allocations: 32.23 MB / 12.94 GB, free: 118.8 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01329/53.03, allocations: 7.649 MB / 12.95 GB, free: 114.1 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.02458/53.05, allocations: 4.086 MB / 12.95 GB, free: 111.2 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006296/53.06, allocations: 1.092 MB / 12.95 GB, free: 110.3 MB / 1.292 GB Notification: Performance of SimCode: time 2.905e-06/53.06, allocations: 0 / 12.95 GB, free: 110.3 MB / 1.292 GB Notification: Performance of Templates: time 2.616/55.67, allocations: 420.4 MB / 13.36 GB, free: 124.9 MB / 1.292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)