Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.675/1.675, allocations: 288.4 MB / 304.3 MB, free: 7.98 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.0008938/0.0008939, allocations: 178.3 kB / 372.9 MB, free: 10.16 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.569/1.569, allocations: 205.4 MB / 0.6316 GB, free: 9.957 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.000812/0.000812, allocations: 86.22 kB / 0.745 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 16.16 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1858, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 0.6814/0.8673, allocations: 329.5 MB / 1.303 GB, free: 4.773 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.09485/0.9622, allocations: 72.93 MB / 1.374 GB, free: 11.72 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01635/0.9786, allocations: 373.2 kB / 1.374 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01533/0.994, allocations: 4.116 MB / 1.378 GB, free: 7.211 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.03499/1.029, allocations: 11.35 MB / 1.389 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.03054/1.06, allocations: 9.911 MB / 1.399 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 1.028/2.087, allocations: 42.86 MB / 1.441 GB, free: 51.11 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02741/2.115, allocations: 17.47 MB / 1.458 GB, free: 49.26 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03642/2.151, allocations: 14.32 MB / 1.472 GB, free: 49.23 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02957/2.181, allocations: 14.67 MB / 1.486 GB, free: 49.2 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.008093/2.189, allocations: 1.067 MB / 1.487 GB, free: 49.2 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01949/2.209, allocations: 4.63 MB / 1.492 GB, free: 49.12 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0113/2.22, allocations: 4.919 MB / 1.496 GB, free: 49.12 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.02441/2.244, allocations: 9.144 MB / 1.505 GB, free: 49.09 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.03065/2.275, allocations: 22.41 MB / 1.527 GB, free: 46.36 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/2.275, allocations: 0 / 1.527 GB, free: 46.36 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.364e-06/2.275, allocations: 2.625 kB / 1.527 GB, free: 46.36 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00109/2.276, allocations: 0 / 1.527 GB, free: 46.36 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: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.0575/2.334, allocations: 20.5 MB / 1.547 GB, free: 35.55 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/2.334, allocations: 8.844 kB / 1.547 GB, free: 35.55 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01304/2.347, allocations: 2.386 MB / 1.55 GB, free: 34.36 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03612/2.383, allocations: 15.73 MB / 1.565 GB, free: 28.52 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007751/2.384, allocations: 0.7203 MB / 1.566 GB, free: 28.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005884/2.39, allocations: 0.9995 MB / 1.567 GB, free: 28.46 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0404/2.43, allocations: 17.27 MB / 1.584 GB, free: 21.79 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004952/2.431, allocations: 14.22 kB / 1.584 GB, free: 21.79 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004984/2.436, allocations: 358.4 kB / 1.584 GB, free: 21.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002306/2.436, allocations: 213 kB / 1.584 GB, free: 21.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03945/2.475, allocations: 20.57 MB / 1.604 GB, free: 7.43 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.1559/2.631, allocations: 82.37 MB / 1.685 GB, free: 2.836 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02149/2.653, allocations: 12.61 MB / 1.697 GB, free: 11.45 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0149/2.668, allocations: 9.518 MB / 1.706 GB, free: 5.988 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.08356/2.751, allocations: 35.55 MB / 1.741 GB, free: 10.66 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01883/2.77, allocations: 9.782 MB / 1.751 GB, free: 1.93 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03151/2.802, allocations: 10 MB / 1.76 GB, free: 8.062 MB / 1.073 GB Notification: Performance of pre-optimization done (n=576): time 4.179e-05/2.802, allocations: 0 / 1.76 GB, free: 8.062 MB / 1.073 GB Notification: Performance of matching and sorting (n=804): time 1.663/4.465, allocations: 208.5 MB / 1.964 GB, free: 445.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005473/4.466, allocations: 2.576 MB / 1.966 GB, free: 442.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02689/4.493, allocations: 15.45 MB / 1.982 GB, free: 427.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.004022/4.497, allocations: 258.4 kB / 1.982 GB, free: 426.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.007722/4.505, allocations: 7.777 MB / 1.989 GB, free: 419.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.005127/4.51, allocations: 2.796 MB / 1.992 GB, free: 417.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003436/4.513, allocations: 207.8 kB / 1.992 GB, free: 416.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.00082/4.514, allocations: 0.7453 MB / 1.993 GB, free: 416.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01972/4.534, allocations: 11.16 MB / 2.004 GB, free: 405 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02294/4.557, allocations: 14.61 MB / 2.018 GB, free: 389.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04263/4.599, allocations: 24.51 MB / 2.042 GB, free: 363.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.614e-05/4.6, allocations: 12 kB / 2.042 GB, free: 363.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=1416) (initialization): time 0.6129/5.212, allocations: 128.8 MB / 2.168 GB, free: 234.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008471/5.213, allocations: 1.73 MB / 2.17 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002552/5.214, allocations: 99.92 kB / 2.17 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6383/5.852, allocations: 145.4 MB / 2.312 GB, free: 86.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01467/5.867, allocations: 2.738 MB / 2.314 GB, free: 83.86 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.534/6.401, allocations: 81.26 MB / 2.394 GB, free: 454.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02061/6.421, allocations: 1.376 MB / 2.395 GB, free: 454.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004114/6.425, allocations: 0.8751 MB / 2.396 GB, free: 454.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/6.425, allocations: 3.969 kB / 2.396 GB, free: 454.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.601/7.026, allocations: 127.3 MB / 2.52 GB, free: 405.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002782/7.027, allocations: 107.5 kB / 2.52 GB, free: 405.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6399/7.667, allocations: 144.5 MB / 2.661 GB, free: 260.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01294/7.68, allocations: 2.699 MB / 2.664 GB, free: 258.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1869/7.867, allocations: 84.83 MB / 2.747 GB, free: 173.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02092/7.888, allocations: 1.361 MB / 2.748 GB, free: 171.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003956/7.892, allocations: 0.8378 MB / 2.749 GB, free: 171 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (1054): * Single equations (assignments): 974 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * 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: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.01213/7.904, allocations: 4.254 MB / 2.753 GB, free: 166.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004679/7.908, allocations: 1.547 MB / 2.755 GB, free: 165.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1966/8.105, allocations: 52.55 MB / 2.806 GB, free: 113.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1825/8.287, allocations: 46.51 MB / 2.851 GB, free: 66.82 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.531e-05/8.288, allocations: 0 / 2.851 GB, free: 66.82 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0114/8.299, allocations: 3.409 MB / 2.855 GB, free: 63.39 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005146/8.304, allocations: 275.9 kB / 2.855 GB, free: 63.12 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01423/8.318, allocations: 1.202 MB / 2.856 GB, free: 61.94 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004681/8.323, allocations: 1.058 MB / 2.857 GB, free: 60.88 MB / 1.151 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06743/8.391, allocations: 27.65 MB / 2.884 GB, free: 33.41 MB / 1.151 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.501/8.892, allocations: 30.8 MB / 2.914 GB, free: 459.4 MB / 1.151 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02159/8.913, allocations: 9.616 MB / 2.924 GB, free: 456 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.02037/8.934, allocations: 10.46 MB / 2.934 GB, free: 452.7 MB / 1.151 GB Notification: Performance of Backend: time 8.02e-07/8.934, allocations: 0 / 2.934 GB, free: 452.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.1029/9.037, allocations: 40.33 MB / 2.973 GB, free: 438.2 MB / 1.151 GB Notification: Performance of SimCode: time 0.07527/9.112, allocations: 43.62 MB / 3.016 GB, free: 418.2 MB / 1.151 GB Notification: Performance of Templates: time 1.033/10.14, allocations: 466.8 MB / 3.472 GB, free: 457.1 MB / 1.151 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)