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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009441/0.000944, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.589/1.589, allocations: 252 MB / 0.5102 GB, free: 4.852 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005708/0.0005709, allocations: 12 kB / 0.6243 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4643/0.4649, allocations: 106.3 MB / 0.7281 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 0.7402/1.205, allocations: 329.6 MB / 1.05 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1071/1.312, allocations: 72.84 MB / 1.121 GB, free: 14.78 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01667/1.329, allocations: 369.2 kB / 1.121 GB, free: 14.42 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01318/1.342, allocations: 3.148 MB / 1.125 GB, free: 11.25 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.03413/1.376, allocations: 8.843 MB / 1.133 GB, free: 2.379 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01782/1.394, allocations: 5.963 MB / 1.139 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.03789/1.432, allocations: 32.56 MB / 1.171 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02297/1.455, allocations: 14.14 MB / 1.185 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0257/1.481, allocations: 11.76 MB / 1.196 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.023/1.504, allocations: 12.53 MB / 1.208 GB, free: 5.207 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.005158/1.509, allocations: 0.9609 MB / 1.209 GB, free: 4.246 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0132/1.522, allocations: 3.292 MB / 1.212 GB, free: 0.9492 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.007089/1.529, allocations: 4.018 MB / 1.216 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.006988/1.536, allocations: 2.627 MB / 1.219 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.02149/1.558, allocations: 17.39 MB / 1.236 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.558, allocations: 4 kB / 1.236 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.984e-06/1.558, allocations: 0 / 1.236 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0006947/1.559, allocations: 0 / 1.236 GB, free: 8.848 MB / 0.9044 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.04097/1.6, allocations: 17.07 MB / 1.253 GB, free: 7.637 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/1.6, allocations: 8.031 kB / 1.253 GB, free: 7.629 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/1.611, allocations: 2.375 MB / 1.255 GB, free: 5.234 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9603/2.572, allocations: 12.08 MB / 1.267 GB, free: 352.5 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001992/2.574, allocations: 0.7844 MB / 1.267 GB, free: 352.3 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005514/2.579, allocations: 0.6877 MB / 1.268 GB, free: 352.1 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03731/2.617, allocations: 13.98 MB / 1.282 GB, free: 345.4 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002141/2.617, allocations: 7.906 kB / 1.282 GB, free: 345.4 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003356/2.62, allocations: 249.2 kB / 1.282 GB, free: 345.2 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001625/2.62, allocations: 150 kB / 1.282 GB, free: 345.2 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03421/2.655, allocations: 18.94 MB / 1.301 GB, free: 335.6 MB / 0.92 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.1223/2.777, allocations: 73.29 MB / 1.372 GB, free: 259.7 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01623/2.793, allocations: 10.55 MB / 1.383 GB, free: 249.4 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01306/2.806, allocations: 9.097 MB / 1.391 GB, free: 240.3 MB / 0.92 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.06676/2.873, allocations: 31.8 MB / 1.423 GB, free: 208.3 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01609/2.889, allocations: 8.841 MB / 1.431 GB, free: 199.4 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02861/2.918, allocations: 9.954 MB / 1.441 GB, free: 189.9 MB / 0.92 GB Notification: Performance of pre-optimization done (n=387): time 4.15e-05/2.918, allocations: 0 / 1.441 GB, free: 189.9 MB / 0.92 GB Notification: Performance of matching and sorting (n=573): time 1.273/4.191, allocations: 217.5 MB / 1.653 GB, free: 314.7 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.609e-05/4.191, allocations: 114.5 kB / 1.653 GB, free: 314.7 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02048/4.212, allocations: 12.28 MB / 1.665 GB, free: 310.7 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.003814/4.216, allocations: 173.2 kB / 1.666 GB, free: 310.6 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.006799/4.222, allocations: 5.948 MB / 1.671 GB, free: 307 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.004588/4.227, allocations: 1.929 MB / 1.673 GB, free: 306 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002687/4.23, allocations: 148.9 kB / 1.673 GB, free: 305.9 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000467/4.23, allocations: 0.5902 MB / 1.674 GB, free: 305.4 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01627/4.246, allocations: 9.164 MB / 1.683 GB, free: 300.7 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01863/4.265, allocations: 11.49 MB / 1.694 GB, free: 292.9 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01808/4.283, allocations: 10.01 MB / 1.704 GB, free: 287.5 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.128e-05/4.283, allocations: 16.75 kB / 1.704 GB, free: 287.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=954) (initialization): time 0.597/4.88, allocations: 138.9 MB / 1.84 GB, free: 152.7 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008253/4.881, allocations: 1.535 MB / 1.841 GB, free: 150.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.812e-05/4.881, allocations: 44 kB / 1.841 GB, free: 150.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239/6.121, allocations: 166 MB / 2.003 GB, free: 292.9 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009443/6.13, allocations: 1.862 MB / 2.005 GB, free: 292.9 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1712/6.302, allocations: 95.3 MB / 2.098 GB, free: 225.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01861/6.32, allocations: 1.138 MB / 2.099 GB, free: 224.2 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005096/6.325, allocations: 0.7701 MB / 2.1 GB, free: 223.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/6.325, allocations: 5.875 kB / 2.1 GB, free: 223.5 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5851/6.911, allocations: 137.8 MB / 2.235 GB, free: 85.63 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001422/6.911, allocations: 48.75 kB / 2.235 GB, free: 85.58 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176/8.087, allocations: 165.9 MB / 2.397 GB, free: 259 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008563/8.095, allocations: 1.848 MB / 2.398 GB, free: 257.2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1922/8.287, allocations: 99.35 MB / 2.495 GB, free: 157.8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01666/8.304, allocations: 1.129 MB / 2.496 GB, free: 156.7 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004167/8.308, allocations: 0.7343 MB / 2.497 GB, free: 156 MB / 0.92 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 (679): * Single equations (assignments): 665 * 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 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01129/8.32, allocations: 3.074 MB / 2.5 GB, free: 153 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005242/8.325, allocations: 1.191 MB / 2.501 GB, free: 152.4 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1902/8.515, allocations: 53.15 MB / 2.553 GB, free: 99.3 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001053/8.515, allocations: 79.92 kB / 2.553 GB, free: 99.22 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.953e-05/8.515, allocations: 36 kB / 2.553 GB, free: 99.19 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1727/8.688, allocations: 47.57 MB / 2.6 GB, free: 51.48 MB / 0.92 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.6891/9.377, allocations: 67.1 MB / 2.665 GB, free: 279.6 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-05/9.377, allocations: 7.594 kB / 2.665 GB, free: 279.6 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007115/9.384, allocations: 1.281 MB / 2.667 GB, free: 279.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1861/9.571, allocations: 49.26 MB / 2.715 GB, free: 270.6 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002315/9.573, allocations: 195.8 kB / 2.715 GB, free: 270.6 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07364/9.647, allocations: 41.39 MB / 2.755 GB, free: 233.9 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/9.647, allocations: 12.03 kB / 2.755 GB, free: 233.9 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1902/9.837, allocations: 59.89 MB / 2.814 GB, free: 174.7 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008467/9.845, allocations: 2.677 MB / 2.816 GB, free: 172.2 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00494/9.85, allocations: 128 kB / 2.817 GB, free: 172.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01298/9.863, allocations: 0.9479 MB / 2.817 GB, free: 171.2 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003036/9.866, allocations: 0.4984 MB / 2.818 GB, free: 170.7 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001486/9.868, allocations: 267.8 kB / 2.818 GB, free: 170.4 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0141/9.882, allocations: 8.323 MB / 2.826 GB, free: 162.2 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.41e-07/9.882, allocations: 0 / 2.826 GB, free: 162.2 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.04072/9.923, allocations: 6.824 MB / 2.833 GB, free: 155.4 MB / 0.92 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.004372/9.927, allocations: 1.258 MB / 2.834 GB, free: 154.5 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.07666/10, allocations: 37.56 MB / 2.871 GB, free: 117 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/10, allocations: 7.938 kB / 2.871 GB, free: 117 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.02157/10.03, allocations: 10.67 MB / 2.881 GB, free: 106.4 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03512/10.06, allocations: 6.382 MB / 2.888 GB, free: 100.5 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0497/10.11, allocations: 30.68 MB / 2.918 GB, free: 69.81 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0112/10.12, allocations: 7.081 MB / 2.924 GB, free: 62.68 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.01925/10.14, allocations: 3.71 MB / 2.928 GB, free: 58.96 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004553/10.15, allocations: 0.9521 MB / 2.929 GB, free: 58.01 MB / 0.92 GB Notification: Performance of SimCode: time 1.122e-06/10.15, allocations: 0 / 2.929 GB, free: 58.01 MB / 0.92 GB Notification: Performance of Templates: time 1.318/11.46, allocations: 393.4 MB / 3.313 GB, free: 288.2 MB / 0.92 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: