Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.647/1.647, allocations: 288.4 MB / 303.4 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.00108/0.00108, allocations: 182.9 kB / 372 MB, free: 10.26 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.488/1.488, allocations: 205.4 MB / 0.6307 GB, free: 9.977 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.0009649/0.0009649, allocations: 92.38 kB / 0.7441 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004077, allocations: 11.25 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2551, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 0.7707/1.026, allocations: 329.6 MB / 1.301 GB, free: 4.855 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1068/1.133, allocations: 72.94 MB / 1.373 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01836/1.151, allocations: 377.2 kB / 1.373 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01437/1.165, allocations: 3.148 MB / 1.376 GB, free: 8.246 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.02931/1.195, allocations: 8.836 MB / 1.385 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.01748/1.212, allocations: 6.022 MB / 1.391 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.03782/1.25, allocations: 32.57 MB / 1.422 GB, free: 8.699 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5721/1.822, allocations: 13.05 MB / 1.435 GB, free: 49.72 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0259/1.848, allocations: 10.1 MB / 1.445 GB, free: 49.7 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02008/1.868, allocations: 9.043 MB / 1.454 GB, free: 49.67 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.004821/1.873, allocations: 0.4942 MB / 1.454 GB, free: 49.67 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0147/1.888, allocations: 2.871 MB / 1.457 GB, free: 49.67 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.006473/1.894, allocations: 2.884 MB / 1.46 GB, free: 49.67 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.008614/1.903, allocations: 2.635 MB / 1.463 GB, free: 49.64 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02152/1.925, allocations: 14.5 MB / 1.477 GB, free: 48.56 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.925, allocations: 0 / 1.477 GB, free: 48.56 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.114e-06/1.925, allocations: 4.688 kB / 1.477 GB, free: 48.55 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008456/1.925, allocations: 0 / 1.477 GB, free: 48.55 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.03491/1.96, allocations: 13.81 MB / 1.49 GB, free: 42.65 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/1.96, allocations: 10.53 kB / 1.49 GB, free: 42.65 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/1.971, allocations: 2.219 MB / 1.492 GB, free: 41.82 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02821/1.999, allocations: 11.05 MB / 1.503 GB, free: 40.11 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001719/2.001, allocations: 0.7864 MB / 1.504 GB, free: 40.07 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00271/2.004, allocations: 0.6885 MB / 1.505 GB, free: 40.06 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01836/2.022, allocations: 8.948 MB / 1.513 GB, free: 38.98 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001135/2.022, allocations: 24.38 kB / 1.513 GB, free: 38.98 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006785/2.023, allocations: 253.5 kB / 1.514 GB, free: 38.98 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/2.023, allocations: 153 kB / 1.514 GB, free: 38.98 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01295/2.036, allocations: 7.425 MB / 1.521 GB, free: 38.89 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.06484/2.101, allocations: 50.44 MB / 1.57 GB, free: 22.59 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008888/2.11, allocations: 5.54 MB / 1.576 GB, free: 21.65 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00566/2.115, allocations: 4.005 MB / 1.58 GB, free: 21.02 MB / 0.9636 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.02821/2.144, allocations: 13.45 MB / 1.593 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005208/2.149, allocations: 3.726 MB / 1.596 GB, free: 13.88 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008566/2.158, allocations: 1.863 MB / 1.598 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=320): time 1.351e-05/2.158, allocations: 3.75 kB / 1.598 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of matching and sorting (n=506): time 0.197/2.355, allocations: 53.61 MB / 1.651 GB, free: 256 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.971e-05/2.355, allocations: 107.4 kB / 1.651 GB, free: 136 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02826/2.383, allocations: 12.51 MB / 1.663 GB, free: 6.984 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.002832/2.386, allocations: 166 kB / 1.663 GB, free: 6.914 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00842/2.394, allocations: 6.162 MB / 1.669 GB, free: 4.199 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.003357/2.398, allocations: 1.708 MB / 1.671 GB, free: 2.734 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008735/2.399, allocations: 148.5 kB / 1.671 GB, free: 2.703 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0004479/2.399, allocations: 0.5952 MB / 1.671 GB, free: 2.219 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01056/2.41, allocations: 5.153 MB / 1.676 GB, free: 14.54 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01279/2.422, allocations: 7.814 MB / 1.684 GB, free: 7.305 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01251/2.435, allocations: 5.864 MB / 1.69 GB, free: 3.312 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.521e-05/2.435, allocations: 20 kB / 1.69 GB, free: 3.293 MB / 1.026 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.04721/2.482, allocations: 17.21 MB / 1.707 GB, free: 6.426 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001902/2.484, allocations: 1.932 MB / 1.709 GB, free: 3.879 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000203/2.484, allocations: 60 kB / 1.709 GB, free: 3.82 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0162/2.501, allocations: 4.664 MB / 1.713 GB, free: 15.72 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01222/2.513, allocations: 2.036 MB / 1.715 GB, free: 13.82 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01499/2.528, allocations: 10.9 MB / 1.726 GB, free: 4.895 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01709/2.545, allocations: 1.215 MB / 1.727 GB, free: 3.797 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003164/2.548, allocations: 473.5 kB / 1.727 GB, free: 3.395 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/2.548, allocations: 4.938 kB / 1.727 GB, free: 3.391 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04533/2.594, allocations: 16.09 MB / 1.743 GB, free: 7.926 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000268/2.594, allocations: 61.75 kB / 1.743 GB, free: 7.867 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01408/2.608, allocations: 4.382 MB / 1.747 GB, free: 4.035 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01081/2.619, allocations: 2.022 MB / 1.749 GB, free: 2.156 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02843/2.647, allocations: 15.06 MB / 1.764 GB, free: 7 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01692/2.664, allocations: 1.21 MB / 1.765 GB, free: 5.793 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002698/2.667, allocations: 439.8 kB / 1.766 GB, free: 5.363 MB / 1.089 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 (748): * Single equations (assignments): 735 * 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.01108/2.678, allocations: 3.096 MB / 1.769 GB, free: 2.348 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004524/2.683, allocations: 1.188 MB / 1.77 GB, free: 1.145 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04105/2.724, allocations: 14.99 MB / 1.785 GB, free: 2.211 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.639e-05/2.724, allocations: 57.75 kB / 1.785 GB, free: 2.156 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.008e-05/2.724, allocations: 0 / 1.785 GB, free: 2.156 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03486/2.759, allocations: 12.29 MB / 1.797 GB, free: 5.875 MB / 1.12 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.08811/2.847, allocations: 26.34 MB / 1.822 GB, free: 11.54 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-05/2.847, allocations: 14.09 kB / 1.822 GB, free: 11.52 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007657/2.855, allocations: 1.237 MB / 1.824 GB, free: 10.33 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01179/2.867, allocations: 3.274 MB / 1.827 GB, free: 7.062 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001539/2.868, allocations: 167.9 kB / 1.827 GB, free: 6.898 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/2.88, allocations: 9.579 MB / 1.836 GB, free: 13.14 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-05/2.88, allocations: 10.53 kB / 1.836 GB, free: 13.14 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4844/3.364, allocations: 20.21 MB / 1.856 GB, free: 0.5091 GB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007933/3.372, allocations: 2.304 MB / 1.858 GB, free: 0.509 GB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003932/3.376, allocations: 105.2 kB / 1.858 GB, free: 0.509 GB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0125/3.389, allocations: 1.03 MB / 1.859 GB, free: 0.509 GB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009785/3.39, allocations: 391.6 kB / 1.86 GB, free: 0.509 GB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006731/3.391, allocations: 242.2 kB / 1.86 GB, free: 0.509 GB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01849/3.409, allocations: 8.449 MB / 1.868 GB, free: 0.5066 GB / 1.167 GB Notification: Performance of sort global known variables: time 5.01e-07/3.409, allocations: 3.469 kB / 1.868 GB, free: 0.5066 GB / 1.167 GB Notification: Performance of remove unused functions: time 0.03195/3.441, allocations: 5.414 MB / 1.874 GB, free: 0.5062 GB / 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 (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.00371/3.445, allocations: 1.261 MB / 1.875 GB, free: 0.506 GB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.04421/3.489, allocations: 19.96 MB / 1.894 GB, free: 0.5001 GB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/3.489, allocations: 1.656 kB / 1.894 GB, free: 0.5001 GB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0125/3.502, allocations: 5.689 MB / 1.9 GB, free: 0.4985 GB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03729/3.539, allocations: 6.06 MB / 1.906 GB, free: 0.4973 GB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05467/3.594, allocations: 28.09 MB / 1.933 GB, free: 496.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008195/3.602, allocations: 6.815 MB / 1.94 GB, free: 492.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01787/3.62, allocations: 3.849 MB / 1.944 GB, free: 489.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003857/3.624, allocations: 0.9096 MB / 1.944 GB, free: 488.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.853e-06/3.624, allocations: 0 / 1.944 GB, free: 488.5 MB / 1.167 GB Notification: Performance of Templates: time 0.3213/3.945, allocations: 249.3 MB / 2.188 GB, free: 241.3 MB / 1.167 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)