Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.638/2.638, allocations: 287.5 MB / 302.4 MB, free: 8.219 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.001454/0.001454, allocations: 180.1 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.001371/0.001371, allocations: 97.44 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006468/0.0006471, allocations: 13.22 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2428, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 1.228/1.47, allocations: 329.6 MB / 1.3 GB, free: 6.047 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1576/1.628, allocations: 72.94 MB / 1.371 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01639/1.644, allocations: 373.2 kB / 1.372 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01602/1.661, allocations: 3.144 MB / 1.375 GB, free: 9.438 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.03753/1.698, allocations: 8.84 MB / 1.384 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.02652/1.725, allocations: 6.024 MB / 1.389 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.05643/1.781, allocations: 32.57 MB / 1.421 GB, free: 9.941 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 1.546/3.327, allocations: 13.05 MB / 1.434 GB, free: 49.66 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03097/3.358, allocations: 10.11 MB / 1.444 GB, free: 49.66 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02513/3.383, allocations: 9.042 MB / 1.453 GB, free: 49.64 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.006154/3.389, allocations: 0.4933 MB / 1.453 GB, free: 49.64 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02011/3.41, allocations: 2.861 MB / 1.456 GB, free: 49.64 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.008275/3.418, allocations: 2.891 MB / 1.459 GB, free: 49.64 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.009612/3.428, allocations: 2.632 MB / 1.461 GB, free: 49.61 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02789/3.456, allocations: 14.5 MB / 1.475 GB, free: 48.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/3.456, allocations: 0 / 1.475 GB, free: 48.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.116e-06/3.456, allocations: 0 / 1.475 GB, free: 48.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000773/3.456, allocations: 0 / 1.475 GB, free: 48.7 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.04957/3.506, allocations: 13.81 MB / 1.489 GB, free: 42.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/3.506, allocations: 9.844 kB / 1.489 GB, free: 42.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01512/3.521, allocations: 2.219 MB / 1.491 GB, free: 41.97 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03792/3.559, allocations: 11.07 MB / 1.502 GB, free: 40.25 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003003/3.562, allocations: 0.7824 MB / 1.503 GB, free: 40.21 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003592/3.566, allocations: 0.694 MB / 1.503 GB, free: 40.21 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03101/3.597, allocations: 8.953 MB / 1.512 GB, free: 39.13 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002586/3.597, allocations: 16.19 kB / 1.512 GB, free: 39.13 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002322/3.6, allocations: 255 kB / 1.512 GB, free: 39.13 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001866/3.6, allocations: 152.8 kB / 1.513 GB, free: 39.13 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02727/3.627, allocations: 7.423 MB / 1.52 GB, free: 39.04 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.1097/3.737, allocations: 50.44 MB / 1.569 GB, free: 23.41 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01582/3.753, allocations: 5.542 MB / 1.574 GB, free: 22.46 MB / 0.9637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.011/3.764, allocations: 4.003 MB / 1.578 GB, free: 21.83 MB / 0.9637 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.04797/3.812, allocations: 13.46 MB / 1.592 GB, free: 15.74 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01066/3.822, allocations: 3.723 MB / 1.595 GB, free: 14.69 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01405/3.836, allocations: 1.866 MB / 1.597 GB, free: 13.95 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=320): time 1.96e-05/3.837, allocations: 0 / 1.597 GB, free: 13.95 MB / 0.9637 GB Notification: Performance of matching and sorting (n=506): time 0.3349/4.171, allocations: 53.62 MB / 1.649 GB, free: 1.406 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/4.172, allocations: 109.2 kB / 1.649 GB, free: 1.289 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03384/4.205, allocations: 12.52 MB / 1.662 GB, free: 8.133 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.002145/4.208, allocations: 168.3 kB / 1.662 GB, free: 8.062 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.009931/4.218, allocations: 6.157 MB / 1.668 GB, free: 5.352 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.003476/4.221, allocations: 1.711 MB / 1.67 GB, free: 3.883 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00132/4.222, allocations: 146.8 kB / 1.67 GB, free: 3.852 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.0006235/4.223, allocations: 0.5922 MB / 1.67 GB, free: 3.371 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02052/4.244, allocations: 5.153 MB / 1.675 GB, free: 15.69 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02411/4.268, allocations: 7.818 MB / 1.683 GB, free: 8.453 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02342/4.291, allocations: 5.868 MB / 1.689 GB, free: 4.457 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-05/4.291, allocations: 16 kB / 1.689 GB, free: 4.441 MB / 1.026 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.07515/4.367, allocations: 17.21 MB / 1.705 GB, free: 7.574 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001666/4.368, allocations: 1.931 MB / 1.707 GB, free: 5.027 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/4.368, allocations: 60 kB / 1.707 GB, free: 4.969 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02807/4.397, allocations: 4.654 MB / 1.712 GB, free: 0.8711 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02131/4.418, allocations: 2.045 MB / 1.714 GB, free: 14.97 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02151/4.439, allocations: 10.9 MB / 1.725 GB, free: 6.055 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02357/4.463, allocations: 1.21 MB / 1.726 GB, free: 4.965 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002812/4.466, allocations: 471.3 kB / 1.726 GB, free: 4.562 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/4.466, allocations: 6.188 kB / 1.726 GB, free: 4.559 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0649/4.531, allocations: 16.1 MB / 1.742 GB, free: 9.086 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002093/4.531, allocations: 56 kB / 1.742 GB, free: 9.031 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02299/4.554, allocations: 4.382 MB / 1.746 GB, free: 5.195 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01895/4.573, allocations: 2.026 MB / 1.748 GB, free: 3.312 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03971/4.613, allocations: 15.05 MB / 1.763 GB, free: 8.246 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02264/4.636, allocations: 1.197 MB / 1.764 GB, free: 7.094 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002667/4.638, allocations: 437.4 kB / 1.765 GB, free: 6.668 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.01183/4.65, allocations: 3.111 MB / 1.768 GB, free: 3.641 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004279/4.654, allocations: 1.192 MB / 1.769 GB, free: 2.434 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06506/4.72, allocations: 14.97 MB / 1.783 GB, free: 3.508 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000115/4.72, allocations: 59.98 kB / 1.783 GB, free: 3.449 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/4.72, allocations: 4 kB / 1.783 GB, free: 3.445 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05216/4.772, allocations: 12.29 MB / 1.795 GB, free: 7.16 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.1019/4.874, allocations: 26.34 MB / 1.821 GB, free: 12.82 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.958e-05/4.874, allocations: 4 kB / 1.821 GB, free: 12.82 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0131/4.887, allocations: 1.239 MB / 1.822 GB, free: 11.62 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01881/4.906, allocations: 3.279 MB / 1.826 GB, free: 8.352 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001533/4.908, allocations: 171.9 kB / 1.826 GB, free: 8.184 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01672/4.924, allocations: 9.573 MB / 1.835 GB, free: 14.43 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.045e-05/4.924, allocations: 14.7 kB / 1.835 GB, free: 14.42 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7242/5.649, allocations: 20.21 MB / 1.855 GB, free: 0.5104 GB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01058/5.659, allocations: 2.299 MB / 1.857 GB, free: 0.5103 GB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005453/5.665, allocations: 106.7 kB / 1.857 GB, free: 0.5103 GB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02011/5.685, allocations: 1.031 MB / 1.858 GB, free: 0.5103 GB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001975/5.687, allocations: 395.7 kB / 1.859 GB, free: 0.5103 GB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001258/5.688, allocations: 240.5 kB / 1.859 GB, free: 0.5103 GB / 1.167 GB Notification: Performance of sorting global known variables: time 0.02644/5.715, allocations: 8.453 MB / 1.867 GB, free: 0.5079 GB / 1.167 GB Notification: Performance of sort global known variables: time 1.212e-06/5.715, allocations: 0 / 1.867 GB, free: 0.5079 GB / 1.167 GB Notification: Performance of remove unused functions: time 0.04374/5.758, allocations: 5.412 MB / 1.872 GB, free: 0.5075 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.004931/5.763, allocations: 1.252 MB / 1.874 GB, free: 0.5073 GB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.07734/5.841, allocations: 19.96 MB / 1.893 GB, free: 0.5014 GB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.414e-05/5.841, allocations: 3.688 kB / 1.893 GB, free: 0.5014 GB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.02182/5.863, allocations: 5.689 MB / 1.899 GB, free: 0.4998 GB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05375/5.916, allocations: 6.069 MB / 1.905 GB, free: 0.4986 GB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06922/5.986, allocations: 28.08 MB / 1.932 GB, free: 497.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01354/5.999, allocations: 6.813 MB / 1.939 GB, free: 492.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.02847/6.028, allocations: 3.846 MB / 1.942 GB, free: 489.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00621/6.034, allocations: 0.9071 MB / 1.943 GB, free: 488.6 MB / 1.167 GB Notification: Performance of SimCode: time 2.174e-06/6.034, allocations: 4 kB / 1.943 GB, free: 488.6 MB / 1.167 GB Notification: Performance of Templates: time 0.6126/6.647, allocations: 249.2 MB / 2.187 GB, free: 243.3 MB / 1.167 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)