Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.099/2.099, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001288/0.001288, allocations: 175.4 kB / 326.3 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.243/2.243, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008959/0.0008958, allocations: 94.28 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004496, allocations: 15.89 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1841, allocations: 106.2 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 1.041/1.225, allocations: 329.6 MB / 1.221 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1564/1.382, allocations: 72.86 MB / 1.293 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01601/1.398, allocations: 373.2 kB / 1.293 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01552/1.413, allocations: 3.137 MB / 1.296 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.03638/1.45, allocations: 8.842 MB / 1.305 GB, free: 14.65 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02561/1.475, allocations: 5.972 MB / 1.31 GB, free: 8.742 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.05598/1.531, allocations: 32.9 MB / 1.343 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03101/1.562, allocations: 13.46 MB / 1.356 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03063/1.593, allocations: 10.05 MB / 1.366 GB, free: 92 kB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02283/1.616, allocations: 9.045 MB / 1.374 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.004578/1.62, allocations: 0.4922 MB / 1.375 GB, free: 6.512 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01637/1.637, allocations: 2.815 MB / 1.378 GB, free: 3.691 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.006865/1.644, allocations: 2.883 MB / 1.38 GB, free: 0.7969 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.007734/1.652, allocations: 2.631 MB / 1.383 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 1.456/3.107, allocations: 14.41 MB / 1.397 GB, free: 53.86 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/3.107, allocations: 1.344 kB / 1.397 GB, free: 53.86 MB / 0.9012 GB Notification: Performance of FrontEnd: time 3.055e-06/3.107, allocations: 0.5312 kB / 1.397 GB, free: 53.86 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.0007067/3.108, allocations: 0 / 1.397 GB, free: 53.86 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.04866/3.157, allocations: 13.78 MB / 1.41 GB, free: 48.62 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/3.157, allocations: 9.031 kB / 1.41 GB, free: 48.62 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01584/3.173, allocations: 2.226 MB / 1.413 GB, free: 47.83 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03904/3.212, allocations: 11.04 MB / 1.423 GB, free: 46.14 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003203/3.215, allocations: 0.7852 MB / 1.424 GB, free: 46.1 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003021/3.218, allocations: 0.6895 MB / 1.425 GB, free: 46.1 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02921/3.247, allocations: 8.896 MB / 1.434 GB, free: 45.03 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002535/3.248, allocations: 19.06 kB / 1.434 GB, free: 45.03 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001617/3.249, allocations: 255.3 kB / 1.434 GB, free: 45.02 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002536/3.25, allocations: 154 kB / 1.434 GB, free: 45.02 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02683/3.276, allocations: 7.361 MB / 1.441 GB, free: 44.94 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.1025/3.379, allocations: 50.55 MB / 1.491 GB, free: 16.76 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01599/3.395, allocations: 5.461 MB / 1.496 GB, free: 16.58 MB / 0.9012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0111/3.406, allocations: 3.977 MB / 1.5 GB, free: 16.5 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.04816/3.454, allocations: 13.36 MB / 1.513 GB, free: 13.39 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009975/3.464, allocations: 3.679 MB / 1.516 GB, free: 13.27 MB / 0.9012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01427/3.479, allocations: 1.861 MB / 1.518 GB, free: 12.99 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=320): time 2.108e-05/3.479, allocations: 0 / 1.518 GB, free: 12.99 MB / 0.9012 GB Notification: Performance of matching and sorting (n=506): time 0.3033/3.782, allocations: 51.55 MB / 1.569 GB, free: 14.16 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/3.782, allocations: 107.4 kB / 1.569 GB, free: 14.04 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03149/3.814, allocations: 12.51 MB / 1.581 GB, free: 4.891 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.002113/3.816, allocations: 165.5 kB / 1.581 GB, free: 4.82 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.009297/3.825, allocations: 6.15 MB / 1.587 GB, free: 2.117 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.003244/3.828, allocations: 1.709 MB / 1.589 GB, free: 0.6484 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001178/3.83, allocations: 142.4 kB / 1.589 GB, free: 0.6211 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.0005877/3.83, allocations: 0.5948 MB / 1.589 GB, free: 140 kB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01878/3.849, allocations: 4.941 MB / 1.594 GB, free: 12.65 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02181/3.871, allocations: 7.596 MB / 1.602 GB, free: 5.621 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02073/3.892, allocations: 5.683 MB / 1.607 GB, free: 1.801 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.982e-05/3.892, allocations: 19.98 kB / 1.607 GB, free: 1.781 MB / 0.948 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.07159/3.963, allocations: 16.81 MB / 1.624 GB, free: 5.293 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.001887/3.965, allocations: 1.932 MB / 1.626 GB, free: 2.746 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001777/3.966, allocations: 60 kB / 1.626 GB, free: 2.688 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02895/3.995, allocations: 4.654 MB / 1.63 GB, free: 14.59 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02033/4.015, allocations: 1.951 MB / 1.632 GB, free: 12.78 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02141/4.036, allocations: 10.96 MB / 1.643 GB, free: 3.828 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02222/4.059, allocations: 1.133 MB / 1.644 GB, free: 2.812 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002563/4.061, allocations: 466.6 kB / 1.644 GB, free: 2.414 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/4.061, allocations: 4 kB / 1.644 GB, free: 2.41 MB / 0.9793 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06155/4.123, allocations: 15.7 MB / 1.66 GB, free: 7.305 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000204/4.123, allocations: 66.94 kB / 1.66 GB, free: 7.242 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0236/4.147, allocations: 4.418 MB / 1.664 GB, free: 3.375 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01807/4.165, allocations: 1.943 MB / 1.666 GB, free: 1.574 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03951/4.204, allocations: 15.03 MB / 1.681 GB, free: 6.461 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02109/4.226, allocations: 1.115 MB / 1.682 GB, free: 5.461 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002434/4.228, allocations: 439.3 kB / 1.682 GB, free: 5.09 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.01031/4.238, allocations: 3.1 MB / 1.685 GB, free: 3.148 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004087/4.242, allocations: 1.188 MB / 1.686 GB, free: 1.945 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05942/4.302, allocations: 14.57 MB / 1.701 GB, free: 7.043 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04967/4.352, allocations: 11.91 MB / 1.712 GB, free: 11.14 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.046e-05/4.352, allocations: 0 / 1.712 GB, free: 11.14 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01003/4.362, allocations: 2.284 MB / 1.714 GB, free: 8.82 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004535/4.366, allocations: 104 kB / 1.714 GB, free: 8.719 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01868/4.385, allocations: 0.9748 MB / 1.715 GB, free: 7.742 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002288/4.387, allocations: 0.554 MB / 1.716 GB, free: 7.188 MB / 1.042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.09767/4.485, allocations: 13 MB / 1.729 GB, free: 10.21 MB / 1.057 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.07992/4.565, allocations: 16.25 MB / 1.745 GB, free: 9.82 MB / 1.073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01736/4.582, allocations: 4.69 MB / 1.749 GB, free: 5.102 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.02297/4.605, allocations: 8.445 MB / 1.757 GB, free: 12.71 MB / 1.089 GB Notification: Performance of Backend: time 7.31e-07/4.606, allocations: 0 / 1.757 GB, free: 12.71 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.07354/4.679, allocations: 16.54 MB / 1.774 GB, free: 12.67 MB / 1.104 GB Notification: Performance of SimCode: time 0.6902/5.369, allocations: 30.97 MB / 1.804 GB, free: 0.4919 GB / 1.104 GB Notification: Performance of Templates: time 0.6163/5.986, allocations: 274 MB / 2.071 GB, free: 266.2 MB / 1.104 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)