Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.576/1.576, allocations: 289.9 MB / 297.4 MB, free: 6.422 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: 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.76/1.76, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0009001/0.0009002, allocations: 84.19 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.112e-05/2.096e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7287/0.7287, allocations: 116.3 MB / 0.9732 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.192/1.921, allocations: 466.4 MB / 1.429 GB, free: 86.47 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/1.921, allocations: 91.42 kB / 1.429 GB, free: 86.43 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 42.12/44.04, allocations: 10.46 GB / 11.88 GB, free: 74.63 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.854e-06/44.04, allocations: 0 / 11.88 GB, free: 74.63 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.002792/44.04, allocations: 353.2 kB / 11.88 GB, free: 74.57 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.04833/44.09, allocations: 11.06 MB / 11.89 GB, free: 69.73 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/44.09, allocations: 14.72 kB / 11.89 GB, free: 69.73 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01495/44.1, allocations: 2.071 MB / 11.9 GB, free: 68.95 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05356/44.16, allocations: 18.26 MB / 11.91 GB, free: 66.84 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004784/44.16, allocations: 194.5 kB / 11.92 GB, free: 66.84 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003365/44.16, allocations: 432.5 kB / 11.92 GB, free: 66.84 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01447/44.17, allocations: 6.892 MB / 11.92 GB, free: 66.81 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01983/44.19, allocations: 7.453 MB / 11.93 GB, free: 65.76 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001244/44.19, allocations: 16.47 kB / 11.93 GB, free: 65.76 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006421/44.2, allocations: 18.12 kB / 11.93 GB, free: 65.76 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001383/44.2, allocations: 153.3 kB / 11.93 GB, free: 65.76 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.0753/44.27, allocations: 48.73 MB / 11.98 GB, free: 39.12 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009788/44.28, allocations: 5.453 MB / 11.98 GB, free: 38.98 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006531/44.29, allocations: 3.959 MB / 11.99 GB, free: 38.91 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 0.03789/44.33, allocations: 13.47 MB / 12 GB, free: 35.78 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008541/44.33, allocations: 3.141 MB / 12 GB, free: 35.68 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01901/44.35, allocations: 2.287 MB / 12 GB, free: 35.4 MB / 1.198 GB Notification: Performance of pre-optimization done (n=326): time 4.099e-05/44.35, allocations: 0 / 12 GB, free: 35.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=328): time 0.05337/44.41, allocations: 15.72 MB / 12.02 GB, free: 32.54 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/44.41, allocations: 87.2 kB / 12.02 GB, free: 32.47 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02937/44.44, allocations: 11.32 MB / 12.03 GB, free: 31.74 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.001914/44.44, allocations: 40.83 kB / 12.03 GB, free: 31.71 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.008927/44.45, allocations: 6.195 MB / 12.04 GB, free: 30.23 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002165/44.45, allocations: 1.082 MB / 12.04 GB, free: 29.51 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001476/44.45, allocations: 2.156 kB / 12.04 GB, free: 29.51 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0005926/44.45, allocations: 0.5335 MB / 12.04 GB, free: 29.19 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005738/44.46, allocations: 3.031 MB / 12.04 GB, free: 29.18 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007497/44.46, allocations: 5.796 MB / 12.05 GB, free: 25.76 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008899/44.47, allocations: 3.984 MB / 12.05 GB, free: 25.6 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.961e-05/44.47, allocations: 16.78 kB / 12.05 GB, free: 25.6 MB / 1.198 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.0271/44.5, allocations: 10.76 MB / 12.06 GB, free: 24.68 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.01295/44.51, allocations: 38.35 MB / 12.1 GB, free: 16.64 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001904/44.51, allocations: 58.62 kB / 12.1 GB, free: 16.64 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0032/44.52, allocations: 1.354 MB / 12.1 GB, free: 16.55 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008412/44.53, allocations: 1.397 MB / 12.1 GB, free: 16.55 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/44.54, allocations: 9.707 MB / 12.11 GB, free: 10.95 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01463/44.55, allocations: 0.7474 MB / 12.11 GB, free: 10.84 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002071/44.55, allocations: 415.6 kB / 12.11 GB, free: 10.84 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/44.55, allocations: 2.75 kB / 12.11 GB, free: 10.84 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02057/44.57, allocations: 8.519 MB / 12.12 GB, free: 10.28 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002101/44.57, allocations: 57.03 kB / 12.12 GB, free: 10.28 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003904/44.58, allocations: 1.47 MB / 12.12 GB, free: 10.18 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00676/44.58, allocations: 1.385 MB / 12.12 GB, free: 10.09 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02047/44.6, allocations: 12.54 MB / 12.14 GB, free: 5.57 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01288/44.62, allocations: 0.7122 MB / 12.14 GB, free: 5.477 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001777/44.62, allocations: 375.4 kB / 12.14 GB, free: 5.477 MB / 1.229 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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: 269 * 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 (640): * Single equations (assignments): 625 * 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: 5 * 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: 5 {1 4,1 2,1 2,1 2,4 81} Notification: Performance of prepare postOptimizeDAE: time 0.002334/44.62, allocations: 311.1 kB / 12.14 GB, free: 5.242 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003598/44.63, allocations: 1.14 MB / 12.14 GB, free: 4.609 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01522/44.64, allocations: 7.637 MB / 12.15 GB, free: 4.031 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-05/44.64, allocations: 40.41 kB / 12.15 GB, free: 4.031 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/44.64, allocations: 0 / 12.15 GB, free: 4.031 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008665/44.65, allocations: 5.761 MB / 12.15 GB, free: 3.492 MB / 1.229 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.03508/44.68, allocations: 16.19 MB / 12.17 GB, free: 14.77 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/44.68, allocations: 0 / 12.17 GB, free: 14.77 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003245/44.69, allocations: 0.6029 MB / 12.17 GB, free: 14.72 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002315/44.69, allocations: 1.133 MB / 12.17 GB, free: 14.42 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002803/44.69, allocations: 58.72 kB / 12.17 GB, free: 14.41 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007282/44.7, allocations: 8.1 MB / 12.18 GB, free: 7.883 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/44.7, allocations: 3.562 kB / 12.18 GB, free: 7.883 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01753/44.72, allocations: 10.49 MB / 12.19 GB, free: 3.367 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008405/44.72, allocations: 2.152 MB / 12.19 GB, free: 2.16 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00468/44.73, allocations: 6.75 kB / 12.19 GB, free: 2.16 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01037/44.74, allocations: 0.6128 MB / 12.19 GB, free: 2.07 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007126/44.74, allocations: 236.5 kB / 12.19 GB, free: 2.039 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006761/44.74, allocations: 157.9 kB / 12.19 GB, free: 2.016 MB / 1.245 GB Notification: Performance of sorting global known variables: time 1.019/45.76, allocations: 9.81 MB / 12.2 GB, free: 122.7 MB / 1.245 GB Notification: Performance of sort global known variables: time 5.61e-07/45.76, allocations: 0 / 12.2 GB, free: 122.7 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.04134/45.8, allocations: 5.166 MB / 12.21 GB, free: 122.7 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 (274): * Single equations (assignments): 251 * 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: 5 * 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: 5 {1 2,1 4,1 2,1 2,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.009229/45.81, allocations: 4.722 MB / 12.21 GB, free: 120.9 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.02311/45.83, allocations: 11.95 MB / 12.22 GB, free: 120.5 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/45.83, allocations: 0.9062 kB / 12.22 GB, free: 120.5 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.005029/45.84, allocations: 2.666 MB / 12.22 GB, free: 120.5 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03584/45.87, allocations: 5.829 MB / 12.23 GB, free: 120.4 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03989/45.91, allocations: 16.55 MB / 12.25 GB, free: 116.6 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01276/45.93, allocations: 6.691 MB / 12.25 GB, free: 115.7 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.02875/45.96, allocations: 5.852 MB / 12.26 GB, free: 115.6 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002408/45.96, allocations: 0.5692 MB / 12.26 GB, free: 115.6 MB / 1.245 GB Notification: Performance of SimCode: time 1.182e-06/45.96, allocations: 0 / 12.26 GB, free: 115.6 MB / 1.245 GB Notification: Performance of Templates: time 0.369/46.33, allocations: 234.4 MB / 12.49 GB, free: 99.14 MB / 1.245 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)