Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.357/1.357, allocations: 252 MB / 268 MB, free: 10.85 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.0009542/0.0009542, allocations: 173.1 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.4 MB / 0.5786 GB, free: 20.12 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.0007389/0.0007388, allocations: 82.36 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 9.188 kB / 0.7976 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2102, allocations: 106.3 MB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 0.7749/0.9852, allocations: 349.1 MB / 1.242 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.116/1.101, allocations: 77.02 MB / 1.318 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02067/1.122, allocations: 377.2 kB / 1.318 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.01691/1.139, allocations: 4.333 MB / 1.322 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.03906/1.178, allocations: 12.05 MB / 1.334 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.02302/1.201, allocations: 8.465 MB / 1.342 GB, free: 6.406 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.05219/1.253, allocations: 44.61 MB / 1.386 GB, free: 9.645 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.681/1.934, allocations: 15.94 MB / 1.401 GB, free: 22.22 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03603/1.97, allocations: 13.3 MB / 1.414 GB, free: 22.2 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03148/2.002, allocations: 14.17 MB / 1.428 GB, free: 20.82 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.008117/2.01, allocations: 0.9941 MB / 1.429 GB, free: 20.82 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02124/2.031, allocations: 4.798 MB / 1.434 GB, free: 20.81 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.01111/2.043, allocations: 4.326 MB / 1.438 GB, free: 20.22 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.02228/2.065, allocations: 8.413 MB / 1.446 GB, free: 17.81 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.02904/2.094, allocations: 19.41 MB / 1.465 GB, free: 16.57 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/2.094, allocations: 3.094 kB / 1.465 GB, free: 16.57 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.655e-06/2.094, allocations: 0 / 1.465 GB, free: 16.57 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001047/2.095, allocations: 4 kB / 1.465 GB, free: 16.57 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.05431/2.149, allocations: 17.98 MB / 1.483 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/2.149, allocations: 9.406 kB / 1.483 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01266/2.162, allocations: 2.302 MB / 1.485 GB, free: 9.188 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0352/2.197, allocations: 13.91 MB / 1.499 GB, free: 4.652 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001416/2.199, allocations: 0.7294 MB / 1.499 GB, free: 4.586 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004933/2.204, allocations: 0.7865 MB / 1.5 GB, free: 4.586 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03805/2.242, allocations: 14.88 MB / 1.515 GB, free: 60 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004368/2.242, allocations: 24.52 kB / 1.515 GB, free: 52 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004184/2.246, allocations: 289.4 kB / 1.515 GB, free: 52 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001797/2.247, allocations: 178.4 kB / 1.515 GB, free: 52 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0388/2.285, allocations: 19.43 MB / 1.534 GB, free: 13.49 MB / 0.9167 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.1416/2.427, allocations: 77.41 MB / 1.61 GB, free: 188 kB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01899/2.446, allocations: 10.56 MB / 1.62 GB, free: 9.992 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01601/2.462, allocations: 9.073 MB / 1.629 GB, free: 0.9102 MB / 0.9792 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.07843/2.541, allocations: 32.62 MB / 1.661 GB, free: 15.92 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01659/2.557, allocations: 8.807 MB / 1.669 GB, free: 7.09 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03095/2.588, allocations: 9.841 MB / 1.679 GB, free: 13.38 MB / 1.042 GB Notification: Performance of pre-optimization done (n=421): time 2.797e-05/2.588, allocations: 0 / 1.679 GB, free: 13.38 MB / 1.042 GB Notification: Performance of matching and sorting (n=605): time 1.342/3.93, allocations: 195.6 MB / 1.87 GB, free: 0.5128 GB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/3.93, allocations: 113 kB / 1.87 GB, free: 0.5127 GB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02244/3.953, allocations: 13.14 MB / 1.883 GB, free: 0.5091 GB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.003424/3.956, allocations: 178 kB / 1.883 GB, free: 0.5089 GB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.006737/3.963, allocations: 6.591 MB / 1.889 GB, free: 0.5046 GB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.004682/3.968, allocations: 2.045 MB / 1.891 GB, free: 0.5041 GB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00257/3.97, allocations: 158 kB / 1.892 GB, free: 0.504 GB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0004899/3.971, allocations: 0.6123 MB / 1.892 GB, free: 0.5035 GB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0166/3.987, allocations: 9.864 MB / 1.902 GB, free: 0.4977 GB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01878/4.006, allocations: 12.38 MB / 1.914 GB, free: 496.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03667/4.043, allocations: 21.96 MB / 1.935 GB, free: 473.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-05/4.043, allocations: 12 kB / 1.935 GB, free: 473.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=1027) (initialization): time 0.6039/4.647, allocations: 125.1 MB / 2.058 GB, free: 348.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008338/4.648, allocations: 1.734 MB / 2.059 GB, free: 346.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.022e-05/4.648, allocations: 52 kB / 2.059 GB, free: 346.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6317/5.28, allocations: 143.6 MB / 2.2 GB, free: 202.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01079/5.29, allocations: 1.993 MB / 2.201 GB, free: 200.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1511/5.442, allocations: 78.79 MB / 2.278 GB, free: 121.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0185/5.46, allocations: 1.174 MB / 2.28 GB, free: 120 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004403/5.464, allocations: 0.7841 MB / 2.28 GB, free: 119.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/5.465, allocations: 4 kB / 2.28 GB, free: 119.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.041/6.505, allocations: 122.5 MB / 2.4 GB, free: 495.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001774/6.506, allocations: 54.25 kB / 2.4 GB, free: 495.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6345/7.14, allocations: 143.3 MB / 2.54 GB, free: 428.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009618/7.15, allocations: 1.968 MB / 2.542 GB, free: 426.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1457/7.296, allocations: 82.73 MB / 2.623 GB, free: 344.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01836/7.314, allocations: 1.156 MB / 2.624 GB, free: 343 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003934/7.318, allocations: 0.7568 MB / 2.624 GB, free: 342.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (767): * Single equations (assignments): 753 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.0115/7.329, allocations: 3.329 MB / 2.628 GB, free: 339 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005135/7.335, allocations: 1.272 MB / 2.629 GB, free: 338.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2022/7.537, allocations: 48.97 MB / 2.677 GB, free: 289.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001182/7.537, allocations: 76 kB / 2.677 GB, free: 289.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.572e-05/7.537, allocations: 35.98 kB / 2.677 GB, free: 289.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1798/7.717, allocations: 43.37 MB / 2.719 GB, free: 245.9 MB / 1.151 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.2194/7.936, allocations: 63.81 MB / 2.782 GB, free: 182.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-05/7.936, allocations: 8 kB / 2.782 GB, free: 182.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007277/7.944, allocations: 1.335 MB / 2.783 GB, free: 180.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1939/8.138, allocations: 42.79 MB / 2.825 GB, free: 137.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002502/8.14, allocations: 203.9 kB / 2.825 GB, free: 137.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06243/8.203, allocations: 35.6 MB / 2.86 GB, free: 102 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.445e-06/8.203, allocations: 12.03 kB / 2.86 GB, free: 102 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2021/8.405, allocations: 55.87 MB / 2.914 GB, free: 46.57 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01087/8.416, allocations: 2.82 MB / 2.917 GB, free: 43.91 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005153/8.421, allocations: 132 kB / 2.917 GB, free: 43.78 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.015/8.436, allocations: 0.9854 MB / 2.918 GB, free: 42.82 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003339/8.439, allocations: 0.4897 MB / 2.918 GB, free: 42.32 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001437/8.441, allocations: 283.8 kB / 2.919 GB, free: 42.05 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.01882/8.46, allocations: 8.927 MB / 2.927 GB, free: 33.19 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.21e-07/8.46, allocations: 0 / 2.927 GB, free: 33.19 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.04915/8.509, allocations: 7.289 MB / 2.935 GB, free: 26.03 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (541): * Single equations (assignments): 519 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(9,78), (5,80), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005576/8.514, allocations: 1.595 MB / 2.936 GB, free: 24.66 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.5737/9.088, allocations: 37.82 MB / 2.973 GB, free: 0.511 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/9.088, allocations: 10.12 kB / 2.973 GB, free: 0.511 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.02442/9.113, allocations: 10.47 MB / 2.983 GB, free: 0.5082 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0549/9.168, allocations: 6.889 MB / 2.99 GB, free: 0.507 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05667/9.224, allocations: 34.37 MB / 3.024 GB, free: 0.4904 GB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009229/9.234, allocations: 7.35 MB / 3.031 GB, free: 0.4888 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005259/9.239, allocations: 1.1 MB / 3.032 GB, free: 0.4887 GB / 1.151 GB Notification: Performance of SimCode: time 1.132e-06/9.239, allocations: 3.594 kB / 3.032 GB, free: 0.4887 GB / 1.151 GB Notification: Performance of Templates: time 1.918/11.16, allocations: 0.8272 GB / 3.859 GB, free: 219.8 MB / 1.151 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)