Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 108.7 kB / 16.37 MB, free: 6.312 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.001131/0.001131, allocations: 191.2 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.712/1.712, allocations: 292.3 MB / 0.5496 GB, free: 17.63 MB / 462.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.001434/0.001434, allocations: 79.02 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1771, allocations: 114.5 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 0.6012/0.7783, allocations: 356.7 MB / 1.133 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.5276/1.306, allocations: 77.32 MB / 1.209 GB, free: 54.96 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01354/1.32, allocations: 438.8 kB / 1.209 GB, free: 54.96 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01144/1.331, allocations: 4.658 MB / 1.214 GB, free: 54.87 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.02794/1.359, allocations: 11.02 MB / 1.224 GB, free: 54.4 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01793/1.377, allocations: 7.827 MB / 1.232 GB, free: 54.21 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.03068/1.408, allocations: 29.02 MB / 1.26 GB, free: 47.51 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01777/1.425, allocations: 17.09 MB / 1.277 GB, free: 37.34 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02382/1.449, allocations: 14.12 MB / 1.291 GB, free: 26.96 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01838/1.468, allocations: 13.39 MB / 1.304 GB, free: 14.57 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.004735/1.472, allocations: 1.516 MB / 1.305 GB, free: 13.05 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01422/1.487, allocations: 4.767 MB / 1.31 GB, free: 8.465 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.005831/1.493, allocations: 4.737 MB / 1.315 GB, free: 3.941 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01425/1.507, allocations: 8.498 MB / 1.323 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02898/1.536, allocations: 23.52 MB / 1.346 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.536, allocations: 0 / 1.346 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.707e-06/1.536, allocations: 0 / 1.346 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.000563/1.536, allocations: 3.938 kB / 1.346 GB, free: 5.012 MB / 0.9512 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.04731/1.584, allocations: 18.35 MB / 1.364 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/1.584, allocations: 8.031 kB / 1.364 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01155/1.595, allocations: 2.254 MB / 1.366 GB, free: 460 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02974/1.625, allocations: 12.81 MB / 1.379 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005595/1.626, allocations: 0.5116 MB / 1.379 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003399/1.629, allocations: 0.6898 MB / 1.38 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03156/1.661, allocations: 14.01 MB / 1.393 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002273/1.661, allocations: 7.938 kB / 1.393 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002708/1.664, allocations: 244 kB / 1.394 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001354/1.664, allocations: 148 kB / 1.394 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03554/1.699, allocations: 18.89 MB / 1.412 GB, free: 1.207 MB / 1.014 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.1172/1.817, allocations: 72.15 MB / 1.483 GB, free: 6.539 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01761/1.834, allocations: 10.45 MB / 1.493 GB, free: 12.3 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01382/1.848, allocations: 8.978 MB / 1.502 GB, free: 3.316 MB / 1.107 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.05951/1.908, allocations: 30.55 MB / 1.532 GB, free: 4.535 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01577/1.923, allocations: 8.783 MB / 1.54 GB, free: 11.71 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01983/1.943, allocations: 5.787 MB / 1.546 GB, free: 6.098 MB / 1.154 GB Notification: Performance of pre-optimization done (n=383): time 2.285e-05/1.943, allocations: 0 / 1.546 GB, free: 6.098 MB / 1.154 GB Notification: Performance of matching and sorting (n=569): time 1.607/3.55, allocations: 205 MB / 1.746 GB, free: 372.5 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.878e-05/3.55, allocations: 111.9 kB / 1.746 GB, free: 372.3 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02535/3.576, allocations: 12.45 MB / 1.758 GB, free: 360 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.003773/3.579, allocations: 169.7 kB / 1.758 GB, free: 359.8 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.005978/3.585, allocations: 5.911 MB / 1.764 GB, free: 354.1 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.004282/3.59, allocations: 1.911 MB / 1.766 GB, free: 352.3 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005972/3.596, allocations: 2.394 MB / 1.768 GB, free: 349.9 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 4.468e-05/3.596, allocations: 305.1 kB / 1.769 GB, free: 349.6 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01897/3.615, allocations: 10.05 MB / 1.778 GB, free: 339.5 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01738/3.632, allocations: 12.28 MB / 1.79 GB, free: 326.3 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03522/3.667, allocations: 21.92 MB / 1.812 GB, free: 303.8 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.645e-05/3.667, allocations: 15.94 kB / 1.812 GB, free: 303.8 MB / 1.154 GB Notification: Performance of matching and sorting (n=954) (initialization): time 0.6763/4.344, allocations: 125.9 MB / 1.935 GB, free: 177.8 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-05/4.344, allocations: 50.48 kB / 1.935 GB, free: 177.8 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.195e-05/4.344, allocations: 46.52 kB / 1.935 GB, free: 177.7 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7103/5.054, allocations: 136.4 MB / 2.068 GB, free: 41.37 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01029/5.065, allocations: 1.888 MB / 2.07 GB, free: 39.48 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7045/5.769, allocations: 99.55 MB / 2.167 GB, free: 449.1 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01617/5.785, allocations: 0.8344 MB / 2.168 GB, free: 448.9 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003701/5.789, allocations: 0.7682 MB / 2.169 GB, free: 448.9 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02286/5.812, allocations: 12.29 MB / 2.181 GB, free: 444.4 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01902/5.831, allocations: 11.83 MB / 2.192 GB, free: 438.4 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03926/5.87, allocations: 21.03 MB / 2.213 GB, free: 426.1 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.611e-05/5.87, allocations: 15.16 kB / 2.213 GB, free: 426.1 MB / 1.154 GB Notification: Performance of matching and sorting (n=954) (initialization_lambda0): time 0.6822/6.553, allocations: 124.5 MB / 2.334 GB, free: 312.1 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 7.182e-05/6.553, allocations: 61.81 kB / 2.334 GB, free: 312 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.998e-05/6.553, allocations: 48 kB / 2.335 GB, free: 311.9 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005/7.558, allocations: 136.1 MB / 2.467 GB, free: 176.2 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01546/7.574, allocations: 1.866 MB / 2.469 GB, free: 174.3 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1956/7.769, allocations: 104.2 MB / 2.571 GB, free: 69.93 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01522/7.784, allocations: 0.8657 MB / 2.572 GB, free: 69.07 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002903/7.787, allocations: 0.73 MB / 2.573 GB, free: 68.34 MB / 1.154 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,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 (675): * Single equations (assignments): 661 * 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 {(34,41,81.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (7,78)} Notification: Performance of prepare postOptimizeDAE: time 0.002838/7.79, allocations: 0.599 MB / 2.573 GB, free: 67.73 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003726/7.794, allocations: 1.19 MB / 2.574 GB, free: 66.89 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5766/8.37, allocations: 52.36 MB / 2.625 GB, free: 457.1 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2146/8.585, allocations: 46.83 MB / 2.671 GB, free: 454.7 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.826e-05/8.585, allocations: 0 / 2.671 GB, free: 454.7 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006966/8.592, allocations: 2.517 MB / 2.674 GB, free: 454.1 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003317/8.595, allocations: 120.2 kB / 2.674 GB, free: 454 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01142/8.607, allocations: 0.6842 MB / 2.674 GB, free: 453.9 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005836/8.613, allocations: 0.9257 MB / 2.675 GB, free: 453.8 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06391/8.677, allocations: 23.29 MB / 2.698 GB, free: 447.4 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04766/8.724, allocations: 25.23 MB / 2.723 GB, free: 438.4 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0131/8.738, allocations: 7.919 MB / 2.73 GB, free: 435.5 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.01152/8.749, allocations: 8.477 MB / 2.739 GB, free: 432.7 MB / 1.154 GB Notification: Performance of Backend: time 1.001e-06/8.749, allocations: 2.078 kB / 2.739 GB, free: 432.7 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.08162/8.831, allocations: 32.86 MB / 2.771 GB, free: 407.8 MB / 1.154 GB Notification: Performance of SimCode: time 0.04894/8.88, allocations: 29.53 MB / 2.8 GB, free: 378.6 MB / 1.154 GB Notification: Performance of Templates: time 0.7997/9.679, allocations: 426.3 MB / 3.216 GB, free: 457.1 MB / 1.154 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)