Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.579/1.579, allocations: 289.9 MB / 297.4 MB, free: 6.398 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.001051/0.001051, allocations: 184.8 kB / 366.7 MB, free: 1.688 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.661/1.661, allocations: 205.2 MB / 0.626 GB, free: 7.195 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009246/0.0009248, allocations: 89.41 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.574e-05/2.575e-05, allocations: 4 kB / 0.8597 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7381/0.7382, allocations: 116.3 MB / 0.9732 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.162/1.9, allocations: 465.8 MB / 1.428 GB, free: 87.21 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/1.9, allocations: 96.84 kB / 1.428 GB, free: 87.16 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 40.23/42.13, allocations: 10.22 GB / 11.65 GB, free: 73.67 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.585e-06/42.13, allocations: 0 / 11.65 GB, free: 73.67 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.002784/42.13, allocations: 350 kB / 11.65 GB, free: 73.59 MB / 1.198 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.04197/42.17, allocations: 11.14 MB / 11.66 GB, free: 68.54 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/42.17, allocations: 9.406 kB / 11.66 GB, free: 68.54 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01429/42.18, allocations: 2.231 MB / 11.66 GB, free: 67.7 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05593/42.24, allocations: 18.61 MB / 11.68 GB, free: 65.35 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004681/42.24, allocations: 202.4 kB / 11.68 GB, free: 65.34 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003639/42.24, allocations: 432.4 kB / 11.68 GB, free: 65.34 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0257/42.27, allocations: 17.9 MB / 11.7 GB, free: 65.31 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02771/42.3, allocations: 12.21 MB / 11.71 GB, free: 64.69 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001403/42.3, allocations: 10.97 kB / 11.71 GB, free: 64.69 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001183/42.3, allocations: 7.25 kB / 11.71 GB, free: 64.69 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/42.3, allocations: 143.9 kB / 11.71 GB, free: 64.69 MB / 1.198 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.1079/42.41, allocations: 69.12 MB / 11.78 GB, free: 18.84 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01292/42.42, allocations: 10.23 MB / 11.79 GB, free: 9.719 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01121/42.43, allocations: 8.777 MB / 11.8 GB, free: 1.852 MB / 1.198 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 1.191/43.62, allocations: 29.41 MB / 11.83 GB, free: 103.1 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01604/43.64, allocations: 7.994 MB / 11.83 GB, free: 103 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0456/43.69, allocations: 15.11 MB / 11.85 GB, free: 103 MB / 1.214 GB Notification: Performance of pre-optimization done (n=393): time 6.666e-05/43.69, allocations: 0 / 11.85 GB, free: 103 MB / 1.214 GB Notification: Performance of matching and sorting (n=395): time 0.1153/43.8, allocations: 37.18 MB / 11.89 GB, free: 101.1 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/43.8, allocations: 92.38 kB / 11.89 GB, free: 101.1 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0258/43.83, allocations: 11.13 MB / 11.9 GB, free: 100.4 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.00355/43.83, allocations: 40.67 kB / 11.9 GB, free: 100.4 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.00845/43.84, allocations: 5.98 MB / 11.9 GB, free: 99.39 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.004738/43.84, allocations: 1.287 MB / 11.9 GB, free: 98.72 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00152/43.84, allocations: 1.812 kB / 11.9 GB, free: 98.72 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0006319/43.85, allocations: 0.5392 MB / 11.9 GB, free: 98.4 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01119/43.86, allocations: 6.909 MB / 11.91 GB, free: 98.39 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01255/43.87, allocations: 9.335 MB / 11.92 GB, free: 95.54 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01504/43.88, allocations: 7.961 MB / 11.93 GB, free: 95.42 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.082e-05/43.88, allocations: 16.41 kB / 11.93 GB, free: 95.42 MB / 1.214 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.05685/43.94, allocations: 22.95 MB / 11.95 GB, free: 94.51 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.00641/43.95, allocations: 29.52 MB / 11.98 GB, free: 63.83 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002191/43.95, allocations: 47 kB / 11.98 GB, free: 63.83 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7349/44.68, allocations: 167.2 MB / 12.14 GB, free: 62.47 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007977/44.69, allocations: 1.291 MB / 12.14 GB, free: 62.46 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03949/44.73, allocations: 25.49 MB / 12.17 GB, free: 55.74 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02033/44.75, allocations: 0.8164 MB / 12.17 GB, free: 55.21 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004363/44.76, allocations: 0.7276 MB / 12.17 GB, free: 54.79 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/44.76, allocations: 4 kB / 12.17 GB, free: 54.79 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04307/44.8, allocations: 20.88 MB / 12.19 GB, free: 44.99 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002276/44.8, allocations: 44 kB / 12.19 GB, free: 44.95 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664/46.46, allocations: 167.2 MB / 12.35 GB, free: 127.2 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006502/46.47, allocations: 1.28 MB / 12.35 GB, free: 127.2 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05035/46.52, allocations: 28.32 MB / 12.38 GB, free: 124.6 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01715/46.54, allocations: 0.7897 MB / 12.38 GB, free: 124.6 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003408/46.54, allocations: 0.6926 MB / 12.38 GB, free: 124.6 MB / 1.245 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 548 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 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: 2 {40 56,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.003781/46.54, allocations: 281 kB / 12.38 GB, free: 124.5 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004518/46.55, allocations: 1.138 MB / 12.39 GB, free: 124.5 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0358/46.58, allocations: 17.3 MB / 12.4 GB, free: 124.1 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.907e-05/46.58, allocations: 52.28 kB / 12.4 GB, free: 124.1 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/46.58, allocations: 0.875 kB / 12.4 GB, free: 124.1 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01635/46.6, allocations: 12.51 MB / 12.41 GB, free: 123.6 MB / 1.245 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 postOpt removeSimpleEquations (simulation): time 0.1197/46.72, allocations: 45.4 MB / 12.46 GB, free: 117.6 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.852e-05/46.72, allocations: 2.469 kB / 12.46 GB, free: 117.6 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00387/46.72, allocations: 0.693 MB / 12.46 GB, free: 117.6 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.21/46.94, allocations: 47.68 MB / 12.51 GB, free: 117.5 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001587/46.94, allocations: 71.88 kB / 12.51 GB, free: 117.5 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01936/46.96, allocations: 13.18 MB / 12.52 GB, free: 113.5 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.264e-05/46.96, allocations: 3.062 kB / 12.52 GB, free: 113.5 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1479/47.1, allocations: 41.06 MB / 12.56 GB, free: 112.3 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01079/47.11, allocations: 2.55 MB / 12.56 GB, free: 111.6 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005784/47.12, allocations: 4.375 kB / 12.56 GB, free: 111.6 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01402/47.13, allocations: 0.6098 MB / 12.56 GB, free: 111.5 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002099/47.14, allocations: 299.2 kB / 12.56 GB, free: 111.5 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001637/47.14, allocations: 197 kB / 12.56 GB, free: 111.5 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.01974/47.16, allocations: 8.347 MB / 12.57 GB, free: 111.2 MB / 1.245 GB Notification: Performance of sort global known variables: time 5.01e-07/47.16, allocations: 0 / 12.57 GB, free: 111.2 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.04418/47.2, allocations: 5.717 MB / 12.58 GB, free: 111.2 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (324): * Single equations (assignments): 304 * 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: 2 * 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: 2 {38 56,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.008939/47.21, allocations: 4.722 MB / 12.58 GB, free: 108.1 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.06136/47.27, allocations: 28.68 MB / 12.61 GB, free: 93.73 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/47.27, allocations: 2.438 kB / 12.61 GB, free: 93.73 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.01476/47.29, allocations: 7.218 MB / 12.62 GB, free: 90.11 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03302/47.32, allocations: 6.112 MB / 12.62 GB, free: 86.69 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04291/47.36, allocations: 18.38 MB / 12.64 GB, free: 72.86 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007999/47.37, allocations: 6.784 MB / 12.65 GB, free: 68.7 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.02492/47.4, allocations: 5.739 MB / 12.65 GB, free: 64.99 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002117/47.4, allocations: 0.6028 MB / 12.65 GB, free: 64.49 MB / 1.245 GB Notification: Performance of SimCode: time 7.21e-07/47.4, allocations: 5.969 kB / 12.65 GB, free: 64.48 MB / 1.245 GB Notification: Performance of Templates: time 2.154/49.55, allocations: 368.7 MB / 13.01 GB, free: 85.55 MB / 1.245 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)