Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7085/0.7085, allocations: 127.4 MB / 134.9 MB, free: 3.754 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.001118/0.001118, allocations: 184.8 kB / 164.7 MB, free: 6.539 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.634/1.634, allocations: 205.2 MB / 399.5 MB, free: 5.875 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.0009224/0.0009223, allocations: 82.12 kB / 476.7 MB, free: 8.602 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.665e-05/1.665e-05, allocations: 4 kB / 0.5466 GB, free: 60.48 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1537, allocations: 76.75 MB / 0.6215 GB, free: 15.66 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.323/1.477, allocations: 429.9 MB / 1.041 GB, free: 91.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/1.477, allocations: 102.8 kB / 1.041 GB, free: 91.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 42.28/43.76, allocations: 10.06 GB / 11.1 GB, free: 27.14 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.693e-06/43.76, allocations: 0 / 11.1 GB, free: 27.14 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.003296/43.76, allocations: 343.7 kB / 11.1 GB, free: 26.81 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.04541/43.81, allocations: 10.95 MB / 11.11 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/43.81, allocations: 12.03 kB / 11.11 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01583/43.82, allocations: 2.215 MB / 11.11 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.019/44.84, allocations: 18.79 MB / 11.13 GB, free: 38.21 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005859/44.84, allocations: 189.5 kB / 11.13 GB, free: 38.21 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003413/44.85, allocations: 429.1 kB / 11.13 GB, free: 38.21 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01722/44.86, allocations: 6.759 MB / 11.14 GB, free: 38.19 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02012/44.88, allocations: 7.363 MB / 11.15 GB, free: 37.15 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001554/44.88, allocations: 18.34 kB / 11.15 GB, free: 37.15 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008814/44.88, allocations: 13.53 kB / 11.15 GB, free: 37.15 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001596/44.88, allocations: 152.9 kB / 11.15 GB, free: 37.15 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.08982/44.97, allocations: 48.74 MB / 11.2 GB, free: 26.82 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009601/44.98, allocations: 5.332 MB / 11.2 GB, free: 26.67 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006544/44.99, allocations: 3.876 MB / 11.2 GB, free: 26.61 MB / 0.9323 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.04252/45.03, allocations: 12.49 MB / 11.22 GB, free: 23.79 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007327/45.04, allocations: 3.137 MB / 11.22 GB, free: 23.69 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01417/45.05, allocations: 2.36 MB / 11.22 GB, free: 23.59 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=322): time 2.918e-05/45.05, allocations: 0.8438 kB / 11.22 GB, free: 23.59 MB / 0.9323 GB Notification: Performance of matching and sorting (n=324): time 0.1129/45.17, allocations: 26.25 MB / 11.25 GB, free: 36.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.805e-05/45.17, allocations: 89.16 kB / 11.25 GB, free: 36.83 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03443/45.2, allocations: 11.21 MB / 11.26 GB, free: 36.16 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002603/45.2, allocations: 39.08 kB / 11.26 GB, free: 36.13 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01163/45.22, allocations: 6.268 MB / 11.26 GB, free: 34.98 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002701/45.22, allocations: 1.07 MB / 11.27 GB, free: 34.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001776/45.22, allocations: 1.562 kB / 11.27 GB, free: 34.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0006808/45.22, allocations: 0.5351 MB / 11.27 GB, free: 33.95 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006652/45.23, allocations: 3.409 MB / 11.27 GB, free: 33.93 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009525/45.24, allocations: 6.148 MB / 11.28 GB, free: 30.62 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/45.25, allocations: 4.256 MB / 11.28 GB, free: 30.54 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001497/45.25, allocations: 19.25 kB / 11.28 GB, free: 30.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=768) (initialization): time 0.07763/45.33, allocations: 19.66 MB / 11.3 GB, free: 29.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.01734/45.34, allocations: 38.9 MB / 11.34 GB, free: 21.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003154/45.34, allocations: 60.75 kB / 11.34 GB, free: 21.57 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00598/45.35, allocations: 2.556 MB / 11.34 GB, free: 21.52 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01041/45.36, allocations: 1.531 MB / 11.34 GB, free: 21.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01706/45.38, allocations: 12.05 MB / 11.35 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01689/45.39, allocations: 1.093 MB / 11.35 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002451/45.4, allocations: 431.1 kB / 11.35 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/45.4, allocations: 8.125 kB / 11.35 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02096/45.42, allocations: 8.377 MB / 11.36 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002612/45.42, allocations: 59.69 kB / 11.36 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003764/45.42, allocations: 1.454 MB / 11.36 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006361/45.43, allocations: 1.377 MB / 11.37 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02113/45.45, allocations: 12.47 MB / 11.38 GB, free: 11.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01341/45.46, allocations: 0.7017 MB / 11.38 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002001/45.46, allocations: 369.6 kB / 11.38 GB, free: 11.16 MB / 0.9792 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: 271 * 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 (637): * Single equations (assignments): 622 * 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,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.003863/45.47, allocations: 316.2 kB / 11.38 GB, free: 11.02 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004375/45.47, allocations: 1.132 MB / 11.38 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05676/45.53, allocations: 15.19 MB / 11.39 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001031/45.53, allocations: 39.86 kB / 11.39 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.23e-05/45.53, allocations: 0 / 11.39 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05488/45.59, allocations: 13.44 MB / 11.41 GB, free: 9.586 MB / 0.9792 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.08516/45.67, allocations: 24.3 MB / 11.43 GB, free: 24.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.434e-05/45.67, allocations: 2.25 kB / 11.43 GB, free: 24.15 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004637/45.68, allocations: 0.7506 MB / 11.43 GB, free: 24.15 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004193/45.68, allocations: 2.356 MB / 11.43 GB, free: 24.1 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001027/45.68, allocations: 72.86 kB / 11.43 GB, free: 24.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08834/45.77, allocations: 36.02 MB / 11.47 GB, free: 16.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/45.77, allocations: 0 / 11.47 GB, free: 16.16 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05713/45.83, allocations: 18.64 MB / 11.49 GB, free: 11.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01088/45.84, allocations: 2.203 MB / 11.49 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005234/45.84, allocations: 4 kB / 11.49 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01353/45.86, allocations: 0.9988 MB / 11.49 GB, free: 9.391 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001923/45.86, allocations: 291.7 kB / 11.49 GB, free: 9.262 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001165/45.86, allocations: 183.4 kB / 11.49 GB, free: 9.152 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.02633/45.89, allocations: 8.372 MB / 11.5 GB, free: 4.691 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.846e-06/45.89, allocations: 0 / 11.5 GB, free: 4.691 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.05659/45.94, allocations: 5.848 MB / 11.51 GB, free: 16 kB / 0.9948 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 (268): * Single equations (assignments): 246 * 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: 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,7 78} Notification: Performance of Backend phase and start with SimCode phase: time 0.9611/46.9, allocations: 4.82 MB / 11.51 GB, free: 110.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0328/46.94, allocations: 13.08 MB / 11.52 GB, free: 110.3 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/46.94, allocations: 2.312 kB / 11.52 GB, free: 110.3 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01097/46.95, allocations: 4.166 MB / 11.53 GB, free: 110.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03352/46.98, allocations: 5.742 MB / 11.53 GB, free: 110.1 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06645/47.05, allocations: 22.43 MB / 11.55 GB, free: 106.4 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008917/47.06, allocations: 6.628 MB / 11.56 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0297/47.09, allocations: 5.867 MB / 11.57 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002586/47.09, allocations: 0.5589 MB / 11.57 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of SimCode: time 9.92e-07/47.09, allocations: 0 / 11.57 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of Templates: time 0.4012/47.49, allocations: 273 MB / 11.83 GB, free: 10.96 MB / 0.9948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)