Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.326/2.326, allocations: 251.3 MB / 266.2 MB, free: 11.5 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001395/0.001395, allocations: 181.5 kB / 325.8 MB, free: 2.77 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.439/2.439, allocations: 205.4 MB / 0.5767 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009335/0.0009327, allocations: 79.77 kB / 0.6812 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004929/0.0004932, allocations: 9.5 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2071, allocations: 106.3 MB / 0.899 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 1.185/1.392, allocations: 329.6 MB / 1.221 GB, free: 3.895 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1691/1.561, allocations: 72.85 MB / 1.292 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02007/1.582, allocations: 377.2 kB / 1.292 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.02025/1.602, allocations: 3.137 MB / 1.295 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.03996/1.642, allocations: 8.847 MB / 1.304 GB, free: 14.52 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0275/1.669, allocations: 5.968 MB / 1.31 GB, free: 8.609 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.05623/1.726, allocations: 32.91 MB / 1.342 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03161/1.757, allocations: 14.55 MB / 1.356 GB, free: 8.945 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03362/1.791, allocations: 11.76 MB / 1.368 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03364/1.825, allocations: 12.53 MB / 1.38 GB, free: 0.5664 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.006874/1.832, allocations: 0.9649 MB / 1.381 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01833/1.85, allocations: 3.28 MB / 1.384 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.009472/1.859, allocations: 4.018 MB / 1.388 GB, free: 8.285 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.009016/1.869, allocations: 2.627 MB / 1.391 GB, free: 5.645 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 1.513/3.382, allocations: 17.4 MB / 1.408 GB, free: 57.34 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/3.382, allocations: 0 / 1.408 GB, free: 57.34 MB / 0.9012 GB Notification: Performance of FrontEnd: time 2.285e-06/3.382, allocations: 0.5312 kB / 1.408 GB, free: 57.34 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.0007929/3.383, allocations: 0 / 1.408 GB, free: 57.34 MB / 0.9012 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.07864/3.461, allocations: 17.07 MB / 1.424 GB, free: 52 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/3.461, allocations: 14.45 kB / 1.424 GB, free: 52 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02045/3.482, allocations: 2.371 MB / 1.427 GB, free: 51.21 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04595/3.528, allocations: 12.08 MB / 1.438 GB, free: 49.52 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003246/3.531, allocations: 0.7836 MB / 1.439 GB, free: 49.5 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006014/3.537, allocations: 0.691 MB / 1.44 GB, free: 49.5 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05276/3.59, allocations: 13.97 MB / 1.453 GB, free: 48.96 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003641/3.59, allocations: 7.219 kB / 1.453 GB, free: 48.96 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004853/3.595, allocations: 251.9 kB / 1.454 GB, free: 48.96 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000232/3.595, allocations: 148.6 kB / 1.454 GB, free: 48.96 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05487/3.65, allocations: 18.94 MB / 1.472 GB, free: 48.86 MB / 0.9012 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.1795/3.83, allocations: 73.31 MB / 1.544 GB, free: 8.723 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02679/3.857, allocations: 10.55 MB / 1.554 GB, free: 5.434 MB / 0.9012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02192/3.879, allocations: 9.113 MB / 1.563 GB, free: 84 kB / 0.9012 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.107/3.986, allocations: 31.8 MB / 1.594 GB, free: 7.43 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02573/4.012, allocations: 8.832 MB / 1.603 GB, free: 1.457 MB / 0.9324 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05528/4.067, allocations: 9.951 MB / 1.613 GB, free: 8.195 MB / 0.948 GB Notification: Performance of pre-optimization done (n=387): time 3.365e-05/4.067, allocations: 0 / 1.613 GB, free: 8.195 MB / 0.948 GB Notification: Performance of matching and sorting (n=573): time 2.784/6.851, allocations: 217.5 MB / 1.825 GB, free: 0.4909 GB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.883e-05/6.851, allocations: 110 kB / 1.825 GB, free: 0.4909 GB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02745/6.878, allocations: 12.28 MB / 1.837 GB, free: 499.1 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.004127/6.882, allocations: 171.1 kB / 1.837 GB, free: 499 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.008487/6.891, allocations: 5.952 MB / 1.843 GB, free: 495.4 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.005269/6.896, allocations: 1.933 MB / 1.845 GB, free: 495 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003624/6.9, allocations: 142.8 kB / 1.845 GB, free: 494.9 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.000591/6.9, allocations: 0.5919 MB / 1.846 GB, free: 494.5 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02791/6.928, allocations: 9.171 MB / 1.855 GB, free: 491.2 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03024/6.959, allocations: 11.49 MB / 1.866 GB, free: 484.3 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03119/6.99, allocations: 10.01 MB / 1.876 GB, free: 478.9 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.035e-05/6.99, allocations: 14.44 kB / 1.876 GB, free: 478.9 MB / 1.104 GB Notification: Performance of matching and sorting (n=954) (initialization): time 1.582/8.572, allocations: 138.9 MB / 2.011 GB, free: 343.1 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008711/8.573, allocations: 1.532 MB / 2.013 GB, free: 340.9 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.579e-05/8.573, allocations: 44 kB / 2.013 GB, free: 340.8 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759/10.33, allocations: 166 MB / 2.175 GB, free: 174.6 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02704/10.36, allocations: 1.869 MB / 2.177 GB, free: 172.7 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3415/10.7, allocations: 95.31 MB / 2.27 GB, free: 77 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03007/10.73, allocations: 1.129 MB / 2.271 GB, free: 75.89 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005043/10.74, allocations: 0.7764 MB / 2.272 GB, free: 75.12 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/10.74, allocations: 7.984 kB / 2.272 GB, free: 75.11 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.272/13.01, allocations: 137.8 MB / 2.406 GB, free: 462.6 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/13.01, allocations: 51.75 kB / 2.406 GB, free: 462.6 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626/14.63, allocations: 165.9 MB / 2.568 GB, free: 306.5 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01761/14.65, allocations: 1.849 MB / 2.57 GB, free: 304.7 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3556/15.01, allocations: 99.35 MB / 2.667 GB, free: 205.3 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02928/15.04, allocations: 1.12 MB / 2.668 GB, free: 204.2 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005537/15.04, allocations: 0.7429 MB / 2.669 GB, free: 203.5 MB / 1.104 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.01849/15.06, allocations: 3.073 MB / 2.672 GB, free: 200.4 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008245/15.07, allocations: 1.189 MB / 2.673 GB, free: 199.9 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4262/15.5, allocations: 53.16 MB / 2.725 GB, free: 146.8 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001313/15.5, allocations: 71.98 kB / 2.725 GB, free: 146.7 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001738/15.5, allocations: 42.45 kB / 2.725 GB, free: 146.7 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4945/15.99, allocations: 47.59 MB / 2.772 GB, free: 98.93 MB / 1.104 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.446/16.44, allocations: 67.13 MB / 2.837 GB, free: 31.82 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001114/16.44, allocations: 8 kB / 2.837 GB, free: 31.81 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0129/16.45, allocations: 1.283 MB / 2.838 GB, free: 30.52 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.184/17.63, allocations: 49.25 MB / 2.887 GB, free: 466.9 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003017/17.64, allocations: 199.3 kB / 2.887 GB, free: 466.9 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1722/17.81, allocations: 41.39 MB / 2.927 GB, free: 457.1 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.437e-06/17.81, allocations: 10.84 kB / 2.927 GB, free: 457.1 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4796/18.29, allocations: 59.93 MB / 2.986 GB, free: 413 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0116/18.3, allocations: 2.672 MB / 2.988 GB, free: 410.9 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006237/18.31, allocations: 128 kB / 2.988 GB, free: 410.8 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02249/18.33, allocations: 0.9541 MB / 2.989 GB, free: 409.9 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00402/18.33, allocations: 0.4918 MB / 2.99 GB, free: 409.4 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002813/18.34, allocations: 267.8 kB / 2.99 GB, free: 409.2 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.02436/18.36, allocations: 8.329 MB / 2.998 GB, free: 400.9 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.082e-06/18.36, allocations: 0 / 2.998 GB, free: 400.9 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.07174/18.43, allocations: 6.822 MB / 3.005 GB, free: 394.2 MB / 1.104 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.005849/18.44, allocations: 1.258 MB / 3.006 GB, free: 393.2 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.1565/18.6, allocations: 37.56 MB / 3.043 GB, free: 355.8 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.871e-05/18.6, allocations: 0 / 3.043 GB, free: 355.8 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.05631/18.65, allocations: 10.68 MB / 3.053 GB, free: 345.2 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08138/18.73, allocations: 6.37 MB / 3.059 GB, free: 339.3 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09585/18.83, allocations: 30.69 MB / 3.089 GB, free: 309 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01386/18.84, allocations: 7.085 MB / 3.096 GB, free: 302 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.02946/18.87, allocations: 3.714 MB / 3.1 GB, free: 298.3 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007201/18.88, allocations: 0.9443 MB / 3.101 GB, free: 297.3 MB / 1.104 GB Notification: Performance of SimCode: time 1.663e-06/18.88, allocations: 0 / 3.101 GB, free: 297.3 MB / 1.104 GB Notification: Performance of Templates: time 1.539/20.42, allocations: 393.3 MB / 3.485 GB, free: 424.8 MB / 1.104 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)