Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.3/1.3, allocations: 252 MB / 267.9 MB, free: 10.91 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.0008816/0.0008817, allocations: 180.3 kB / 327.5 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.4 MB / 0.5785 GB, free: 20.5 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.0008583/0.0008583, allocations: 105.3 kB / 0.6831 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003637, allocations: 14.31 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.201, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8551/1.056, allocations: 458.1 MB / 1.349 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/1.056, allocations: 106.8 kB / 1.349 GB, free: 7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 33.42/34.47, allocations: 9.951 GB / 11.3 GB, free: 44.87 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.294e-06/34.47, allocations: 0 / 11.3 GB, free: 44.87 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.003068/34.48, allocations: 347.7 kB / 11.3 GB, free: 44.53 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.06014/34.54, allocations: 17.37 MB / 11.32 GB, free: 27.02 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/34.54, allocations: 12.03 kB / 11.32 GB, free: 27.01 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01304/34.55, allocations: 2.224 MB / 11.32 GB, free: 24.77 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05501/34.61, allocations: 19.03 MB / 11.34 GB, free: 5.648 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007964/34.61, allocations: 0.5276 MB / 11.34 GB, free: 5.121 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003931/34.61, allocations: 0.7035 MB / 11.34 GB, free: 4.418 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03234/34.64, allocations: 13.33 MB / 11.35 GB, free: 6.922 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004099/34.64, allocations: 15.78 kB / 11.35 GB, free: 6.906 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003307/34.65, allocations: 251.9 kB / 11.35 GB, free: 6.66 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/34.65, allocations: 151.9 kB / 11.35 GB, free: 6.512 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.686/36.33, allocations: 17.91 MB / 11.37 GB, free: 74.82 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 preOpt removeSimpleEquations (simulation): time 0.1093/36.44, allocations: 69.81 MB / 11.44 GB, free: 44.14 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01389/36.46, allocations: 9.704 MB / 11.45 GB, free: 43.97 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01131/36.47, allocations: 8.601 MB / 11.46 GB, free: 43.91 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 preOpt evalFunc (simulation): time 0.0511/36.52, allocations: 29.29 MB / 11.48 GB, free: 36.07 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009812/36.53, allocations: 8.258 MB / 11.49 GB, free: 35.96 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03749/36.57, allocations: 15.21 MB / 11.51 GB, free: 35.96 MB / 1.151 GB Notification: Performance of pre-optimization done (n=393): time 3.162e-05/36.57, allocations: 0.8438 kB / 11.51 GB, free: 35.96 MB / 1.151 GB Notification: Performance of matching and sorting (n=581): time 0.4174/36.98, allocations: 124.7 MB / 11.63 GB, free: 27.88 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/36.98, allocations: 118.4 kB / 11.63 GB, free: 27.81 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.021/37.01, allocations: 13.3 MB / 11.64 GB, free: 27.08 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.002957/37.01, allocations: 183.2 kB / 11.64 GB, free: 27.05 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.005165/37.01, allocations: 6.009 MB / 11.65 GB, free: 26.08 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.003423/37.02, allocations: 1.957 MB / 11.65 GB, free: 25.08 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/37.02, allocations: 144.1 kB / 11.65 GB, free: 25.08 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0003189/37.02, allocations: 0.5967 MB / 11.65 GB, free: 24.76 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01223/37.03, allocations: 8.421 MB / 11.66 GB, free: 24.72 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01479/37.05, allocations: 11.04 MB / 11.67 GB, free: 21.76 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02962/37.08, allocations: 18.88 MB / 11.69 GB, free: 19.77 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.79e-05/37.08, allocations: 11.22 kB / 11.69 GB, free: 19.77 MB / 1.151 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.06381/37.14, allocations: 28.34 MB / 11.72 GB, free: 13.58 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009283/37.14, allocations: 1.543 MB / 11.72 GB, free: 11.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001094/37.14, allocations: 45.84 kB / 11.72 GB, free: 11.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434/38.57, allocations: 175 MB / 11.89 GB, free: 101.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008963/38.58, allocations: 1.786 MB / 11.89 GB, free: 101.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03843/38.62, allocations: 27.38 MB / 11.92 GB, free: 96.86 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01684/38.64, allocations: 1.212 MB / 11.92 GB, free: 96.86 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002818/38.64, allocations: 0.8043 MB / 11.92 GB, free: 96.86 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/38.64, allocations: 3.75 kB / 11.92 GB, free: 96.86 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04342/38.69, allocations: 27.02 MB / 11.95 GB, free: 96.52 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000185/38.69, allocations: 48.72 kB / 11.95 GB, free: 96.52 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6223/39.31, allocations: 171.6 MB / 12.11 GB, free: 76.85 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007758/39.32, allocations: 1.759 MB / 12.11 GB, free: 75.21 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04777/39.36, allocations: 31.74 MB / 12.15 GB, free: 51.53 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01655/39.38, allocations: 1.183 MB / 12.15 GB, free: 50.53 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003188/39.38, allocations: 0.7631 MB / 12.15 GB, free: 49.83 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (662): * Single equations (assignments): 648 * 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: 3 * 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: 3 {40 56,6 79,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.00938/39.39, allocations: 3.099 MB / 12.15 GB, free: 47.92 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004278/39.4, allocations: 1.2 MB / 12.15 GB, free: 47.37 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07668/39.47, allocations: 30.48 MB / 12.18 GB, free: 26.04 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001256/39.47, allocations: 85.27 kB / 12.18 GB, free: 25.96 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-05/39.47, allocations: 0 / 12.18 GB, free: 25.96 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06523/39.54, allocations: 24.93 MB / 12.21 GB, free: 8.383 MB / 1.182 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.8449/40.38, allocations: 49.94 MB / 12.25 GB, free: 109.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.315e-05/40.38, allocations: 9.406 kB / 12.25 GB, free: 109.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005447/40.39, allocations: 1.177 MB / 12.26 GB, free: 109.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1851/40.57, allocations: 50 MB / 12.3 GB, free: 109.1 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001569/40.58, allocations: 200.4 kB / 12.3 GB, free: 109.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02117/40.6, allocations: 15.48 MB / 12.32 GB, free: 104 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/40.6, allocations: 15 kB / 12.32 GB, free: 104 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05775/40.66, allocations: 31.98 MB / 12.35 GB, free: 102.9 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009489/40.66, allocations: 2.917 MB / 12.35 GB, free: 102.8 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004991/40.67, allocations: 130.4 kB / 12.35 GB, free: 102.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01232/40.68, allocations: 0.9315 MB / 12.35 GB, free: 102.8 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001483/40.68, allocations: 467 kB / 12.36 GB, free: 102.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007572/40.68, allocations: 287 kB / 12.36 GB, free: 102.8 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.01685/40.7, allocations: 9.041 MB / 12.36 GB, free: 102.5 MB / 1.198 GB Notification: Performance of sort global known variables: time 4.41e-07/40.7, allocations: 0 / 12.36 GB, free: 102.5 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.03531/40.74, allocations: 6.493 MB / 12.37 GB, free: 102.5 MB / 1.198 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 (490): * Single equations (assignments): 468 * 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: 4 * 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: 4 {7 80,38 56,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.007605/40.74, allocations: 4.922 MB / 12.38 GB, free: 100.6 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.07045/40.81, allocations: 35.08 MB / 12.41 GB, free: 99.95 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/40.81, allocations: 2.094 kB / 12.41 GB, free: 99.95 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.01906/40.83, allocations: 9.846 MB / 12.42 GB, free: 99.8 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04899/40.88, allocations: 6.276 MB / 12.43 GB, free: 99.72 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04829/40.93, allocations: 29.9 MB / 12.45 GB, free: 89.02 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01098/40.94, allocations: 6.924 MB / 12.46 GB, free: 88.05 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.01977/40.96, allocations: 3.728 MB / 12.47 GB, free: 87.95 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004343/40.97, allocations: 0.9832 MB / 12.47 GB, free: 87.94 MB / 1.198 GB Notification: Performance of SimCode: time 6.41e-07/40.97, allocations: 0 / 12.47 GB, free: 87.94 MB / 1.198 GB Notification: Performance of Templates: time 1.222/42.19, allocations: 414.7 MB / 12.87 GB, free: 136.6 MB / 1.229 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)