Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.684/1.684, allocations: 293 MB / 309 MB, free: 4.801 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.00116/0.00116, allocations: 186.8 kB / 378.7 MB, free: 1.02 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.632/1.632, allocations: 205.4 MB / 0.6383 GB, free: 8.211 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.0007592/0.0007592, allocations: 94.3 kB / 0.7527 GB, free: 62.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.000409, allocations: 19.98 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2701, allocations: 116.4 MB / 0.9904 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.49/1.76, allocations: 466.8 MB / 1.446 GB, free: 263.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/1.761, allocations: 103.9 kB / 1.446 GB, free: 263.3 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 42.6/44.36, allocations: 10.24 GB / 11.68 GB, free: 88.59 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.275e-06/44.36, allocations: 0 / 11.68 GB, free: 88.59 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003571/44.36, allocations: 349.4 kB / 11.69 GB, free: 88.54 MB / 1.214 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.06755/44.43, allocations: 17.39 MB / 11.7 GB, free: 82.3 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/44.43, allocations: 11.38 kB / 11.7 GB, free: 82.3 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0152/44.45, allocations: 2.221 MB / 11.7 GB, free: 81.51 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06095/44.51, allocations: 19.05 MB / 11.72 GB, free: 78.87 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009004/44.51, allocations: 0.5277 MB / 11.72 GB, free: 78.86 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004107/44.51, allocations: 0.7097 MB / 11.72 GB, free: 78.86 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03552/44.55, allocations: 13.37 MB / 11.74 GB, free: 78.25 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004341/44.55, allocations: 13.19 kB / 11.74 GB, free: 78.25 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003063/44.55, allocations: 245.9 kB / 11.74 GB, free: 78.25 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002017/44.55, allocations: 152.7 kB / 11.74 GB, free: 78.25 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03567/44.59, allocations: 17.97 MB / 11.76 GB, free: 78.2 MB / 1.214 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.1347/44.72, allocations: 69.95 MB / 11.82 GB, free: 46.33 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01654/44.74, allocations: 9.767 MB / 11.83 GB, free: 46.17 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01374/44.75, allocations: 8.643 MB / 11.84 GB, free: 46.11 MB / 1.214 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.07422/44.83, allocations: 29.38 MB / 11.87 GB, free: 38 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01613/44.84, allocations: 8.301 MB / 11.88 GB, free: 37.89 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04331/44.89, allocations: 15.22 MB / 11.89 GB, free: 37.04 MB / 1.214 GB Notification: Performance of pre-optimization done (n=393): time 4.962e-05/44.89, allocations: 0 / 11.89 GB, free: 37.04 MB / 1.214 GB Notification: Performance of matching and sorting (n=581): time 0.4776/45.36, allocations: 126.7 MB / 12.02 GB, free: 1.215 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/45.36, allocations: 119.2 kB / 12.02 GB, free: 1.086 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04031/45.41, allocations: 13.38 MB / 12.03 GB, free: 6.328 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.004599/45.41, allocations: 182.9 kB / 12.03 GB, free: 6.145 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.0124/45.42, allocations: 6.014 MB / 12.04 GB, free: 0.6602 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 1.048/46.47, allocations: 1.949 MB / 12.04 GB, free: 106.3 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002952/46.47, allocations: 143.1 kB / 12.04 GB, free: 106.3 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0006637/46.47, allocations: 0.5963 MB / 12.04 GB, free: 106 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01963/46.49, allocations: 8.632 MB / 12.05 GB, free: 106 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02579/46.52, allocations: 11.25 MB / 12.06 GB, free: 103.1 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04279/46.56, allocations: 19.24 MB / 12.08 GB, free: 101.3 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000159/46.56, allocations: 14.25 kB / 12.08 GB, free: 101.3 MB / 1.229 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.08255/46.65, allocations: 28.72 MB / 12.1 GB, free: 100.9 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.001187/46.65, allocations: 1.54 MB / 12.11 GB, free: 99.06 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001633/46.65, allocations: 47.31 kB / 12.11 GB, free: 99.06 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6824/47.33, allocations: 171.8 MB / 12.27 GB, free: 97.71 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01096/47.34, allocations: 1.857 MB / 12.28 GB, free: 97.69 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05096/47.39, allocations: 27.38 MB / 12.3 GB, free: 92.5 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02184/47.41, allocations: 1.28 MB / 12.3 GB, free: 92.44 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004968/47.42, allocations: 0.8037 MB / 12.3 GB, free: 92.44 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/47.42, allocations: 3.156 kB / 12.3 GB, free: 92.44 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07026/47.49, allocations: 27.41 MB / 12.33 GB, free: 91.92 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003062/47.49, allocations: 46.88 kB / 12.33 GB, free: 91.92 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759/49.25, allocations: 171.6 MB / 12.5 GB, free: 152.1 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01016/49.26, allocations: 1.839 MB / 12.5 GB, free: 152.1 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06823/49.33, allocations: 31.75 MB / 12.53 GB, free: 148.3 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02234/49.35, allocations: 1.251 MB / 12.53 GB, free: 148.3 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005427/49.35, allocations: 0.7646 MB / 12.53 GB, free: 148.3 MB / 1.276 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.01561/49.37, allocations: 3.097 MB / 12.54 GB, free: 148.1 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007544/49.38, allocations: 1.205 MB / 12.54 GB, free: 148.1 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1089/49.49, allocations: 30.9 MB / 12.57 GB, free: 147.5 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001708/49.49, allocations: 76.25 kB / 12.57 GB, free: 147.5 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.399e-05/49.49, allocations: 0 / 12.57 GB, free: 147.5 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08805/49.57, allocations: 25.33 MB / 12.59 GB, free: 146.9 MB / 1.276 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.1388/49.71, allocations: 50.43 MB / 12.64 GB, free: 140.5 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001407/49.71, allocations: 12.62 kB / 12.64 GB, free: 140.5 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007157/49.72, allocations: 1.24 MB / 12.64 GB, free: 140.5 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.201/49.92, allocations: 50 MB / 12.69 GB, free: 140.3 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002217/49.92, allocations: 200.9 kB / 12.69 GB, free: 140.3 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02352/49.95, allocations: 15.48 MB / 12.71 GB, free: 135.2 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/49.95, allocations: 11.38 kB / 12.71 GB, free: 135.2 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07872/50.03, allocations: 32.58 MB / 12.74 GB, free: 134.1 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01273/50.04, allocations: 2.936 MB / 12.74 GB, free: 133.8 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008233/50.05, allocations: 130.7 kB / 12.74 GB, free: 133.8 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01665/50.06, allocations: 0.9972 MB / 12.74 GB, free: 133.8 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002885/50.07, allocations: 469.9 kB / 12.74 GB, free: 133.8 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002205/50.07, allocations: 289.9 kB / 12.74 GB, free: 133.8 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02371/50.09, allocations: 9.042 MB / 12.75 GB, free: 133.4 MB / 1.276 GB Notification: Performance of sort global known variables: time 1.202e-06/50.09, allocations: 0 / 12.75 GB, free: 133.4 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.04774/50.14, allocations: 6.553 MB / 12.76 GB, free: 133.4 MB / 1.276 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.00985/50.15, allocations: 4.953 MB / 12.76 GB, free: 131.5 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.08195/50.23, allocations: 35.69 MB / 12.8 GB, free: 130.7 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.504e-05/50.23, allocations: 3.75 kB / 12.8 GB, free: 130.7 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.0229/50.26, allocations: 10.03 MB / 12.81 GB, free: 130.5 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05985/50.32, allocations: 6.291 MB / 12.82 GB, free: 129.7 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06051/50.38, allocations: 30.09 MB / 12.84 GB, free: 106 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01471/50.39, allocations: 6.911 MB / 12.85 GB, free: 101.5 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.02334/50.41, allocations: 3.758 MB / 12.85 GB, free: 98.82 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005891/50.42, allocations: 0.982 MB / 12.86 GB, free: 98.03 MB / 1.276 GB Notification: Performance of SimCode: time 1.132e-06/50.42, allocations: 0 / 12.86 GB, free: 98.03 MB / 1.276 GB Notification: Performance of Templates: time 2.381/52.8, allocations: 415.7 MB / 13.26 GB, free: 110.7 MB / 1.276 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)