Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.609/1.609, allocations: 285.4 MB / 298 MB, free: 6.004 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.001076/0.001076, allocations: 176.8 kB / 366.4 MB, free: 2.098 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.606/1.606, allocations: 205.1 MB / 0.6248 GB, free: 7.746 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.000789/0.000789, allocations: 81.05 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.317e-05/3.318e-05, allocations: 7.984 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.777/0.7771, allocations: 115.3 MB / 0.9709 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.178/1.955, allocations: 465.5 MB / 1.425 GB, free: 90.66 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/1.955, allocations: 93.08 kB / 1.426 GB, free: 90.62 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 44.82/46.78, allocations: 10.27 GB / 11.69 GB, free: 67.78 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.305e-06/46.78, allocations: 0 / 11.69 GB, free: 67.78 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.003204/46.78, allocations: 347.7 kB / 11.69 GB, free: 67.7 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.04501/46.83, allocations: 11.13 MB / 11.7 GB, free: 62.63 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/46.83, allocations: 7.781 kB / 11.7 GB, free: 62.63 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01468/46.84, allocations: 2.224 MB / 11.71 GB, free: 61.8 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05992/46.9, allocations: 18.61 MB / 11.72 GB, free: 59.44 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008993/46.9, allocations: 0.5351 MB / 11.73 GB, free: 59.43 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004533/46.91, allocations: 0.7071 MB / 11.73 GB, free: 59.43 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03359/46.94, allocations: 13.09 MB / 11.74 GB, free: 55.67 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005108/46.94, allocations: 7.688 kB / 11.74 GB, free: 55.66 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004175/46.94, allocations: 242.3 kB / 11.74 GB, free: 55.48 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002358/46.94, allocations: 153.8 kB / 11.74 GB, free: 55.48 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03136/46.98, allocations: 17.53 MB / 11.76 GB, free: 44.81 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 1.161/48.14, allocations: 70.03 MB / 11.82 GB, free: 92.82 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0154/48.15, allocations: 9.448 MB / 11.83 GB, free: 92.73 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01174/48.16, allocations: 8.439 MB / 11.84 GB, free: 92.71 MB / 1.214 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.06608/48.23, allocations: 29.49 MB / 11.87 GB, free: 85.04 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01475/48.24, allocations: 8.111 MB / 11.88 GB, free: 84.92 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04947/48.29, allocations: 15.23 MB / 11.89 GB, free: 84.92 MB / 1.214 GB Notification: Performance of pre-optimization done (n=393): time 4.333e-05/48.29, allocations: 1.469 kB / 11.89 GB, free: 84.92 MB / 1.214 GB Notification: Performance of matching and sorting (n=581): time 0.2431/48.54, allocations: 76.13 MB / 11.97 GB, free: 78.36 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.833e-05/48.54, allocations: 113.2 kB / 11.97 GB, free: 78.29 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03255/48.57, allocations: 11.85 MB / 11.98 GB, free: 77.57 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004055/48.57, allocations: 183 kB / 11.98 GB, free: 77.54 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.008778/48.58, allocations: 6.016 MB / 11.99 GB, free: 76.56 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.005014/48.59, allocations: 1.96 MB / 11.99 GB, free: 75.57 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002914/48.59, allocations: 144.6 kB / 11.99 GB, free: 75.57 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.000584/48.59, allocations: 0.595 MB / 11.99 GB, free: 75.25 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0136/48.61, allocations: 7.802 MB / 12 GB, free: 75.23 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01685/48.62, allocations: 10.39 MB / 12.01 GB, free: 72.36 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01553/48.64, allocations: 8.697 MB / 12.01 GB, free: 72.19 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001163/48.64, allocations: 14.75 kB / 12.01 GB, free: 72.19 MB / 1.214 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.05763/48.7, allocations: 26.12 MB / 12.04 GB, free: 71.16 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.005454/48.7, allocations: 29.65 MB / 12.07 GB, free: 40.48 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001932/48.7, allocations: 53.62 kB / 12.07 GB, free: 40.48 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7178/49.42, allocations: 170.4 MB / 12.24 GB, free: 10.19 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01103/49.43, allocations: 1.766 MB / 12.24 GB, free: 8.941 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05331/49.48, allocations: 26.57 MB / 12.26 GB, free: 4.613 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02214/49.51, allocations: 1.279 MB / 12.26 GB, free: 3.488 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004991/49.51, allocations: 0.8029 MB / 12.27 GB, free: 2.746 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/49.51, allocations: 4 kB / 12.27 GB, free: 2.742 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.209/50.72, allocations: 25.16 MB / 12.29 GB, free: 119 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003403/50.72, allocations: 47.28 kB / 12.29 GB, free: 119 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7674/51.49, allocations: 170.6 MB / 12.46 GB, free: 118.7 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009381/51.5, allocations: 1.757 MB / 12.46 GB, free: 118.7 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05634/51.55, allocations: 30.91 MB / 12.49 GB, free: 114.8 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02249/51.58, allocations: 1.258 MB / 12.49 GB, free: 114.8 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004925/51.58, allocations: 0.7522 MB / 12.49 GB, free: 114.8 MB / 1.245 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 () * 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 {39 57,6 79,8 77} Notification: Performance of prepare postOptimizeDAE: time 0.006755/51.59, allocations: 0.5213 MB / 12.49 GB, free: 114.7 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006248/51.59, allocations: 1.212 MB / 12.49 GB, free: 114.6 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05842/51.65, allocations: 23.32 MB / 12.51 GB, free: 113.8 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001346/51.65, allocations: 81.78 kB / 12.51 GB, free: 113.8 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/51.65, allocations: 6.438 kB / 12.51 GB, free: 113.8 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03582/51.69, allocations: 17.81 MB / 12.53 GB, free: 113.2 MB / 1.245 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.1493/51.84, allocations: 54.12 MB / 12.59 GB, free: 106.6 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.366e-05/51.84, allocations: 7.594 kB / 12.59 GB, free: 106.6 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006888/51.84, allocations: 1.257 MB / 12.59 GB, free: 106.6 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2067/52.05, allocations: 48.87 MB / 12.63 GB, free: 83.84 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002056/52.05, allocations: 200.8 kB / 12.63 GB, free: 83.77 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02176/52.08, allocations: 14.72 MB / 12.65 GB, free: 73.34 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/52.08, allocations: 19.34 kB / 12.65 GB, free: 73.33 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06284/52.14, allocations: 32.8 MB / 12.68 GB, free: 55.52 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01143/52.15, allocations: 2.934 MB / 12.68 GB, free: 53.77 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005585/52.16, allocations: 130.7 kB / 12.68 GB, free: 53.73 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01642/52.17, allocations: 1.007 MB / 12.68 GB, free: 52.84 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002489/52.17, allocations: 461 kB / 12.69 GB, free: 52.45 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001827/52.18, allocations: 290.6 kB / 12.69 GB, free: 52.21 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.02089/52.2, allocations: 9.028 MB / 12.69 GB, free: 46.02 MB / 1.245 GB Notification: Performance of sort global known variables: time 3.71e-07/52.2, allocations: 0 / 12.69 GB, free: 46.02 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.04708/52.24, allocations: 6.578 MB / 12.7 GB, free: 40.21 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (491): * Single equations (assignments): 469 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * 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 {5 76,37 57,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01022/52.25, allocations: 5.043 MB / 12.71 GB, free: 35.71 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.07324/52.33, allocations: 33.52 MB / 12.74 GB, free: 13.9 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/52.33, allocations: 8.062 kB / 12.74 GB, free: 13.89 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.01988/52.35, allocations: 9.215 MB / 12.75 GB, free: 8.426 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 1.012/53.36, allocations: 6.281 MB / 12.75 GB, free: 113.2 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0551/53.41, allocations: 21.31 MB / 12.77 GB, free: 109 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01065/53.43, allocations: 7.182 MB / 12.78 GB, free: 108 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.03589/53.46, allocations: 6.371 MB / 12.79 GB, free: 107.9 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003724/53.47, allocations: 0.7196 MB / 12.79 GB, free: 107.9 MB / 1.245 GB Notification: Performance of SimCode: time 2.585e-06/53.47, allocations: 0 / 12.79 GB, free: 107.9 MB / 1.245 GB Notification: Performance of Templates: time 2.659/56.12, allocations: 437 MB / 13.22 GB, free: 191.5 MB / 1.323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)