Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 252 MB / 268 MB, free: 10.86 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.00114/0.00114, allocations: 175.2 kB / 327.6 MB, free: 2.09 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.711/1.711, allocations: 205.4 MB / 0.5786 GB, free: 20.2 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.0007934/0.0007934, allocations: 98.59 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004251/0.0004253, allocations: 12.3 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2128, allocations: 106.3 MB / 0.9014 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 0.7864/0.9993, allocations: 349.1 MB / 1.242 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1165/1.116, allocations: 77.02 MB / 1.318 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01921/1.135, allocations: 381.1 kB / 1.318 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.01458/1.15, allocations: 3.863 MB / 1.322 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.03593/1.186, allocations: 10.21 MB / 1.332 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.02189/1.208, allocations: 7.181 MB / 1.339 GB, free: 9.988 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.05134/1.259, allocations: 38.04 MB / 1.376 GB, free: 3.82 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0288/1.288, allocations: 15.07 MB / 1.391 GB, free: 4.621 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6834/1.971, allocations: 12.23 MB / 1.403 GB, free: 24.3 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02963/2.001, allocations: 13.15 MB / 1.415 GB, free: 24.3 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.007866/2.009, allocations: 0.9635 MB / 1.416 GB, free: 24.3 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01892/2.028, allocations: 3.978 MB / 1.42 GB, free: 24.3 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.01044/2.038, allocations: 4.09 MB / 1.424 GB, free: 23.91 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.02708/2.065, allocations: 7.763 MB / 1.432 GB, free: 21.71 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.02928/2.095, allocations: 17.5 MB / 1.449 GB, free: 21.13 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/2.095, allocations: 0 / 1.449 GB, free: 21.13 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.786e-06/2.095, allocations: 0 / 1.449 GB, free: 21.13 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0009793/2.096, allocations: 0 / 1.449 GB, free: 21.13 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.04929/2.145, allocations: 16.93 MB / 1.465 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/2.145, allocations: 10.16 kB / 1.465 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/2.158, allocations: 2.377 MB / 1.468 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03216/2.19, allocations: 12.58 MB / 1.48 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001813/2.192, allocations: 0.7904 MB / 1.481 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004977/2.197, allocations: 0.6949 MB / 1.481 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03815/2.236, allocations: 14.02 MB / 1.495 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002445/2.236, allocations: 9 kB / 1.495 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003713/2.24, allocations: 244.8 kB / 1.495 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002048/2.24, allocations: 147 kB / 1.496 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03626/2.276, allocations: 18.99 MB / 1.514 GB, free: 7.883 MB / 0.9011 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.1385/2.415, allocations: 73.31 MB / 1.586 GB, free: 2.832 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01806/2.433, allocations: 10.57 MB / 1.596 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01572/2.448, allocations: 9.06 MB / 1.605 GB, free: 7.582 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.07575/2.524, allocations: 31.8 MB / 1.636 GB, free: 7.715 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01505/2.539, allocations: 8.859 MB / 1.645 GB, free: 14.82 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02963/2.569, allocations: 9.951 MB / 1.654 GB, free: 5.008 MB / 1.01 GB Notification: Performance of pre-optimization done (n=387): time 2.914e-05/2.569, allocations: 4 kB / 1.654 GB, free: 5.004 MB / 1.01 GB Notification: Performance of matching and sorting (n=573): time 1.491/4.061, allocations: 218 MB / 1.867 GB, free: 0.5151 GB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/4.061, allocations: 112.4 kB / 1.867 GB, free: 0.515 GB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02395/4.085, allocations: 12.4 MB / 1.879 GB, free: 0.5117 GB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.003772/4.088, allocations: 170 kB / 1.88 GB, free: 0.5116 GB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.007055/4.096, allocations: 5.953 MB / 1.885 GB, free: 0.5076 GB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.004505/4.1, allocations: 1.929 MB / 1.887 GB, free: 0.5072 GB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002886/4.103, allocations: 145.3 kB / 1.887 GB, free: 0.507 GB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0004764/4.104, allocations: 0.5941 MB / 1.888 GB, free: 0.5065 GB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01727/4.121, allocations: 9.88 MB / 1.898 GB, free: 0.5013 GB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01937/4.14, allocations: 12.21 MB / 1.91 GB, free: 0.4898 GB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03767/4.178, allocations: 21.74 MB / 1.931 GB, free: 479.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.059e-05/4.178, allocations: 12 kB / 1.931 GB, free: 479.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=954) (initialization): time 0.6852/4.863, allocations: 140.4 MB / 2.068 GB, free: 339 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007868/4.864, allocations: 1.537 MB / 2.069 GB, free: 336.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.317e-05/4.864, allocations: 48 kB / 2.069 GB, free: 336.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7249/5.589, allocations: 166.1 MB / 2.232 GB, free: 170.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01051/5.6, allocations: 1.865 MB / 2.234 GB, free: 168.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1953/5.795, allocations: 95.35 MB / 2.327 GB, free: 72.72 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02034/5.815, allocations: 1.144 MB / 2.328 GB, free: 71.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00464/5.82, allocations: 0.7684 MB / 2.328 GB, free: 70.83 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/5.82, allocations: 4 kB / 2.328 GB, free: 70.83 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.155/6.975, allocations: 137.9 MB / 2.463 GB, free: 495.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000146/6.975, allocations: 49.41 kB / 2.463 GB, free: 495.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7277/7.703, allocations: 165.9 MB / 2.625 GB, free: 348.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009121/7.712, allocations: 1.842 MB / 2.627 GB, free: 347.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2109/7.923, allocations: 99.4 MB / 2.724 GB, free: 247.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02079/7.944, allocations: 1.118 MB / 2.725 GB, free: 246.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005103/7.949, allocations: 0.745 MB / 2.726 GB, free: 245.8 MB / 1.151 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 (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 {(32,39,82.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.01472/7.964, allocations: 3.077 MB / 2.729 GB, free: 242.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006664/7.97, allocations: 1.198 MB / 2.73 GB, free: 242.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2332/8.204, allocations: 53.16 MB / 2.782 GB, free: 189 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001274/8.204, allocations: 72 kB / 2.782 GB, free: 189 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002093/8.204, allocations: 36 kB / 2.782 GB, free: 188.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2134/8.417, allocations: 47.66 MB / 2.829 GB, free: 141.1 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.2643/8.682, allocations: 67.18 MB / 2.894 GB, free: 73.97 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.874e-05/8.682, allocations: 12 kB / 2.894 GB, free: 73.96 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007385/8.689, allocations: 1.287 MB / 2.895 GB, free: 72.67 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2273/8.917, allocations: 49.27 MB / 2.944 GB, free: 23.34 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002821/8.919, allocations: 195.9 kB / 2.944 GB, free: 23.15 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6279/9.547, allocations: 41.42 MB / 2.984 GB, free: 0.4989 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/9.547, allocations: 14.8 kB / 2.984 GB, free: 0.4989 GB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2376/9.785, allocations: 60 MB / 3.043 GB, free: 497.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01476/9.8, allocations: 2.67 MB / 3.045 GB, free: 495.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009298/9.809, allocations: 132.4 kB / 3.046 GB, free: 495.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01658/9.826, allocations: 0.9554 MB / 3.047 GB, free: 495.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004257/9.83, allocations: 0.4929 MB / 3.047 GB, free: 494.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002533/9.833, allocations: 269.6 kB / 3.047 GB, free: 494.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.02091/9.854, allocations: 8.436 MB / 3.055 GB, free: 487.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 8.31e-07/9.854, allocations: 3.969 kB / 3.055 GB, free: 487.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.05205/9.906, allocations: 6.828 MB / 3.062 GB, free: 481 MB / 1.151 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 (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 {(31,40,84.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(9,78), (1,1), (8,77)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006228/9.912, allocations: 1.289 MB / 3.063 GB, free: 480.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.09534/10.01, allocations: 38.29 MB / 3.101 GB, free: 445.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.505e-05/10.01, allocations: 6.562 kB / 3.101 GB, free: 445.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.02706/10.03, allocations: 10.69 MB / 3.111 GB, free: 434.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06243/10.1, allocations: 6.325 MB / 3.117 GB, free: 429.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06756/10.16, allocations: 32.02 MB / 3.149 GB, free: 397.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01112/10.18, allocations: 6.897 MB / 3.155 GB, free: 390.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005424/10.18, allocations: 1.01 MB / 3.156 GB, free: 389.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.433e-06/10.18, allocations: 0 / 3.156 GB, free: 389.7 MB / 1.151 GB Notification: Performance of Templates: time 1.696/11.88, allocations: 0.7601 GB / 3.916 GB, free: 177 MB / 1.151 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)