Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7441/0.7441, allocations: 127.4 MB / 134.9 MB, free: 3.477 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 185 kB / 164.6 MB, free: 11.63 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.488/1.488, allocations: 205.2 MB / 399.5 MB, free: 13.51 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.0008024/0.0008023, allocations: 105.6 kB / 476.7 MB, free: 1.461 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.618e-05/1.638e-05, allocations: 5.719 kB / 0.5466 GB, free: 95.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1309, allocations: 76.75 MB / 0.6215 GB, free: 43.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.301/1.432, allocations: 428.9 MB / 1.04 GB, free: 180.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/1.432, allocations: 101 kB / 1.04 GB, free: 180.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 42.16/43.59, allocations: 9.837 GB / 10.88 GB, free: 78.48 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.994e-06/43.59, allocations: 3.344 kB / 10.88 GB, free: 78.48 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.003602/43.6, allocations: 347.1 kB / 10.88 GB, free: 78.41 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1489 * Number of variables: 1489 Notification: Performance of Generate backend data structure: time 0.05101/43.65, allocations: 11.03 MB / 10.89 GB, free: 73.44 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/43.65, allocations: 10.03 kB / 10.89 GB, free: 73.44 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01785/43.67, allocations: 2.37 MB / 10.89 GB, free: 72.61 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06868/43.74, allocations: 19.15 MB / 10.91 GB, free: 70.23 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006269/43.74, allocations: 190.2 kB / 10.91 GB, free: 70.23 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004782/43.74, allocations: 430 kB / 10.91 GB, free: 70.23 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03208/43.77, allocations: 17.75 MB / 10.93 GB, free: 70.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03483/43.81, allocations: 12.14 MB / 10.94 GB, free: 69.58 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004109/43.81, allocations: 7.656 kB / 10.94 GB, free: 69.57 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003848/43.81, allocations: 6.906 kB / 10.94 GB, free: 69.57 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001767/43.81, allocations: 145 kB / 10.94 GB, free: 69.57 MB / 0.9167 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.1211/43.93, allocations: 69.14 MB / 11.01 GB, free: 17.71 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0151/43.95, allocations: 10.13 MB / 11.02 GB, free: 8.664 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01076/43.96, allocations: 8.686 MB / 11.03 GB, free: 0.8633 MB / 0.9167 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.922/44.88, allocations: 27.39 MB / 11.05 GB, free: 83.06 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01475/44.9, allocations: 7.979 MB / 11.06 GB, free: 82.96 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04679/44.94, allocations: 15.19 MB / 11.07 GB, free: 82.96 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=389): time 6.319e-05/44.94, allocations: 0 / 11.07 GB, free: 82.96 MB / 0.9167 GB Notification: Performance of matching and sorting (n=391): time 0.1566/45.1, allocations: 47.69 MB / 11.12 GB, free: 80.95 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/45.1, allocations: 95.66 kB / 11.12 GB, free: 80.89 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02842/45.13, allocations: 11.03 MB / 11.13 GB, free: 80.23 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.003497/45.13, allocations: 39.77 kB / 11.13 GB, free: 80.2 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.008477/45.14, allocations: 6.064 MB / 11.14 GB, free: 79.22 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004077/45.14, allocations: 1.276 MB / 11.14 GB, free: 78.55 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002844/45.15, allocations: 0 / 11.14 GB, free: 78.55 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0005528/45.15, allocations: 0.5455 MB / 11.14 GB, free: 78.23 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01288/45.16, allocations: 7.28 MB / 11.15 GB, free: 78.22 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01704/45.18, allocations: 9.685 MB / 11.16 GB, free: 75.39 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01774/45.2, allocations: 8.237 MB / 11.16 GB, free: 75.27 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001622/45.2, allocations: 15.53 kB / 11.16 GB, free: 75.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=773) (initialization): time 0.09955/45.3, allocations: 31.86 MB / 11.2 GB, free: 74.36 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00712/45.3, allocations: 30.01 MB / 11.22 GB, free: 43.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002755/45.3, allocations: 47.16 kB / 11.22 GB, free: 43.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597/46.9, allocations: 168.3 MB / 11.39 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00881/46.91, allocations: 1.426 MB / 11.39 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04704/46.96, allocations: 27.88 MB / 11.42 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01941/46.98, allocations: 1.168 MB / 11.42 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004225/46.98, allocations: 0.7437 MB / 11.42 GB, free: 109.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/46.98, allocations: 2.219 kB / 11.42 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05015/47.03, allocations: 20.65 MB / 11.44 GB, free: 109.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002851/47.03, allocations: 46.59 kB / 11.44 GB, free: 109.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7492/47.78, allocations: 167.1 MB / 11.6 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006648/47.79, allocations: 1.267 MB / 11.6 GB, free: 104 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06526/47.85, allocations: 28.14 MB / 11.63 GB, free: 83.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01836/47.87, allocations: 0.7751 MB / 11.63 GB, free: 82.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004088/47.87, allocations: 0.6887 MB / 11.63 GB, free: 82.3 MB / 0.948 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 pumpCoo.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 pmpSouth.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: 209 * 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 (557): * Single equations (assignments): 545 * 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 {37 59,6 79} Notification: Performance of prepare postOptimizeDAE: time 0.00678/47.88, allocations: 278.9 kB / 11.63 GB, free: 82.15 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006535/47.89, allocations: 1.133 MB / 11.63 GB, free: 81.63 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08084/47.97, allocations: 24.85 MB / 11.66 GB, free: 63.94 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000164/47.97, allocations: 57.94 kB / 11.66 GB, free: 63.88 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.45e-05/47.97, allocations: 4 kB / 11.66 GB, free: 63.88 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06025/48.03, allocations: 20.18 MB / 11.68 GB, free: 49.5 MB / 0.948 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.1015/48.13, allocations: 41.44 MB / 11.72 GB, free: 20.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.973e-05/48.13, allocations: 3.984 kB / 11.72 GB, free: 20.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004792/48.14, allocations: 0.8433 MB / 11.72 GB, free: 19.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056/49.19, allocations: 48.84 MB / 11.77 GB, free: 106.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001737/49.19, allocations: 82.3 kB / 11.77 GB, free: 106.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1077/49.3, allocations: 40.88 MB / 11.81 GB, free: 100.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/49.3, allocations: 0 / 11.81 GB, free: 100.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07927/49.38, allocations: 29.34 MB / 11.84 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01166/49.39, allocations: 2.593 MB / 11.84 GB, free: 100 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006483/49.4, allocations: 8.547 kB / 11.84 GB, free: 100 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01623/49.42, allocations: 0.9955 MB / 11.84 GB, free: 99.99 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0028/49.42, allocations: 360.9 kB / 11.84 GB, free: 99.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001907/49.42, allocations: 221.8 kB / 11.84 GB, free: 99.98 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.02342/49.44, allocations: 8.258 MB / 11.85 GB, free: 99.63 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.12e-07/49.44, allocations: 3.281 kB / 11.85 GB, free: 99.63 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.05256/49.5, allocations: 6.148 MB / 11.85 GB, free: 99.63 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (318): * Single equations (assignments): 299 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.01044/49.51, allocations: 4.821 MB / 11.86 GB, free: 97.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.07153/49.58, allocations: 29.96 MB / 11.89 GB, free: 97.18 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/49.58, allocations: 0 / 11.89 GB, free: 97.18 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.02023/49.6, allocations: 8.525 MB / 11.9 GB, free: 96.91 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03354/49.63, allocations: 6.029 MB / 11.9 GB, free: 96.84 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06917/49.7, allocations: 24.25 MB / 11.93 GB, free: 93.06 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01105/49.71, allocations: 6.728 MB / 11.93 GB, free: 92.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02881/49.74, allocations: 5.748 MB / 11.94 GB, free: 91.74 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002906/49.74, allocations: 0.5977 MB / 11.94 GB, free: 91.73 MB / 0.948 GB Notification: Performance of SimCode: time 1.162e-06/49.74, allocations: 0 / 11.94 GB, free: 91.73 MB / 0.948 GB Notification: Performance of Templates: time 1.403/51.15, allocations: 407.5 MB / 12.34 GB, free: 57.67 MB / 0.9636 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)