Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.178/2.178, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001383/0.001383, allocations: 182.4 kB / 326.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.322/2.322, allocations: 205.4 MB / 0.5772 GB, free: 21.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009609/0.0009606, allocations: 96.61 kB / 0.6817 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004785, allocations: 9.375 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2029, allocations: 106.3 MB / 0.8995 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.341/1.544, allocations: 458.4 MB / 1.347 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/1.544, allocations: 102 kB / 1.347 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 56.89/58.43, allocations: 10.18 GB / 11.52 GB, free: 70.19 MB / 1.135 GB Notification: Performance of FrontEnd: time 3.848e-06/58.43, allocations: 0 / 11.52 GB, free: 70.19 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.003511/58.43, allocations: 348.2 kB / 11.52 GB, free: 70.12 MB / 1.135 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.09493/58.53, allocations: 17.43 MB / 11.54 GB, free: 63.57 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/58.53, allocations: 9.25 kB / 11.54 GB, free: 63.57 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0189/58.55, allocations: 2.075 MB / 11.54 GB, free: 62.75 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08379/58.63, allocations: 18.18 MB / 11.56 GB, free: 60.36 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001083/58.63, allocations: 0.5281 MB / 11.56 GB, free: 60.34 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003934/58.64, allocations: 0.7156 MB / 11.56 GB, free: 60.34 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03175/58.67, allocations: 8.49 MB / 11.57 GB, free: 59.19 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004001/58.67, allocations: 21.53 kB / 11.57 GB, free: 59.17 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002778/58.67, allocations: 250.2 kB / 11.57 GB, free: 59.17 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002257/58.67, allocations: 159.4 kB / 11.57 GB, free: 59.17 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02617/58.7, allocations: 6.897 MB / 11.58 GB, free: 59.02 MB / 1.135 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.1137/58.81, allocations: 50.41 MB / 11.63 GB, free: 30.58 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01483/58.83, allocations: 4.846 MB / 11.63 GB, free: 28.86 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01054/58.84, allocations: 3.728 MB / 11.64 GB, free: 27.63 MB / 1.135 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.05294/58.89, allocations: 13.46 MB / 11.65 GB, free: 20.98 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01029/58.9, allocations: 3.341 MB / 11.65 GB, free: 19.9 MB / 1.135 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01772/58.92, allocations: 2.376 MB / 11.65 GB, free: 19.45 MB / 1.135 GB Notification: Performance of pre-optimization done (n=326): time 2.032e-05/58.92, allocations: 0 / 11.65 GB, free: 19.45 MB / 1.135 GB Notification: Performance of matching and sorting (n=514): time 1.459/60.38, allocations: 50.68 MB / 11.7 GB, free: 94.21 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/60.38, allocations: 106.2 kB / 11.7 GB, free: 94.14 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04394/60.42, allocations: 13.53 MB / 11.72 GB, free: 93.47 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.002471/60.42, allocations: 180.3 kB / 11.72 GB, free: 93.44 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.01132/60.43, allocations: 6.221 MB / 11.72 GB, free: 93.25 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.003412/60.44, allocations: 1.736 MB / 11.73 GB, free: 93.25 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001732/60.44, allocations: 145.3 kB / 11.73 GB, free: 93.25 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0006661/60.44, allocations: 0.5992 MB / 11.73 GB, free: 92.93 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01722/60.46, allocations: 4.486 MB / 11.73 GB, free: 92.91 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02064/60.48, allocations: 7.445 MB / 11.74 GB, free: 89.57 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02005/60.5, allocations: 5.29 MB / 11.74 GB, free: 89.41 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.882e-05/60.5, allocations: 22 kB / 11.74 GB, free: 89.41 MB / 1.151 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.07314/60.57, allocations: 16.02 MB / 11.76 GB, free: 88.43 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001652/60.57, allocations: 1.936 MB / 11.76 GB, free: 86.11 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000202/60.57, allocations: 60.5 kB / 11.76 GB, free: 86.11 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02881/60.6, allocations: 4.783 MB / 11.76 GB, free: 86.01 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02006/60.62, allocations: 1.884 MB / 11.77 GB, free: 86.01 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0222/60.65, allocations: 12.97 MB / 11.78 GB, free: 79.26 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02369/60.67, allocations: 1.134 MB / 11.78 GB, free: 79.23 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002943/60.67, allocations: 497.9 kB / 11.78 GB, free: 79.23 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/60.67, allocations: 4.375 kB / 11.78 GB, free: 79.23 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05865/60.73, allocations: 14.6 MB / 11.8 GB, free: 78.86 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002369/60.73, allocations: 58.97 kB / 11.8 GB, free: 78.86 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0238/60.75, allocations: 4.564 MB / 11.8 GB, free: 78.78 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01716/60.77, allocations: 1.868 MB / 11.8 GB, free: 78.78 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04224/60.81, allocations: 17.31 MB / 11.82 GB, free: 73.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02363/60.84, allocations: 1.111 MB / 11.82 GB, free: 73.17 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002816/60.84, allocations: 456.1 kB / 11.82 GB, free: 73.17 MB / 1.151 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 725 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,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: 6 {1 4,1 2,1 2,1 2,7 78,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.01256/60.85, allocations: 3.119 MB / 11.82 GB, free: 72.98 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004325/60.86, allocations: 1.203 MB / 11.82 GB, free: 72.32 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05784/60.92, allocations: 14.17 MB / 11.84 GB, free: 71.72 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000139/60.92, allocations: 59.72 kB / 11.84 GB, free: 71.72 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.605e-05/60.92, allocations: 3.719 kB / 11.84 GB, free: 71.72 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04551/60.96, allocations: 11.51 MB / 11.85 GB, free: 71.12 MB / 1.151 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.09003/61.05, allocations: 26.14 MB / 11.87 GB, free: 69.11 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.351e-05/61.05, allocations: 7.781 kB / 11.87 GB, free: 69.11 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01095/61.06, allocations: 1.091 MB / 11.88 GB, free: 69.11 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01927/61.08, allocations: 3.448 MB / 11.88 GB, free: 69 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001488/61.08, allocations: 172.4 kB / 11.88 GB, free: 69 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01641/61.1, allocations: 11.65 MB / 11.89 GB, free: 62.32 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.426e-05/61.1, allocations: 14.3 kB / 11.89 GB, free: 62.32 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06575/61.17, allocations: 18.92 MB / 11.91 GB, free: 60.53 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01141/61.18, allocations: 2.519 MB / 11.91 GB, free: 59.75 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005065/61.18, allocations: 112.5 kB / 11.91 GB, free: 59.75 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01897/61.2, allocations: 0.9076 MB / 11.91 GB, free: 59.73 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001851/61.2, allocations: 398 kB / 11.91 GB, free: 59.72 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009793/61.2, allocations: 259.7 kB / 11.91 GB, free: 59.72 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0263/61.23, allocations: 9.17 MB / 11.92 GB, free: 59.36 MB / 1.151 GB Notification: Performance of sort global known variables: time 8.51e-07/61.23, allocations: 0 / 11.92 GB, free: 59.36 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.05401/61.28, allocations: 5.918 MB / 11.93 GB, free: 59.36 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (440): * Single equations (assignments): 415 * 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: 7 * 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: 7 {9 78,1 4,1 2,1 2,1 2,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01124/61.3, allocations: 4.9 MB / 11.93 GB, free: 57.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.06691/61.36, allocations: 18.12 MB / 11.95 GB, free: 56.73 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/61.36, allocations: 3.875 kB / 11.95 GB, free: 56.73 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01978/61.38, allocations: 5.241 MB / 11.96 GB, free: 56.52 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05629/61.44, allocations: 6.071 MB / 11.96 GB, free: 56.21 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07249/61.51, allocations: 27.52 MB / 11.99 GB, free: 45.29 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01567/61.53, allocations: 6.826 MB / 12 GB, free: 44.18 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.03003/61.56, allocations: 3.844 MB / 12 GB, free: 43.55 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006839/61.56, allocations: 0.9416 MB / 12 GB, free: 43.54 MB / 1.151 GB Notification: Performance of SimCode: time 2.134e-06/61.56, allocations: 3.938 kB / 12 GB, free: 43.53 MB / 1.151 GB Notification: Performance of Templates: time 2.013/63.58, allocations: 276.4 MB / 12.27 GB, free: 115.5 MB / 1.182 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)