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.621/1.621, allocations: 288.4 MB / 303.7 MB, free: 8.203 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.001008/0.001008, allocations: 184.5 kB / 372.3 MB, free: 10.16 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.392/1.392, allocations: 205.4 MB / 0.631 GB, free: 9.922 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.0007234/0.0007235, allocations: 97.19 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003512, allocations: 11.91 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1848, allocations: 115.3 MB / 0.9801 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 0.7061/0.891, allocations: 329.6 MB / 1.302 GB, free: 4.676 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1054/0.9964, allocations: 72.95 MB / 1.373 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01986/1.016, allocations: 373.2 kB / 1.374 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01425/1.031, allocations: 3.3 MB / 1.377 GB, free: 7.906 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.05036/1.081, allocations: 9.416 MB / 1.386 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.02318/1.104, allocations: 6.054 MB / 1.392 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.04705/1.151, allocations: 33.01 MB / 1.424 GB, free: 7.297 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 1.166/2.317, allocations: 15.03 MB / 1.439 GB, free: 50.66 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03275/2.35, allocations: 12.19 MB / 1.451 GB, free: 50.61 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02687/2.377, allocations: 12.54 MB / 1.463 GB, free: 50.58 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.007025/2.384, allocations: 0.9657 MB / 1.464 GB, free: 50.58 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01906/2.403, allocations: 3.926 MB / 1.468 GB, free: 50.51 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.01013/2.413, allocations: 4.026 MB / 1.472 GB, free: 50.51 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01967/2.433, allocations: 7.467 MB / 1.479 GB, free: 50.48 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02385/2.457, allocations: 17.58 MB / 1.496 GB, free: 49.25 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/2.457, allocations: 3.875 kB / 1.496 GB, free: 49.25 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.753e-06/2.457, allocations: 4 kB / 1.496 GB, free: 49.25 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000834/2.457, allocations: 0 / 1.496 GB, free: 49.25 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.04588/2.503, allocations: 16.95 MB / 1.513 GB, free: 43.29 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/2.503, allocations: 14.03 kB / 1.513 GB, free: 43.28 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01298/2.516, allocations: 2.372 MB / 1.515 GB, free: 42.45 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03223/2.549, allocations: 12.59 MB / 1.527 GB, free: 38.91 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00174/2.55, allocations: 0.783 MB / 1.528 GB, free: 38.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004691/2.555, allocations: 0.6956 MB / 1.529 GB, free: 38.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03737/2.592, allocations: 14.02 MB / 1.542 GB, free: 34.55 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002848/2.593, allocations: 18.48 kB / 1.542 GB, free: 34.54 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00387/2.597, allocations: 242.6 kB / 1.543 GB, free: 34.54 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001707/2.597, allocations: 148.7 kB / 1.543 GB, free: 34.54 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03653/2.633, allocations: 19.01 MB / 1.561 GB, free: 31.79 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.1219/2.755, allocations: 73.43 MB / 1.633 GB, free: 6.531 MB / 0.9793 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0178/2.773, allocations: 10.62 MB / 1.644 GB, free: 0.5625 MB / 0.9793 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01424/2.787, allocations: 9.134 MB / 1.652 GB, free: 11.2 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.06567/2.853, allocations: 31.89 MB / 1.684 GB, free: 2.523 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01409/2.867, allocations: 8.886 MB / 1.692 GB, free: 12.52 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02916/2.897, allocations: 9.952 MB / 1.702 GB, free: 3.254 MB / 1.026 GB Notification: Performance of pre-optimization done (n=387): time 3.157e-05/2.897, allocations: 0 / 1.702 GB, free: 3.254 MB / 1.026 GB Notification: Performance of matching and sorting (n=573): time 1.481/4.377, allocations: 220 MB / 1.917 GB, free: 0.4901 GB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/4.377, allocations: 114.7 kB / 1.917 GB, free: 0.49 GB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02295/4.4, allocations: 12.28 MB / 1.929 GB, free: 495.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.004942/4.405, allocations: 169.6 kB / 1.929 GB, free: 495.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.006862/4.412, allocations: 5.951 MB / 1.935 GB, free: 491.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004523/4.417, allocations: 1.93 MB / 1.937 GB, free: 491 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00318/4.42, allocations: 144.1 kB / 1.937 GB, free: 490.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0005514/4.421, allocations: 0.5991 MB / 1.938 GB, free: 490.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01701/4.438, allocations: 9.387 MB / 1.947 GB, free: 485.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02931/4.467, allocations: 11.72 MB / 1.958 GB, free: 477.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04728/4.514, allocations: 20.7 MB / 1.978 GB, free: 462.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-05/4.514, allocations: 19.94 kB / 1.978 GB, free: 462.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.668/5.182, allocations: 139.3 MB / 2.114 GB, free: 323.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007607/5.183, allocations: 1.541 MB / 2.116 GB, free: 321 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/5.183, allocations: 47.75 kB / 2.116 GB, free: 320.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7105/5.894, allocations: 166.1 MB / 2.278 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01121/5.905, allocations: 1.944 MB / 2.28 GB, free: 152.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1888/6.094, allocations: 95.44 MB / 2.373 GB, free: 56.88 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01883/6.113, allocations: 1.214 MB / 2.374 GB, free: 55.68 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004795/6.118, allocations: 0.7684 MB / 2.375 GB, free: 54.91 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/6.118, allocations: 4 kB / 2.375 GB, free: 54.91 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.17/7.288, allocations: 138.2 MB / 2.51 GB, free: 463.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001147/7.288, allocations: 45.06 kB / 2.51 GB, free: 463.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7358/8.024, allocations: 165.8 MB / 2.672 GB, free: 308.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009724/8.033, allocations: 1.928 MB / 2.674 GB, free: 306.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2006/8.234, allocations: 99.54 MB / 2.771 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0178/8.252, allocations: 1.195 MB / 2.772 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005197/8.257, allocations: 0.7417 MB / 2.773 GB, free: 204.9 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.013/8.27, allocations: 3.081 MB / 2.776 GB, free: 201.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006212/8.276, allocations: 1.191 MB / 2.777 GB, free: 201.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2229/8.499, allocations: 53.54 MB / 2.83 GB, free: 147.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001165/8.5, allocations: 72 kB / 2.83 GB, free: 147.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001725/8.5, allocations: 36 kB / 2.83 GB, free: 147.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2064/8.706, allocations: 47.98 MB / 2.877 GB, free: 99.6 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.2482/8.954, allocations: 67.6 MB / 2.943 GB, free: 32.02 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.789e-05/8.955, allocations: 7.984 kB / 2.943 GB, free: 32.02 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007579/8.962, allocations: 1.355 MB / 2.944 GB, free: 30.66 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.7499/9.712, allocations: 49.25 MB / 2.992 GB, free: 474.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002594/9.715, allocations: 199.3 kB / 2.992 GB, free: 474.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08103/9.796, allocations: 41.4 MB / 3.033 GB, free: 463.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/9.796, allocations: 14.66 kB / 3.033 GB, free: 463.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2357/10.03, allocations: 60.51 MB / 3.092 GB, free: 433.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01173/10.04, allocations: 2.696 MB / 3.094 GB, free: 432.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006298/10.05, allocations: 127.9 kB / 3.095 GB, free: 432 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01625/10.07, allocations: 1.024 MB / 3.096 GB, free: 431.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004477/10.07, allocations: 0.4928 MB / 3.096 GB, free: 430.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002352/10.07, allocations: 271.8 kB / 3.096 GB, free: 430.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01914/10.09, allocations: 8.323 MB / 3.104 GB, free: 422.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.142e-06/10.09, allocations: 0 / 3.104 GB, free: 422.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.04887/10.14, allocations: 6.89 MB / 3.111 GB, free: 415.5 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.004501/10.15, allocations: 1.328 MB / 3.112 GB, free: 414.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.08979/10.24, allocations: 38.36 MB / 3.15 GB, free: 376.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/10.24, allocations: 0 / 3.15 GB, free: 376.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.02391/10.26, allocations: 10.87 MB / 3.16 GB, free: 365.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05215/10.31, allocations: 6.27 MB / 3.167 GB, free: 359.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05435/10.37, allocations: 30.88 MB / 3.197 GB, free: 329.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0109/10.38, allocations: 7.078 MB / 3.204 GB, free: 322.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.02043/10.4, allocations: 3.726 MB / 3.207 GB, free: 318.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004795/10.4, allocations: 0.9559 MB / 3.208 GB, free: 317.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.513e-06/10.4, allocations: 0 / 3.208 GB, free: 317.8 MB / 1.167 GB Notification: Performance of Templates: time 0.9399/11.34, allocations: 397.8 MB / 3.597 GB, free: 456.1 MB / 1.167 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)