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.7139/0.7139, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 176 kB / 169.7 MB, free: 1.738 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.579/1.579, allocations: 205.1 MB / 404.5 MB, free: 1.586 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.001042/0.001042, allocations: 101.8 kB / 481.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.99e-05/3.015e-05, allocations: 4 kB / 0.5532 GB, free: 54.85 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1499, allocations: 76.77 MB / 0.6282 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.377/1.527, allocations: 430.3 MB / 1.048 GB, free: 85.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/1.527, allocations: 94.95 kB / 1.048 GB, free: 85.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 46.32/47.84, allocations: 10.11 GB / 11.16 GB, free: 65.99 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.876e-06/47.84, allocations: 0 / 11.16 GB, free: 65.99 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.004106/47.85, allocations: 350.9 kB / 11.16 GB, free: 65.92 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.05664/47.9, allocations: 10.94 MB / 11.17 GB, free: 61 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 7.368e-05/47.9, allocations: 8.125 kB / 11.17 GB, free: 61 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01957/47.92, allocations: 2.225 MB / 11.17 GB, free: 60.18 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07361/48, allocations: 18.8 MB / 11.19 GB, free: 57.82 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001022/48, allocations: 0.5201 MB / 11.19 GB, free: 57.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004141/48, allocations: 0.6992 MB / 11.19 GB, free: 57.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03782/48.04, allocations: 10.15 MB / 11.2 GB, free: 56.62 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005192/48.04, allocations: 18.56 kB / 11.2 GB, free: 56.61 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003358/48.04, allocations: 252.5 kB / 11.2 GB, free: 56.61 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002101/48.04, allocations: 152.8 kB / 11.2 GB, free: 56.61 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02824/48.07, allocations: 8.435 MB / 11.21 GB, free: 56.43 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.1153/48.19, allocations: 49.66 MB / 11.26 GB, free: 28.94 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01801/48.21, allocations: 6.515 MB / 11.26 GB, free: 27.55 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006341/48.21, allocations: 3.52 MB / 11.27 GB, free: 26.37 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.04109/48.25, allocations: 12.89 MB / 11.28 GB, free: 17.69 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01597/48.27, allocations: 5.193 MB / 11.28 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0146/48.28, allocations: 2.473 MB / 11.29 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=323): time 2.707e-05/48.28, allocations: 0 / 11.29 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of matching and sorting (n=509): time 1.29/49.57, allocations: 64.14 MB / 11.35 GB, free: 87.64 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.981e-05/49.57, allocations: 105.8 kB / 11.35 GB, free: 87.58 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03333/49.61, allocations: 11.92 MB / 11.36 GB, free: 86.85 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.002871/49.61, allocations: 180.4 kB / 11.36 GB, free: 86.82 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.01065/49.62, allocations: 6.285 MB / 11.37 GB, free: 85.83 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.003794/49.62, allocations: 1.717 MB / 11.37 GB, free: 84.96 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/49.63, allocations: 144.9 kB / 11.37 GB, free: 84.96 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0006496/49.63, allocations: 0.5912 MB / 11.37 GB, free: 84.64 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008801/49.64, allocations: 4.185 MB / 11.37 GB, free: 84.62 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01487/49.65, allocations: 7.083 MB / 11.38 GB, free: 81.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01299/49.66, allocations: 5.013 MB / 11.38 GB, free: 81.14 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001523/49.66, allocations: 16.16 kB / 11.38 GB, free: 81.14 MB / 0.9323 GB Notification: Performance of matching and sorting (n=952) (initialization): time 0.08011/49.74, allocations: 21.91 MB / 11.41 GB, free: 80.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.01867/49.76, allocations: 39.07 MB / 11.44 GB, free: 39.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005191/49.76, allocations: 62.41 kB / 11.44 GB, free: 39.96 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01474/49.78, allocations: 4.845 MB / 11.45 GB, free: 39.89 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0118/49.79, allocations: 1.792 MB / 11.45 GB, free: 39.89 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04307/49.83, allocations: 26.51 MB / 11.48 GB, free: 32.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02243/49.86, allocations: 1.354 MB / 11.48 GB, free: 32.34 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00429/49.86, allocations: 0.4928 MB / 11.48 GB, free: 32.34 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/49.86, allocations: 2.062 kB / 11.48 GB, free: 32.34 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05564/49.92, allocations: 13.91 MB / 11.49 GB, free: 31.84 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004409/49.92, allocations: 60.5 kB / 11.49 GB, free: 31.84 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02176/49.94, allocations: 4.088 MB / 11.5 GB, free: 31.76 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01634/49.95, allocations: 1.636 MB / 11.5 GB, free: 31.76 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08117/50.04, allocations: 28.03 MB / 11.53 GB, free: 25.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02414/50.06, allocations: 0.9642 MB / 11.53 GB, free: 25.54 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003305/50.06, allocations: 440.2 kB / 11.53 GB, free: 25.54 MB / 0.9323 GB 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 (737): * Single equations (assignments): 721 * 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: 6 * 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: 1 {(5,76.0%) 80} * Non-linear torn systems: 5 {1 4,1 2,1 2,1 2,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.004943/50.07, allocations: 0.5361 MB / 11.53 GB, free: 25.43 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005829/50.07, allocations: 1.196 MB / 11.53 GB, free: 24.77 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07131/50.15, allocations: 20.34 MB / 11.55 GB, free: 24.07 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001376/50.15, allocations: 63.03 kB / 11.55 GB, free: 24.07 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.899e-05/50.15, allocations: 19.64 kB / 11.55 GB, free: 24.07 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05895/50.2, allocations: 17.66 MB / 11.57 GB, free: 23.29 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 postOpt removeSimpleEquations (simulation): time 0.1075/50.31, allocations: 32.61 MB / 11.6 GB, free: 21.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.865e-05/50.31, allocations: 7.531 kB / 11.6 GB, free: 21.07 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006444/50.32, allocations: 1.127 MB / 11.6 GB, free: 21.05 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01028/50.33, allocations: 3.862 MB / 11.6 GB, free: 20.86 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001766/50.33, allocations: 183.7 kB / 11.6 GB, free: 20.86 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1091/50.44, allocations: 47.3 MB / 11.65 GB, free: 9.246 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-05/50.44, allocations: 10.44 kB / 11.65 GB, free: 9.238 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08668/50.53, allocations: 27.56 MB / 11.68 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01222/50.54, allocations: 2.566 MB / 11.68 GB, free: 2.395 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005738/50.54, allocations: 104.6 kB / 11.68 GB, free: 2.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01498/50.56, allocations: 1.189 MB / 11.68 GB, free: 1.477 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002397/50.56, allocations: 488.5 kB / 11.68 GB, free: 1.191 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009679/50.56, allocations: 269.2 kB / 11.68 GB, free: 0.9766 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.04/51.6, allocations: 11.23 MB / 11.69 GB, free: 113.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.412e-06/51.6, allocations: 0 / 11.69 GB, free: 113.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.06205/51.67, allocations: 6.653 MB / 11.7 GB, free: 113.9 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (432): * Single equations (assignments): 409 * 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: 6 * 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: 1 {(7,65.3%) 74} * Non-linear torn systems: 5 {1 4,1 2,1 2,1 2,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01609/51.68, allocations: 5.086 MB / 11.7 GB, free: 112 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0485/51.73, allocations: 19.01 MB / 11.72 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-05/51.73, allocations: 2.125 kB / 11.72 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01678/51.75, allocations: 6.445 MB / 11.73 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03816/51.78, allocations: 5.89 MB / 11.73 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07082/51.86, allocations: 25.2 MB / 11.76 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01145/51.87, allocations: 7.167 MB / 11.76 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.03133/51.9, allocations: 6.498 MB / 11.77 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003144/51.9, allocations: 0.6615 MB / 11.77 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of SimCode: time 1.042e-06/51.9, allocations: 0 / 11.77 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of Templates: time 2.371/54.27, allocations: 346.5 MB / 12.11 GB, free: 153.9 MB / 1.011 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)