Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.573/1.573, allocations: 288.4 MB / 304.3 MB, free: 8.113 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.0009994/0.0009996, allocations: 186.1 kB / 372.9 MB, free: 10.12 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.301/1.301, allocations: 205.4 MB / 0.6316 GB, free: 9.805 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.0007622/0.0007623, allocations: 94.3 kB / 0.745 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003757, allocations: 12.66 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1895, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 0.6826/0.8722, allocations: 329.6 MB / 1.303 GB, free: 4.605 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1009/0.9731, allocations: 72.92 MB / 1.374 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01448/0.9877, allocations: 377.2 kB / 1.374 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01289/1.001, allocations: 3.289 MB / 1.377 GB, free: 7.867 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.02905/1.03, allocations: 9.431 MB / 1.387 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.01776/1.047, allocations: 6.055 MB / 1.393 GB, free: 8.379 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.03791/1.085, allocations: 33 MB / 1.425 GB, free: 7.258 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5652/1.651, allocations: 15.04 MB / 1.439 GB, free: 50.79 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02836/1.679, allocations: 12.19 MB / 1.451 GB, free: 50.75 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02694/1.706, allocations: 12.54 MB / 1.464 GB, free: 50.71 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.007558/1.714, allocations: 0.9658 MB / 1.465 GB, free: 50.71 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01905/1.733, allocations: 3.925 MB / 1.468 GB, free: 50.64 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.009482/1.742, allocations: 4.024 MB / 1.472 GB, free: 50.64 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.02063/1.763, allocations: 7.471 MB / 1.48 GB, free: 50.61 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02475/1.788, allocations: 17.57 MB / 1.497 GB, free: 49.39 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/1.788, allocations: 3.5 kB / 1.497 GB, free: 49.39 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.854e-06/1.788, allocations: 0 / 1.497 GB, free: 49.39 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007792/1.789, allocations: 0 / 1.497 GB, free: 49.39 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.04432/1.833, allocations: 16.95 MB / 1.513 GB, free: 43.42 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/1.833, allocations: 14.66 kB / 1.513 GB, free: 43.41 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01217/1.845, allocations: 2.368 MB / 1.516 GB, free: 42.58 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02819/1.873, allocations: 12.6 MB / 1.528 GB, free: 39.08 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001698/1.875, allocations: 0.7894 MB / 1.529 GB, free: 38.98 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004226/1.879, allocations: 0.6859 MB / 1.529 GB, free: 38.98 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03398/1.913, allocations: 14.02 MB / 1.543 GB, free: 34.71 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002703/1.914, allocations: 5.906 kB / 1.543 GB, free: 34.71 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003396/1.917, allocations: 252.1 kB / 1.543 GB, free: 34.71 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001555/1.917, allocations: 156 kB / 1.543 GB, free: 34.71 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03527/1.953, allocations: 19.01 MB / 1.562 GB, free: 31.96 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.1156/2.068, allocations: 73.43 MB / 1.634 GB, free: 6.797 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01672/2.085, allocations: 10.62 MB / 1.644 GB, free: 0.8242 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01387/2.099, allocations: 9.137 MB / 1.653 GB, free: 11.46 MB / 0.9948 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.06858/2.167, allocations: 31.88 MB / 1.684 GB, free: 2.789 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01741/2.185, allocations: 8.888 MB / 1.693 GB, free: 12.78 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02909/2.214, allocations: 9.948 MB / 1.703 GB, free: 3.516 MB / 1.026 GB Notification: Performance of pre-optimization done (n=387): time 3.526e-05/2.214, allocations: 0 / 1.703 GB, free: 3.516 MB / 1.026 GB Notification: Performance of matching and sorting (n=573): time 1.715/3.929, allocations: 220.1 MB / 1.917 GB, free: 0.4885 GB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/3.929, allocations: 114.3 kB / 1.918 GB, free: 0.4884 GB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01596/3.945, allocations: 12.28 MB / 1.93 GB, free: 494.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.00298/3.948, allocations: 175.2 kB / 1.93 GB, free: 493.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.004531/3.952, allocations: 5.945 MB / 1.936 GB, free: 489.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003637/3.956, allocations: 1.933 MB / 1.937 GB, free: 489.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00118/3.957, allocations: 142.6 kB / 1.938 GB, free: 489.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0003011/3.958, allocations: 0.5961 MB / 1.938 GB, free: 488.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01555/3.973, allocations: 9.386 MB / 1.947 GB, free: 483.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01855/3.992, allocations: 11.72 MB / 1.959 GB, free: 475.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03509/4.027, allocations: 20.7 MB / 1.979 GB, free: 459.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.243e-05/4.027, allocations: 21.69 kB / 1.979 GB, free: 459.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.659/4.686, allocations: 139.3 MB / 2.115 GB, free: 320.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005781/4.687, allocations: 1.543 MB / 2.117 GB, free: 318.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.253e-05/4.687, allocations: 44 kB / 2.117 GB, free: 318.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7259/5.412, allocations: 166.1 MB / 2.279 GB, free: 151.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01064/5.423, allocations: 1.953 MB / 2.281 GB, free: 150 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1666/5.59, allocations: 95.44 MB / 2.374 GB, free: 54.15 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01686/5.607, allocations: 1.204 MB / 2.375 GB, free: 52.97 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003297/5.61, allocations: 0.7759 MB / 2.376 GB, free: 52.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/5.61, allocations: 8 kB / 2.376 GB, free: 52.19 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.067/6.677, allocations: 138.2 MB / 2.511 GB, free: 459.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/6.677, allocations: 45.47 kB / 2.511 GB, free: 459.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7219/7.399, allocations: 165.8 MB / 2.673 GB, free: 303 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009985/7.409, allocations: 1.927 MB / 2.675 GB, free: 301.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1848/7.594, allocations: 99.53 MB / 2.772 GB, free: 201.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01883/7.613, allocations: 1.202 MB / 2.773 GB, free: 200.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004502/7.617, allocations: 0.7372 MB / 2.774 GB, free: 199.6 MB / 1.167 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 (683): * Single equations (assignments): 669 * 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: 3 * 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: 1 {(32,82.2%) 39} * Non-linear torn systems: 2 {7 78,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01295/7.63, allocations: 3.088 MB / 2.777 GB, free: 196.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006193/7.636, allocations: 1.191 MB / 2.778 GB, free: 196 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2242/7.861, allocations: 53.54 MB / 2.83 GB, free: 142.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.205/8.066, allocations: 47.98 MB / 2.877 GB, free: 94.36 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.425e-05/8.066, allocations: 0 / 2.877 GB, free: 94.36 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009078/8.075, allocations: 2.695 MB / 2.88 GB, free: 92.34 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004241/8.079, allocations: 128 kB / 2.88 GB, free: 92.21 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01379/8.093, allocations: 1.049 MB / 2.881 GB, free: 91.21 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005477/8.098, allocations: 0.9298 MB / 2.882 GB, free: 90.28 MB / 1.167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06488/8.163, allocations: 23.64 MB / 2.905 GB, free: 66.91 MB / 1.167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04803/8.211, allocations: 25.49 MB / 2.93 GB, free: 41.39 MB / 1.167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01382/8.225, allocations: 7.985 MB / 2.938 GB, free: 33.39 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0145/8.24, allocations: 8.323 MB / 2.946 GB, free: 25.11 MB / 1.167 GB Notification: Performance of Backend: time 9.22e-07/8.24, allocations: 0 / 2.946 GB, free: 25.11 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.4647/8.704, allocations: 32.37 MB / 2.977 GB, free: 498.5 MB / 1.167 GB Notification: Performance of SimCode: time 0.0647/8.769, allocations: 32.34 MB / 3.009 GB, free: 484.3 MB / 1.167 GB Notification: Performance of Templates: time 0.4849/9.254, allocations: 399.8 MB / 3.399 GB, free: 123.8 MB / 1.167 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)