Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.648/1.648, allocations: 287.5 MB / 302.6 MB, free: 8.141 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.001107/0.001107, allocations: 174.7 kB / 371.2 MB, free: 10.84 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.421/1.421, allocations: 205.4 MB / 0.6298 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007882/0.0007884, allocations: 94.28 kB / 0.7432 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003859, allocations: 18.58 kB / 0.8661 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.205, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 0.7558/0.9609, allocations: 329.6 MB / 1.301 GB, free: 5.902 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1142/1.075, allocations: 72.93 MB / 1.372 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01971/1.095, allocations: 373.2 kB / 1.372 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01418/1.109, allocations: 3.137 MB / 1.375 GB, free: 9.312 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.03455/1.144, allocations: 8.835 MB / 1.384 GB, free: 460 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.02062/1.164, allocations: 6.027 MB / 1.39 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.04764/1.212, allocations: 32.99 MB / 1.422 GB, free: 9.391 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 1.053/2.265, allocations: 15.01 MB / 1.437 GB, free: 50.32 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03227/2.297, allocations: 11.83 MB / 1.448 GB, free: 50.32 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02742/2.325, allocations: 12.54 MB / 1.46 GB, free: 50.28 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.008361/2.333, allocations: 0.9659 MB / 1.461 GB, free: 50.28 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02564/2.359, allocations: 3.333 MB / 1.465 GB, free: 50.28 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.01196/2.371, allocations: 4.025 MB / 1.469 GB, free: 50.28 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01182/2.383, allocations: 2.627 MB / 1.471 GB, free: 50.25 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02817/2.411, allocations: 17.48 MB / 1.488 GB, free: 49.12 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/2.411, allocations: 3.656 kB / 1.488 GB, free: 49.12 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.414e-06/2.411, allocations: 0 / 1.488 GB, free: 49.12 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009953/2.412, allocations: 0 / 1.488 GB, free: 49.12 MB / 0.948 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.05037/2.463, allocations: 16.95 MB / 1.505 GB, free: 43.16 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/2.463, allocations: 10.06 kB / 1.505 GB, free: 43.16 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01379/2.476, allocations: 2.372 MB / 1.507 GB, free: 42.32 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03811/2.515, allocations: 12.6 MB / 1.519 GB, free: 40.09 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001847/2.516, allocations: 0.7876 MB / 1.52 GB, free: 40.05 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005207/2.522, allocations: 0.6852 MB / 1.521 GB, free: 40.05 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04035/2.562, allocations: 14.02 MB / 1.534 GB, free: 36.53 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004125/2.563, allocations: 9.375 kB / 1.534 GB, free: 36.53 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004361/2.567, allocations: 245.1 kB / 1.535 GB, free: 36.53 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/2.567, allocations: 148.3 kB / 1.535 GB, free: 36.53 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03833/2.605, allocations: 19.02 MB / 1.553 GB, free: 33.77 MB / 0.948 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.1389/2.744, allocations: 73.43 MB / 1.625 GB, free: 11.09 MB / 0.9793 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01899/2.763, allocations: 10.62 MB / 1.636 GB, free: 5.113 MB / 0.9793 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01564/2.779, allocations: 9.141 MB / 1.644 GB, free: 15.74 MB / 0.9949 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.07428/2.854, allocations: 31.89 MB / 1.676 GB, free: 7.066 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01705/2.871, allocations: 8.883 MB / 1.684 GB, free: 1.055 MB / 1.011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03096/2.902, allocations: 9.951 MB / 1.694 GB, free: 7.793 MB / 1.026 GB Notification: Performance of pre-optimization done (n=387): time 3.747e-05/2.902, allocations: 0 / 1.694 GB, free: 7.793 MB / 1.026 GB Notification: Performance of matching and sorting (n=573): time 1.469/4.37, allocations: 220 MB / 1.909 GB, free: 0.493 GB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/4.371, allocations: 115.2 kB / 1.909 GB, free: 0.493 GB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02389/4.394, allocations: 12.28 MB / 1.921 GB, free: 498.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.004186/4.399, allocations: 173.8 kB / 1.921 GB, free: 498.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.008856/4.408, allocations: 5.95 MB / 1.927 GB, free: 494.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.005782/4.413, allocations: 1.929 MB / 1.929 GB, free: 494 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003033/4.416, allocations: 149.3 kB / 1.929 GB, free: 493.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0004062/4.417, allocations: 0.5945 MB / 1.93 GB, free: 493.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01721/4.434, allocations: 9.385 MB / 1.939 GB, free: 488.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01845/4.453, allocations: 11.72 MB / 1.95 GB, free: 480.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03621/4.489, allocations: 20.7 MB / 1.97 GB, free: 467.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.915e-05/4.489, allocations: 11.41 kB / 1.97 GB, free: 467.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.7152/5.204, allocations: 139.3 MB / 2.106 GB, free: 330.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009628/5.205, allocations: 1.539 MB / 2.108 GB, free: 327.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001117/5.205, allocations: 52 kB / 2.108 GB, free: 327.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6939/5.899, allocations: 166.1 MB / 2.27 GB, free: 161.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01073/5.91, allocations: 1.948 MB / 2.272 GB, free: 159.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1716/6.082, allocations: 95.44 MB / 2.365 GB, free: 63.79 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01865/6.1, allocations: 1.202 MB / 2.366 GB, free: 62.61 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00487/6.105, allocations: 0.7724 MB / 2.367 GB, free: 61.84 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/6.105, allocations: 6.5 kB / 2.367 GB, free: 61.84 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.291/7.397, allocations: 138.2 MB / 2.502 GB, free: 466.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001203/7.397, allocations: 45.09 kB / 2.502 GB, free: 466.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9053/8.302, allocations: 165.8 MB / 2.664 GB, free: 315.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01501/8.317, allocations: 1.935 MB / 2.666 GB, free: 314 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2921/8.609, allocations: 99.53 MB / 2.763 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02761/8.637, allocations: 1.196 MB / 2.764 GB, free: 213.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006348/8.643, allocations: 0.745 MB / 2.765 GB, free: 212.5 MB / 1.167 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,stepPump.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,pumpHea.stage,$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 (683): * Single equations (assignments): 669 * 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: 1 {(32,82.2%) 39} * Non-linear torn systems: 2 {7 78,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01461/8.658, allocations: 3.074 MB / 2.768 GB, free: 209.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006284/8.664, allocations: 1.189 MB / 2.769 GB, free: 208.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2378/8.902, allocations: 53.54 MB / 2.822 GB, free: 155.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002584/8.902, allocations: 72 kB / 2.822 GB, free: 155.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000377/8.903, allocations: 32 kB / 2.822 GB, free: 155.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2344/9.137, allocations: 48 MB / 2.869 GB, free: 107.1 MB / 1.167 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.2866/9.424, allocations: 67.6 MB / 2.935 GB, free: 39.55 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.888e-05/9.424, allocations: 8 kB / 2.935 GB, free: 39.54 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006956/9.431, allocations: 1.35 MB / 2.936 GB, free: 38.19 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.7216/10.15, allocations: 49.27 MB / 2.984 GB, free: 472.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001962/10.15, allocations: 200.6 kB / 2.984 GB, free: 472.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07722/10.23, allocations: 41.39 MB / 3.025 GB, free: 462.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/10.23, allocations: 13.72 kB / 3.025 GB, free: 462.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2131/10.45, allocations: 60.51 MB / 3.084 GB, free: 439.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008206/10.45, allocations: 2.692 MB / 3.086 GB, free: 437.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003913/10.46, allocations: 131.7 kB / 3.087 GB, free: 437.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01429/10.47, allocations: 1.014 MB / 3.088 GB, free: 436.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003489/10.48, allocations: 0.4975 MB / 3.088 GB, free: 436.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001849/10.48, allocations: 275.2 kB / 3.088 GB, free: 436.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01533/10.49, allocations: 8.321 MB / 3.096 GB, free: 429.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.41e-07/10.49, allocations: 0 / 3.096 GB, free: 429.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.03848/10.53, allocations: 6.886 MB / 3.103 GB, free: 422.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,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 (504): * Single equations (assignments): 482 * 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: 1 {(31,84.4%) 40} * Non-linear torn systems: 3 {9 78,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.004086/10.54, allocations: 1.288 MB / 3.104 GB, free: 422 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.08845/10.62, allocations: 38.35 MB / 3.142 GB, free: 384.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/10.62, allocations: 4 kB / 3.142 GB, free: 384.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0245/10.65, allocations: 10.88 MB / 3.152 GB, free: 373.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0524/10.7, allocations: 6.275 MB / 3.159 GB, free: 368.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05396/10.75, allocations: 30.87 MB / 3.189 GB, free: 337.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009085/10.76, allocations: 7.078 MB / 3.196 GB, free: 330.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.02012/10.78, allocations: 3.729 MB / 3.199 GB, free: 327 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004936/10.79, allocations: 0.9521 MB / 3.2 GB, free: 326.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.062e-06/10.79, allocations: 0 / 3.2 GB, free: 326.1 MB / 1.167 GB Notification: Performance of Templates: time 0.8841/11.67, allocations: 394.3 MB / 3.585 GB, free: 461.1 MB / 1.167 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)