Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.274/2.274, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.001338/0.001338, allocations: 174.9 kB / 325.8 MB, free: 2.781 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.48/2.48, allocations: 205.4 MB / 0.5767 GB, free: 20.72 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.0009765/0.0009762, allocations: 92.23 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006646/0.0006648, allocations: 12.25 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2141, allocations: 106.3 MB / 0.899 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 1.172/1.387, allocations: 329.6 MB / 1.221 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1574/1.544, allocations: 72.85 MB / 1.292 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01739/1.561, allocations: 381.2 kB / 1.292 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01685/1.578, allocations: 3.133 MB / 1.295 GB, free: 7.371 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.05642/1.635, allocations: 8.841 MB / 1.304 GB, free: 14.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.04172/1.677, allocations: 5.966 MB / 1.31 GB, free: 8.598 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.06336/1.74, allocations: 32.91 MB / 1.342 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03316/1.773, allocations: 13.45 MB / 1.355 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03587/1.809, allocations: 10.05 MB / 1.365 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02312/1.832, allocations: 9.041 MB / 1.374 GB, free: 6.867 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.004681/1.837, allocations: 0.4922 MB / 1.374 GB, free: 6.375 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01626/1.853, allocations: 2.815 MB / 1.377 GB, free: 3.555 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.006915/1.86, allocations: 2.883 MB / 1.38 GB, free: 0.6602 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.007983/1.868, allocations: 2.631 MB / 1.382 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 1.835/3.703, allocations: 14.41 MB / 1.397 GB, free: 52.79 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/3.703, allocations: 1 kB / 1.397 GB, free: 52.79 MB / 0.9012 GB Notification: Performance of FrontEnd: time 2.956e-06/3.703, allocations: 0 / 1.397 GB, free: 52.79 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.0007484/3.704, allocations: 0 / 1.397 GB, free: 52.79 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.07118/3.775, allocations: 13.78 MB / 1.41 GB, free: 47.55 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/3.775, allocations: 9.156 kB / 1.41 GB, free: 47.55 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02227/3.798, allocations: 2.221 MB / 1.412 GB, free: 46.76 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05709/3.855, allocations: 11.06 MB / 1.423 GB, free: 45.05 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005069/3.86, allocations: 0.7798 MB / 1.424 GB, free: 45.01 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004421/3.864, allocations: 0.6899 MB / 1.424 GB, free: 45.01 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03439/3.899, allocations: 8.902 MB / 1.433 GB, free: 43.94 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003864/3.899, allocations: 15.78 kB / 1.433 GB, free: 43.94 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002163/3.901, allocations: 249.1 kB / 1.433 GB, free: 43.94 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002676/3.902, allocations: 160.1 kB / 1.434 GB, free: 43.93 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02676/3.929, allocations: 7.354 MB / 1.441 GB, free: 43.85 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.1013/4.03, allocations: 50.55 MB / 1.49 GB, free: 15.67 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01547/4.045, allocations: 5.463 MB / 1.495 GB, free: 15.49 MB / 0.9012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01082/4.056, allocations: 3.974 MB / 1.499 GB, free: 15.41 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 evalFunc (simulation): time 0.04757/4.104, allocations: 13.37 MB / 1.512 GB, free: 12.3 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009969/4.114, allocations: 3.673 MB / 1.516 GB, free: 12.18 MB / 0.9012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01424/4.128, allocations: 1.859 MB / 1.518 GB, free: 11.73 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=320): time 2.255e-05/4.128, allocations: 0 / 1.518 GB, free: 11.73 MB / 0.9012 GB Notification: Performance of matching and sorting (n=506): time 0.3243/4.453, allocations: 51.55 MB / 1.568 GB, free: 12.68 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/4.453, allocations: 111.4 kB / 1.568 GB, free: 12.56 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0331/4.486, allocations: 12.51 MB / 1.58 GB, free: 3.41 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.002112/4.488, allocations: 165.2 kB / 1.581 GB, free: 3.34 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.009403/4.497, allocations: 6.139 MB / 1.587 GB, free: 0.6445 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.003438/4.501, allocations: 1.721 MB / 1.588 GB, free: 15.18 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001675/4.503, allocations: 143.3 kB / 1.588 GB, free: 15.16 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0006159/4.503, allocations: 0.5906 MB / 1.589 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01917/4.523, allocations: 4.936 MB / 1.594 GB, free: 11.19 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02241/4.545, allocations: 7.596 MB / 1.601 GB, free: 4.164 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02192/4.567, allocations: 5.692 MB / 1.607 GB, free: 344 kB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.639e-05/4.567, allocations: 16 kB / 1.607 GB, free: 328 kB / 0.948 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.1019/4.669, allocations: 16.81 MB / 1.623 GB, free: 3.828 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.002428/4.671, allocations: 1.932 MB / 1.625 GB, free: 1.285 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002309/4.672, allocations: 60 kB / 1.625 GB, free: 1.227 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04476/4.717, allocations: 4.655 MB / 1.63 GB, free: 13.13 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02104/4.738, allocations: 1.958 MB / 1.632 GB, free: 11.31 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02092/4.759, allocations: 10.95 MB / 1.642 GB, free: 2.367 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02216/4.781, allocations: 1.14 MB / 1.643 GB, free: 1.344 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002569/4.783, allocations: 461.4 kB / 1.644 GB, free: 0.9492 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/4.784, allocations: 4 kB / 1.644 GB, free: 0.9453 MB / 0.9793 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06159/4.845, allocations: 15.71 MB / 1.659 GB, free: 5.84 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002004/4.845, allocations: 60 kB / 1.659 GB, free: 5.781 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02281/4.868, allocations: 4.42 MB / 1.664 GB, free: 1.91 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01813/4.886, allocations: 1.94 MB / 1.665 GB, free: 116 kB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03846/4.925, allocations: 15.01 MB / 1.68 GB, free: 5.023 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02093/4.946, allocations: 1.125 MB / 1.681 GB, free: 4.016 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002374/4.948, allocations: 435.3 kB / 1.682 GB, free: 3.648 MB / 1.011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (744): * Single equations (assignments): 731 * 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: 2 * 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: 2 {5 80,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.01017/4.958, allocations: 3.106 MB / 1.685 GB, free: 1.703 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003895/4.962, allocations: 1.191 MB / 1.686 GB, free: 0.4961 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05761/5.02, allocations: 14.57 MB / 1.7 GB, free: 5.969 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001173/5.02, allocations: 60 kB / 1.7 GB, free: 5.91 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/5.02, allocations: 3.938 kB / 1.7 GB, free: 5.906 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04903/5.069, allocations: 11.91 MB / 1.712 GB, free: 10.47 MB / 1.042 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.09284/5.162, allocations: 25.87 MB / 1.737 GB, free: 0.5508 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.625e-05/5.162, allocations: 4 kB / 1.737 GB, free: 0.5469 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01229/5.175, allocations: 1.175 MB / 1.738 GB, free: 15.41 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01898/5.194, allocations: 3.272 MB / 1.741 GB, free: 12.15 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001394/5.195, allocations: 171.9 kB / 1.742 GB, free: 11.98 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01629/5.211, allocations: 9.582 MB / 1.751 GB, free: 2.219 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-05/5.211, allocations: 12.03 kB / 1.751 GB, free: 2.211 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07141/5.283, allocations: 19.63 MB / 1.77 GB, free: 14.41 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01065/5.294, allocations: 2.277 MB / 1.772 GB, free: 12.09 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004694/5.298, allocations: 108 kB / 1.772 GB, free: 11.99 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01851/5.317, allocations: 0.9671 MB / 1.773 GB, free: 11.02 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001821/5.319, allocations: 397.5 kB / 1.774 GB, free: 10.63 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001028/5.32, allocations: 235.8 kB / 1.774 GB, free: 10.4 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.02343/5.343, allocations: 8.45 MB / 1.782 GB, free: 2.004 MB / 1.104 GB Notification: Performance of sort global known variables: time 2.144e-06/5.343, allocations: 0 / 1.782 GB, free: 2.004 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.04247/5.386, allocations: 5.362 MB / 1.787 GB, free: 12.64 MB / 1.12 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 (441): * Single equations (assignments): 420 * 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: 3 * 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: 3 {9 78,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.005984/5.392, allocations: 1.229 MB / 1.789 GB, free: 11.55 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.8381/6.23, allocations: 19.33 MB / 1.807 GB, free: 289.1 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/6.23, allocations: 2.875 kB / 1.807 GB, free: 289.1 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.02189/6.252, allocations: 5.49 MB / 1.813 GB, free: 289.1 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05304/6.305, allocations: 6.052 MB / 1.819 GB, free: 288.8 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07205/6.377, allocations: 27.89 MB / 1.846 GB, free: 278.3 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01411/6.391, allocations: 6.811 MB / 1.853 GB, free: 277.2 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.02819/6.419, allocations: 3.81 MB / 1.856 GB, free: 276.3 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00645/6.426, allocations: 0.9129 MB / 1.857 GB, free: 276.3 MB / 1.12 GB Notification: Performance of SimCode: time 1.072e-06/6.426, allocations: 0 / 1.857 GB, free: 276.3 MB / 1.12 GB Notification: Performance of Templates: time 0.68/7.106, allocations: 248 MB / 2.099 GB, free: 60.17 MB / 1.12 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)