Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009344/0.0009346, allocations: 86.25 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.514/1.514, allocations: 252 MB / 0.5102 GB, free: 4.832 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000496/0.0004961, allocations: 12 kB / 0.6243 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5055/0.506, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 0.7643/1.27, allocations: 329.6 MB / 1.05 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1208/1.391, allocations: 72.84 MB / 1.121 GB, free: 14.64 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02444/1.416, allocations: 373.2 kB / 1.122 GB, free: 14.27 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01788/1.434, allocations: 3.156 MB / 1.125 GB, free: 11.09 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.03644/1.47, allocations: 8.845 MB / 1.133 GB, free: 2.223 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.02054/1.491, allocations: 5.949 MB / 1.139 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.04698/1.538, allocations: 32.53 MB / 1.171 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02598/1.564, allocations: 13.05 MB / 1.184 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02995/1.594, allocations: 10.05 MB / 1.193 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02292/1.617, allocations: 9.041 MB / 1.202 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.006148/1.623, allocations: 0.4922 MB / 1.203 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01578/1.639, allocations: 2.819 MB / 1.205 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.007154/1.646, allocations: 2.879 MB / 1.208 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00865/1.655, allocations: 2.631 MB / 1.211 GB, free: 2.531 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.02474/1.679, allocations: 14.41 MB / 1.225 GB, free: 4.086 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.679, allocations: 0 / 1.225 GB, free: 4.086 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.834e-06/1.679, allocations: 0 / 1.225 GB, free: 4.086 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.00082/1.68, allocations: 0 / 1.225 GB, free: 4.086 MB / 0.8887 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.03388/1.714, allocations: 13.8 MB / 1.238 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/1.714, allocations: 12.03 kB / 1.238 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009799/1.724, allocations: 2.219 MB / 1.241 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02866/1.753, allocations: 11.05 MB / 1.251 GB, free: 8.785 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001756/1.754, allocations: 0.7912 MB / 1.252 GB, free: 7.992 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002737/1.757, allocations: 0.6835 MB / 1.253 GB, free: 7.309 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5088/2.266, allocations: 8.901 MB / 1.261 GB, free: 355 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001486/2.266, allocations: 15.75 kB / 1.261 GB, free: 355 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007407/2.267, allocations: 253.2 kB / 1.262 GB, free: 355 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002065/2.267, allocations: 154.9 kB / 1.262 GB, free: 355 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01918/2.286, allocations: 7.361 MB / 1.269 GB, free: 352.8 MB / 0.92 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.06618/2.353, allocations: 50.54 MB / 1.318 GB, free: 312.7 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009721/2.362, allocations: 5.46 MB / 1.324 GB, free: 309.9 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006227/2.369, allocations: 3.978 MB / 1.328 GB, free: 308.1 MB / 0.92 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.02677/2.395, allocations: 13.36 MB / 1.341 GB, free: 297.4 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005437/2.401, allocations: 3.682 MB / 1.344 GB, free: 293.7 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007639/2.409, allocations: 1.86 MB / 1.346 GB, free: 292 MB / 0.92 GB Notification: Performance of pre-optimization done (n=320): time 1.286e-05/2.409, allocations: 0 / 1.346 GB, free: 292 MB / 0.92 GB Notification: Performance of matching and sorting (n=506): time 0.1486/2.557, allocations: 51.51 MB / 1.396 GB, free: 240.1 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/2.557, allocations: 115.3 kB / 1.396 GB, free: 240 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02238/2.58, allocations: 12.52 MB / 1.409 GB, free: 227.5 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001713/2.581, allocations: 165.5 kB / 1.409 GB, free: 227.3 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.006343/2.588, allocations: 6.156 MB / 1.415 GB, free: 221.2 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.002238/2.59, allocations: 1.711 MB / 1.417 GB, free: 219.5 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001286/2.591, allocations: 144 kB / 1.417 GB, free: 219.4 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0004305/2.592, allocations: 0.5924 MB / 1.417 GB, free: 218.8 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009115/2.601, allocations: 4.932 MB / 1.422 GB, free: 213.8 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01013/2.611, allocations: 7.601 MB / 1.43 GB, free: 205.1 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009998/2.621, allocations: 5.68 MB / 1.435 GB, free: 199.4 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.733e-05/2.621, allocations: 16 kB / 1.435 GB, free: 199.4 MB / 0.92 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.03405/2.655, allocations: 16.81 MB / 1.451 GB, free: 182.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.00078/2.656, allocations: 1.927 MB / 1.453 GB, free: 179.7 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.377e-05/2.656, allocations: 60 kB / 1.453 GB, free: 179.6 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01326/2.669, allocations: 4.662 MB / 1.458 GB, free: 175 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009383/2.679, allocations: 1.97 MB / 1.46 GB, free: 173 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/2.689, allocations: 10.94 MB / 1.471 GB, free: 161.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01127/2.7, allocations: 1.14 MB / 1.472 GB, free: 160.7 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/2.702, allocations: 459.8 kB / 1.472 GB, free: 160.3 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/2.702, allocations: 8 kB / 1.472 GB, free: 160.3 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0286/2.73, allocations: 15.7 MB / 1.487 GB, free: 144.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/2.731, allocations: 64.25 kB / 1.488 GB, free: 144.4 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01079/2.741, allocations: 4.419 MB / 1.492 GB, free: 140 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008372/2.75, allocations: 1.935 MB / 1.494 GB, free: 138.1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01947/2.769, allocations: 15.02 MB / 1.508 GB, free: 122.7 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01107/2.78, allocations: 1.123 MB / 1.51 GB, free: 121.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002144/2.783, allocations: 439.7 kB / 1.51 GB, free: 121.1 MB / 0.92 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.006702/2.789, allocations: 3.099 MB / 1.513 GB, free: 118 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003157/2.792, allocations: 1.203 MB / 1.514 GB, free: 116.8 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0307/2.823, allocations: 14.56 MB / 1.528 GB, free: 102.2 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.436e-05/2.823, allocations: 56 kB / 1.528 GB, free: 102.1 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/2.823, allocations: 0 / 1.528 GB, free: 102.1 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02346/2.847, allocations: 11.9 MB / 1.54 GB, free: 90.1 MB / 0.92 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.04871/2.895, allocations: 25.86 MB / 1.565 GB, free: 64.01 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.762e-05/2.896, allocations: 8 kB / 1.565 GB, free: 64 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005619/2.901, allocations: 1.17 MB / 1.566 GB, free: 62.83 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008936/2.91, allocations: 3.271 MB / 1.57 GB, free: 59.56 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009406/2.911, allocations: 171.9 kB / 1.57 GB, free: 59.39 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008044/2.919, allocations: 9.581 MB / 1.579 GB, free: 49.61 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.535e-06/2.919, allocations: 8.031 kB / 1.579 GB, free: 49.6 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03598/2.955, allocations: 19.62 MB / 1.598 GB, free: 29.68 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006894/2.962, allocations: 2.284 MB / 1.601 GB, free: 27.36 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005723/2.968, allocations: 112 kB / 1.601 GB, free: 27.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01106/2.979, allocations: 0.96 MB / 1.602 GB, free: 26.29 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00102/2.98, allocations: 395.8 kB / 1.602 GB, free: 25.89 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009031/2.981, allocations: 239.8 kB / 1.602 GB, free: 25.66 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.01437/2.995, allocations: 8.45 MB / 1.61 GB, free: 17.26 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.21e-07/2.995, allocations: 4 kB / 1.61 GB, free: 17.26 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.02966/3.025, allocations: 5.362 MB / 1.616 GB, free: 11.92 MB / 0.92 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.003592/3.029, allocations: 1.218 MB / 1.617 GB, free: 10.77 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.4193/3.448, allocations: 19.33 MB / 1.636 GB, free: 335.6 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/3.448, allocations: 2.625 kB / 1.636 GB, free: 335.6 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0131/3.461, allocations: 5.498 MB / 1.641 GB, free: 333.9 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03279/3.494, allocations: 6.053 MB / 1.647 GB, free: 332.7 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0516/3.546, allocations: 27.87 MB / 1.674 GB, free: 319.7 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01046/3.556, allocations: 6.817 MB / 1.681 GB, free: 317.9 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.01937/3.575, allocations: 3.804 MB / 1.685 GB, free: 316.4 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004543/3.58, allocations: 0.9067 MB / 1.686 GB, free: 316.2 MB / 0.92 GB Notification: Performance of SimCode: time 1.433e-06/3.58, allocations: 3.938 kB / 1.686 GB, free: 316.2 MB / 0.92 GB Notification: Performance of Templates: time 0.339/3.919, allocations: 248.1 MB / 1.928 GB, free: 70.52 MB / 0.92 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1) Environment - environmentSimulation: