Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.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.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.325/1.325, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0009399/0.0009399, allocations: 172.5 kB / 326.5 MB, free: 2.703 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.359/1.359, allocations: 205 MB / 0.5766 GB, free: 21.03 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.0007606/0.0007606, allocations: 84.56 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002725/0.0002725, allocations: 8.75 kB / 0.7938 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1497, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Basic): time 0.6135/0.7633, allocations: 353.7 MB / 1.242 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.09803/0.8613, allocations: 77.78 MB / 1.318 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0138/0.8752, allocations: 389.2 kB / 1.318 GB, free: 0.582 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.01583/0.891, allocations: 4.818 MB / 1.323 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0351/0.9262, allocations: 12.39 MB / 1.335 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.02627/0.9525, allocations: 11.66 MB / 1.347 GB, free: 3.691 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.05241/1.005, allocations: 49.59 MB / 1.395 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.8376/1.842, allocations: 17.4 MB / 1.412 GB, free: 21.27 MB / 0.9012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03536/1.878, allocations: 14.54 MB / 1.426 GB, free: 21.25 MB / 0.9012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02698/1.905, allocations: 15.47 MB / 1.441 GB, free: 19.04 MB / 0.9012 GB Notification: Performance of NFPackage.collectConstants: time 0.007547/1.913, allocations: 1.072 MB / 1.442 GB, free: 19.04 MB / 0.9012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01846/1.931, allocations: 4.86 MB / 1.447 GB, free: 19.04 MB / 0.9012 GB Notification: Performance of NFScalarize.scalarize: time 0.009435/1.94, allocations: 5.071 MB / 1.452 GB, free: 18.34 MB / 0.9012 GB Notification: Performance of NFVerifyModel.verify: time 0.01912/1.96, allocations: 9.529 MB / 1.461 GB, free: 15.53 MB / 0.9012 GB Notification: Performance of NFConvertDAE.convert: time 0.03648/1.996, allocations: 28.25 MB / 1.489 GB, free: 11.85 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.996, allocations: 0 / 1.489 GB, free: 11.85 MB / 0.9012 GB Notification: Performance of FrontEnd: time 2.855e-06/1.996, allocations: 0 / 1.489 GB, free: 11.85 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.000986/1.997, allocations: 2.625 kB / 1.489 GB, free: 11.85 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: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.04584/2.043, allocations: 20.49 MB / 1.509 GB, free: 1.652 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/2.043, allocations: 11.44 kB / 1.509 GB, free: 1.652 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0115/2.055, allocations: 2.386 MB / 1.511 GB, free: 484 kB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03439/2.089, allocations: 15.77 MB / 1.527 GB, free: 10.67 MB / 0.9168 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007325/2.09, allocations: 0.7268 MB / 1.527 GB, free: 10.64 MB / 0.9168 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004974/2.095, allocations: 1.006 MB / 1.528 GB, free: 10.62 MB / 0.9168 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04079/2.136, allocations: 17.39 MB / 1.545 GB, free: 4.785 MB / 0.9168 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004219/2.136, allocations: 12.09 kB / 1.545 GB, free: 4.785 MB / 0.9168 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00387/2.14, allocations: 356.2 kB / 1.546 GB, free: 4.781 MB / 0.9168 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001928/2.14, allocations: 214.5 kB / 1.546 GB, free: 4.777 MB / 0.9168 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0369/2.177, allocations: 20.66 MB / 1.566 GB, free: 12.04 MB / 0.9324 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.1396/2.317, allocations: 81.39 MB / 1.646 GB, free: 5.199 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02166/2.338, allocations: 12.95 MB / 1.658 GB, free: 8.27 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0153/2.354, allocations: 9.987 MB / 1.668 GB, free: 14.25 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.07618/2.43, allocations: 36.05 MB / 1.703 GB, free: 9.883 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01841/2.448, allocations: 9.963 MB / 1.713 GB, free: 15.86 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02851/2.477, allocations: 10.01 MB / 1.723 GB, free: 5.984 MB / 1.073 GB Notification: Performance of pre-optimization done (n=600): time 3.39e-05/2.477, allocations: 0 / 1.723 GB, free: 5.984 MB / 1.073 GB Notification: Performance of matching and sorting (n=852): time 1.464/3.941, allocations: 216.4 MB / 1.934 GB, free: 446.4 MB / 1.136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005289/3.942, allocations: 2.585 MB / 1.937 GB, free: 443.3 MB / 1.136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02799/3.97, allocations: 15.54 MB / 1.952 GB, free: 427.9 MB / 1.136 GB Notification: Performance of collectPreVariables (initialization): time 0.00393/3.974, allocations: 265.9 kB / 1.952 GB, free: 427.6 MB / 1.136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0075/3.981, allocations: 7.75 MB / 1.96 GB, free: 420.3 MB / 1.136 GB Notification: Performance of collectInitialBindings (initialization): time 0.006697/3.988, allocations: 2.959 MB / 1.963 GB, free: 417.6 MB / 1.136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004041/3.992, allocations: 1.052 MB / 1.964 GB, free: 416.5 MB / 1.136 GB Notification: Performance of setup shared object (initialization): time 4.682e-05/3.992, allocations: 309 kB / 1.964 GB, free: 416.2 MB / 1.136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01889/4.011, allocations: 11.85 MB / 1.975 GB, free: 404.4 MB / 1.136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02211/4.033, allocations: 15.37 MB / 1.99 GB, free: 387.7 MB / 1.136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04183/4.075, allocations: 25.84 MB / 2.016 GB, free: 361.1 MB / 1.136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.788e-05/4.075, allocations: 12 kB / 2.016 GB, free: 361.1 MB / 1.136 GB Notification: Performance of matching and sorting (n=1440) (initialization): time 0.5375/4.613, allocations: 131.9 MB / 2.145 GB, free: 229 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006378/4.613, allocations: 1.577 MB / 2.146 GB, free: 226.7 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001935/4.613, allocations: 103.9 kB / 2.146 GB, free: 226.6 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5734/5.187, allocations: 150.4 MB / 2.293 GB, free: 75.98 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01164/5.198, allocations: 2.431 MB / 2.295 GB, free: 73.55 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.486/5.684, allocations: 83.82 MB / 2.377 GB, free: 484 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01677/5.701, allocations: 1.245 MB / 2.378 GB, free: 483.8 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002584/5.704, allocations: 0.867 MB / 2.379 GB, free: 483.8 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/5.704, allocations: 3.969 kB / 2.379 GB, free: 483.8 MB / 1.136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.522/6.226, allocations: 128.4 MB / 2.505 GB, free: 421.8 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002613/6.226, allocations: 99.92 kB / 2.505 GB, free: 421.7 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5663/6.792, allocations: 149.8 MB / 2.651 GB, free: 271.7 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01018/6.803, allocations: 2.388 MB / 2.653 GB, free: 269.3 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1402/6.943, allocations: 90.08 MB / 2.741 GB, free: 179.4 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01652/6.96, allocations: 1.22 MB / 2.743 GB, free: 178.2 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003168/6.963, allocations: 0.8353 MB / 2.743 GB, free: 177.4 MB / 1.136 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 (982): * Single equations (assignments): 902 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * 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): 8 systems {1, 1, 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 {(33,119), (33,119)} Notification: Performance of prepare postOptimizeDAE: time 0.01071/6.973, allocations: 4.276 MB / 2.748 GB, free: 173.1 MB / 1.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007356/6.981, allocations: 1.554 MB / 2.749 GB, free: 172.4 MB / 1.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1748/7.156, allocations: 54.3 MB / 2.802 GB, free: 118.1 MB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1618/7.317, allocations: 48.15 MB / 2.849 GB, free: 69.8 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-05/7.317, allocations: 4 kB / 2.849 GB, free: 69.8 MB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009546/7.327, allocations: 3.266 MB / 2.852 GB, free: 66.73 MB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0041/7.331, allocations: 283.9 kB / 2.853 GB, free: 66.45 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0113/7.342, allocations: 1.066 MB / 2.854 GB, free: 65.41 MB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00442/7.347, allocations: 1.201 MB / 2.855 GB, free: 64.21 MB / 1.136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05927/7.406, allocations: 29.29 MB / 2.883 GB, free: 35.04 MB / 1.136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.4148/7.821, allocations: 30.96 MB / 2.914 GB, free: 486.5 MB / 1.136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01482/7.836, allocations: 9.716 MB / 2.923 GB, free: 486.3 MB / 1.136 GB Notification: Performance of sorting global known variables: time 0.01673/7.853, allocations: 10.58 MB / 2.934 GB, free: 482.9 MB / 1.136 GB Notification: Performance of Backend: time 1.482e-06/7.853, allocations: 0 / 2.934 GB, free: 482.9 MB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.07984/7.933, allocations: 41.1 MB / 2.974 GB, free: 467.9 MB / 1.136 GB Notification: Performance of SimCode: time 0.06508/7.998, allocations: 46.45 MB / 3.019 GB, free: 441.8 MB / 1.136 GB Notification: Performance of Templates: time 0.9504/8.948, allocations: 482.8 MB / 3.49 GB, free: 472.6 MB / 1.136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)