Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.311/1.311, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009379/0.000938, allocations: 169.9 kB / 326.5 MB, free: 2.707 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.369/1.369, allocations: 205 MB / 0.5766 GB, free: 21.07 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.0007192/0.0007191, allocations: 87.48 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003227, allocations: 9.281 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1498, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 0.5854/0.7352, allocations: 353.8 MB / 1.242 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0941/0.8293, allocations: 77.78 MB / 1.318 GB, free: 0.8711 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01319/0.8425, allocations: 393.2 kB / 1.319 GB, free: 496 kB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.01299/0.8556, allocations: 4.332 MB / 1.323 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.03135/0.8869, allocations: 12.06 MB / 1.335 GB, free: 44 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.01993/0.9069, allocations: 8.448 MB / 1.343 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.04589/0.9528, allocations: 44.62 MB / 1.386 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.8196/1.772, allocations: 15.85 MB / 1.402 GB, free: 22.3 MB / 0.9012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02544/1.798, allocations: 13.29 MB / 1.415 GB, free: 22.3 MB / 0.9012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02312/1.821, allocations: 14.17 MB / 1.429 GB, free: 20.9 MB / 0.9012 GB Notification: Performance of NFPackage.collectConstants: time 0.005304/1.826, allocations: 0.9982 MB / 1.43 GB, free: 20.89 MB / 0.9012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01461/1.841, allocations: 4.791 MB / 1.434 GB, free: 20.89 MB / 0.9012 GB Notification: Performance of NFScalarize.scalarize: time 0.005721/1.847, allocations: 4.331 MB / 1.439 GB, free: 20.3 MB / 0.9012 GB Notification: Performance of NFVerifyModel.verify: time 0.01465/1.861, allocations: 8.396 MB / 1.447 GB, free: 17.92 MB / 0.9012 GB Notification: Performance of NFConvertDAE.convert: time 0.02827/1.89, allocations: 24.65 MB / 1.471 GB, free: 14.98 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.89, allocations: 0 / 1.471 GB, free: 14.98 MB / 0.9012 GB Notification: Performance of FrontEnd: time 1.864e-06/1.89, allocations: 0 / 1.471 GB, free: 14.98 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.000737/1.89, allocations: 0 / 1.471 GB, free: 14.98 MB / 0.9012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.03814/1.929, allocations: 17.99 MB / 1.488 GB, free: 8.488 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/1.929, allocations: 9.438 kB / 1.488 GB, free: 8.488 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/1.94, allocations: 2.299 MB / 1.491 GB, free: 7.59 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02483/1.965, allocations: 13.9 MB / 1.504 GB, free: 4.32 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001023/1.966, allocations: 0.7293 MB / 1.505 GB, free: 4.254 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003272/1.969, allocations: 0.7872 MB / 1.506 GB, free: 4.25 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02605/1.995, allocations: 14.96 MB / 1.52 GB, free: 15.94 MB / 0.9168 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000144/1.995, allocations: 20.22 kB / 1.52 GB, free: 15.94 MB / 0.9168 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001136/1.996, allocations: 287.4 kB / 1.521 GB, free: 15.94 MB / 0.9168 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/1.997, allocations: 188.8 kB / 1.521 GB, free: 15.93 MB / 0.9168 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02799/2.025, allocations: 19.35 MB / 1.54 GB, free: 13.16 MB / 0.9168 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.1169/2.141, allocations: 77.4 MB / 1.615 GB, free: 14.93 MB / 0.9793 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01627/2.158, allocations: 10.55 MB / 1.626 GB, free: 7.449 MB / 0.9793 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01297/2.171, allocations: 9.085 MB / 1.634 GB, free: 14.36 MB / 0.9949 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.06182/2.233, allocations: 32.62 MB / 1.666 GB, free: 13.38 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01566/2.248, allocations: 8.802 MB / 1.675 GB, free: 4.547 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02657/2.275, allocations: 9.841 MB / 1.685 GB, free: 10.84 MB / 1.042 GB Notification: Performance of pre-optimization done (n=421): time 2.21e-05/2.275, allocations: 0 / 1.685 GB, free: 10.84 MB / 1.042 GB Notification: Performance of matching and sorting (n=605): time 1.144/3.419, allocations: 195.6 MB / 1.876 GB, free: 0.4916 GB / 1.136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/3.419, allocations: 112.2 kB / 1.876 GB, free: 0.4915 GB / 1.136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01865/3.438, allocations: 13.14 MB / 1.888 GB, free: 490.9 MB / 1.136 GB Notification: Performance of collectPreVariables (initialization): time 0.003223/3.441, allocations: 181.7 kB / 1.889 GB, free: 490.7 MB / 1.136 GB Notification: Performance of collectInitialEqns (initialization): time 0.006371/3.448, allocations: 6.586 MB / 1.895 GB, free: 485.4 MB / 1.136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00405/3.452, allocations: 2.042 MB / 1.897 GB, free: 484.7 MB / 1.136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00354/3.455, allocations: 0.718 MB / 1.898 GB, free: 483.9 MB / 1.136 GB Notification: Performance of setup shared object (initialization): time 4.81e-05/3.455, allocations: 312.9 kB / 1.898 GB, free: 483.6 MB / 1.136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01608/3.471, allocations: 9.858 MB / 1.908 GB, free: 473.8 MB / 1.136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01779/3.489, allocations: 12.39 MB / 1.92 GB, free: 460.3 MB / 1.136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03458/3.524, allocations: 21.95 MB / 1.941 GB, free: 437.6 MB / 1.136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-05/3.524, allocations: 16.88 kB / 1.941 GB, free: 437.6 MB / 1.136 GB Notification: Performance of matching and sorting (n=1027) (initialization): time 0.5268/4.051, allocations: 125.1 MB / 2.063 GB, free: 312.8 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006875/4.051, allocations: 1.741 MB / 2.065 GB, free: 310.3 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.594e-05/4.051, allocations: 53.03 kB / 2.065 GB, free: 310.2 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.556/4.607, allocations: 143.6 MB / 2.205 GB, free: 166.4 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009556/4.617, allocations: 1.997 MB / 2.207 GB, free: 164.4 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1213/4.738, allocations: 78.78 MB / 2.284 GB, free: 85.25 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01529/4.754, allocations: 1.172 MB / 2.285 GB, free: 84.11 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001949/4.756, allocations: 0.7841 MB / 2.286 GB, free: 83.32 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/4.756, allocations: 11.94 kB / 2.286 GB, free: 83.31 MB / 1.136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.8708/5.626, allocations: 122.5 MB / 2.406 GB, free: 488.9 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.662e-05/5.627, allocations: 53.42 kB / 2.406 GB, free: 488.9 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5469/6.173, allocations: 143.3 MB / 2.546 GB, free: 376.3 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008412/6.182, allocations: 1.976 MB / 2.548 GB, free: 374.4 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1283/6.31, allocations: 82.72 MB / 2.628 GB, free: 291.5 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01519/6.325, allocations: 1.153 MB / 2.63 GB, free: 290.4 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002499/6.328, allocations: 0.7529 MB / 2.63 GB, free: 289.7 MB / 1.136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (767): * Single equations (assignments): 753 * 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 {(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.006923/6.335, allocations: 3.338 MB / 2.634 GB, free: 286.4 MB / 1.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003593/6.338, allocations: 1.276 MB / 2.635 GB, free: 285.8 MB / 1.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1623/6.501, allocations: 48.96 MB / 2.683 GB, free: 236.9 MB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1508/6.652, allocations: 43.37 MB / 2.725 GB, free: 193.4 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-05/6.652, allocations: 4 kB / 2.725 GB, free: 193.4 MB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007606/6.659, allocations: 2.621 MB / 2.728 GB, free: 191.5 MB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003125/6.662, allocations: 124 kB / 2.728 GB, free: 191.3 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01064/6.673, allocations: 1.007 MB / 2.729 GB, free: 190.4 MB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003983/6.677, allocations: 0.9026 MB / 2.73 GB, free: 189.5 MB / 1.136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04713/6.724, allocations: 22.75 MB / 2.752 GB, free: 167 MB / 1.136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03557/6.76, allocations: 25.01 MB / 2.776 GB, free: 142.1 MB / 1.136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01013/6.77, allocations: 7.78 MB / 2.784 GB, free: 134.3 MB / 1.136 GB Notification: Performance of sorting global known variables: time 0.01083/6.781, allocations: 8.931 MB / 2.792 GB, free: 125.5 MB / 1.136 GB Notification: Performance of Backend: time 3.91e-07/6.781, allocations: 0 / 2.792 GB, free: 125.5 MB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.06215/6.843, allocations: 32.43 MB / 2.824 GB, free: 93.32 MB / 1.136 GB Notification: Performance of SimCode: time 0.04854/6.892, allocations: 36.35 MB / 2.86 GB, free: 57.13 MB / 1.136 GB Notification: Performance of Templates: time 0.7873/7.679, allocations: 417.5 MB / 3.267 GB, free: 189.6 MB / 1.136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)