Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.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.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.306/1.306, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0009834/0.0009835, allocations: 179.2 kB / 326.5 MB, free: 2.676 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.411/1.411, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0007218/0.0007218, allocations: 82.36 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002781/0.0002781, allocations: 12.77 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1486, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.5991/0.7478, allocations: 353.7 MB / 1.242 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.09611/0.8439, allocations: 77.79 MB / 1.318 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01435/0.8583, allocations: 389.2 kB / 1.319 GB, free: 468 kB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.01473/0.873, allocations: 4.822 MB / 1.323 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.03301/0.9061, allocations: 12.39 MB / 1.335 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.02643/0.9325, allocations: 11.65 MB / 1.347 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.04867/0.9812, allocations: 49.28 MB / 1.395 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4599/1.441, allocations: 17.35 MB / 1.412 GB, free: 21.41 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02713/1.468, allocations: 14.46 MB / 1.426 GB, free: 21.39 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02429/1.493, allocations: 15.38 MB / 1.441 GB, free: 19.18 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.00596/1.499, allocations: 1.058 MB / 1.442 GB, free: 19.18 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01657/1.515, allocations: 4.844 MB / 1.447 GB, free: 19.18 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.008004/1.523, allocations: 5.029 MB / 1.452 GB, free: 18.48 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.01823/1.541, allocations: 9.491 MB / 1.461 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.03089/1.572, allocations: 28.07 MB / 1.488 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.572, allocations: 0 / 1.488 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.455e-06/1.572, allocations: 0 / 1.488 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0008052/1.573, allocations: 0 / 1.488 GB, free: 11.98 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: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.04322/1.616, allocations: 20.46 MB / 1.508 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/1.617, allocations: 7.562 kB / 1.508 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/1.628, allocations: 2.379 MB / 1.511 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0311/1.659, allocations: 15.69 MB / 1.526 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006509/1.659, allocations: 0.7193 MB / 1.527 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004387/1.664, allocations: 0.9931 MB / 1.528 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.032/1.696, allocations: 17.22 MB / 1.544 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000176/1.696, allocations: 16.59 kB / 1.544 GB, free: 4.93 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001409/1.697, allocations: 351.6 kB / 1.545 GB, free: 4.93 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001292/1.698, allocations: 218.6 kB / 1.545 GB, free: 4.926 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03234/1.73, allocations: 20.53 MB / 1.565 GB, free: 12.75 MB / 0.9323 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.1309/1.861, allocations: 82.57 MB / 1.646 GB, free: 4.566 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01998/1.881, allocations: 12.32 MB / 1.658 GB, free: 8.426 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01477/1.896, allocations: 9.755 MB / 1.667 GB, free: 14.66 MB / 1.026 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.07047/1.966, allocations: 35.21 MB / 1.702 GB, free: 11.1 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01518/1.981, allocations: 9.622 MB / 1.711 GB, free: 1.402 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02667/2.008, allocations: 9.995 MB / 1.721 GB, free: 7.547 MB / 1.073 GB Notification: Performance of pre-optimization done (n=555): time 2.733e-05/2.008, allocations: 2.625 kB / 1.721 GB, free: 7.547 MB / 1.073 GB Notification: Performance of matching and sorting (n=764): time 1.387/3.395, allocations: 201.3 MB / 1.917 GB, free: 462.9 MB / 1.136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005176/3.395, allocations: 2.576 MB / 1.92 GB, free: 459.7 MB / 1.136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01953/3.415, allocations: 15.6 MB / 1.935 GB, free: 444.4 MB / 1.136 GB Notification: Performance of collectPreVariables (initialization): time 0.003462/3.418, allocations: 237.7 kB / 1.935 GB, free: 444.1 MB / 1.136 GB Notification: Performance of collectInitialEqns (initialization): time 0.005518/3.424, allocations: 7.802 MB / 1.943 GB, free: 436.8 MB / 1.136 GB Notification: Performance of collectInitialBindings (initialization): time 0.003985/3.428, allocations: 2.662 MB / 1.946 GB, free: 434.3 MB / 1.136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001799/3.43, allocations: 1.016 MB / 1.947 GB, free: 433.3 MB / 1.136 GB Notification: Performance of setup shared object (initialization): time 5.002e-05/3.43, allocations: 309.1 kB / 1.947 GB, free: 433 MB / 1.136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01464/3.444, allocations: 11.46 MB / 1.958 GB, free: 421.5 MB / 1.136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0176/3.462, allocations: 14.89 MB / 1.973 GB, free: 405.3 MB / 1.136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03646/3.499, allocations: 25.16 MB / 1.997 GB, free: 379.3 MB / 1.136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.898e-05/3.499, allocations: 13.64 kB / 1.997 GB, free: 379.3 MB / 1.136 GB Notification: Performance of matching and sorting (n=1386) (initialization): time 0.5176/4.016, allocations: 129.2 MB / 2.123 GB, free: 249.9 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006918/4.017, allocations: 1.788 MB / 2.125 GB, free: 247.3 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001846/4.017, allocations: 107.9 kB / 2.125 GB, free: 247.2 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5526/4.57, allocations: 143.6 MB / 2.265 GB, free: 103.4 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01247/4.582, allocations: 2.609 MB / 2.268 GB, free: 100.8 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1271/4.709, allocations: 78.77 MB / 2.345 GB, free: 21.59 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.7052/5.415, allocations: 1.287 MB / 2.346 GB, free: 492.5 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003913/5.419, allocations: 0.8614 MB / 2.347 GB, free: 492.5 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/5.419, allocations: 2.656 kB / 2.347 GB, free: 492.5 MB / 1.136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5311/5.95, allocations: 126.3 MB / 2.47 GB, free: 453.3 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003114/5.95, allocations: 107.9 kB / 2.47 GB, free: 453.2 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5705/6.52, allocations: 143.3 MB / 2.61 GB, free: 309.6 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01203/6.533, allocations: 2.586 MB / 2.613 GB, free: 307.1 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1368/6.669, allocations: 82.78 MB / 2.694 GB, free: 224.1 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01758/6.687, allocations: 1.276 MB / 2.695 GB, free: 222.9 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003216/6.69, allocations: 0.8339 MB / 2.696 GB, free: 222.1 MB / 1.136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1062): * Single equations (assignments): 984 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * 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.01034/6.701, allocations: 4.238 MB / 2.7 GB, free: 217.9 MB / 1.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004882/6.705, allocations: 1.531 MB / 2.701 GB, free: 217.2 MB / 1.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1695/6.875, allocations: 51.08 MB / 2.751 GB, free: 166.2 MB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.16/7.035, allocations: 45.15 MB / 2.795 GB, free: 120.9 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.815e-05/7.035, allocations: 0 / 2.795 GB, free: 120.9 MB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009759/7.045, allocations: 3.09 MB / 2.798 GB, free: 117.9 MB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005283/7.05, allocations: 275.9 kB / 2.799 GB, free: 117.6 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0142/7.064, allocations: 1.1 MB / 2.8 GB, free: 116.5 MB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00553/7.07, allocations: 0.9858 MB / 2.801 GB, free: 115.5 MB / 1.136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05852/7.129, allocations: 26.14 MB / 2.826 GB, free: 89.53 MB / 1.136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04644/7.175, allocations: 29.17 MB / 2.855 GB, free: 60.29 MB / 1.136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0131/7.188, allocations: 9.145 MB / 2.864 GB, free: 51.13 MB / 1.136 GB Notification: Performance of sorting global known variables: time 0.0158/7.204, allocations: 10.6 MB / 2.874 GB, free: 40.62 MB / 1.136 GB Notification: Performance of Backend: time 1.162e-06/7.204, allocations: 0 / 2.874 GB, free: 40.62 MB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.4283/7.632, allocations: 38.52 MB / 2.912 GB, free: 0.4908 GB / 1.136 GB Notification: Performance of SimCode: time 0.06851/7.701, allocations: 43.85 MB / 2.954 GB, free: 485.9 MB / 1.136 GB Notification: Performance of Templates: time 0.5402/8.241, allocations: 470.5 MB / 3.414 GB, free: 50.23 MB / 1.136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)