Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.581/1.581, allocations: 287.4 MB / 303.2 MB, free: 8.207 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.0009392/0.0009392, allocations: 182.9 kB / 371.8 MB, free: 10.81 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.255/1.255, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0007869/0.0007868, allocations: 93.22 kB / 0.7438 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005288/0.0005288, allocations: 11.77 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1804, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Basic): time 0.6673/0.8477, allocations: 329.5 MB / 1.301 GB, free: 6.047 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.09722/0.945, allocations: 72.94 MB / 1.372 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01563/0.9607, allocations: 381.2 kB / 1.373 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01539/0.9761, allocations: 3.952 MB / 1.376 GB, free: 8.625 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.03313/1.009, allocations: 10.66 MB / 1.387 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.02743/1.037, allocations: 9.835 MB / 1.396 GB, free: 4.215 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.9801/2.017, allocations: 43.05 MB / 1.439 GB, free: 50.52 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02869/2.046, allocations: 17.47 MB / 1.456 GB, free: 48.68 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03691/2.083, allocations: 14.08 MB / 1.469 GB, free: 48.66 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03194/2.115, allocations: 14.71 MB / 1.484 GB, free: 48.62 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.008732/2.123, allocations: 1.079 MB / 1.485 GB, free: 48.62 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01981/2.143, allocations: 3.742 MB / 1.488 GB, free: 48.56 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.01177/2.155, allocations: 4.942 MB / 1.493 GB, free: 48.56 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01139/2.166, allocations: 3.379 MB / 1.497 GB, free: 48.53 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.03014/2.197, allocations: 22.33 MB / 1.518 GB, free: 47 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/2.197, allocations: 2.906 kB / 1.518 GB, free: 47 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.234e-06/2.197, allocations: 4 kB / 1.518 GB, free: 47 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001044/2.198, allocations: 0 / 1.518 GB, free: 47 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.05093/2.249, allocations: 20.51 MB / 1.538 GB, free: 36.63 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/2.249, allocations: 13.83 kB / 1.538 GB, free: 36.62 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/2.261, allocations: 2.388 MB / 1.541 GB, free: 35.45 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03471/2.295, allocations: 15.76 MB / 1.556 GB, free: 29.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007957/2.296, allocations: 0.7325 MB / 1.557 GB, free: 29.57 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005393/2.302, allocations: 1.007 MB / 1.558 GB, free: 29.55 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03881/2.34, allocations: 17.4 MB / 1.575 GB, free: 23.69 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004637/2.341, allocations: 13.72 kB / 1.575 GB, free: 23.69 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004026/2.345, allocations: 354.2 kB / 1.575 GB, free: 23.69 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000199/2.345, allocations: 219.8 kB / 1.575 GB, free: 23.68 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03415/2.379, allocations: 20.66 MB / 1.596 GB, free: 11.68 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.1436/2.523, allocations: 81.54 MB / 1.675 GB, free: 8.348 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02038/2.543, allocations: 12.98 MB / 1.688 GB, free: 0.6641 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01471/2.558, allocations: 10.01 MB / 1.698 GB, free: 10.82 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.07557/2.634, allocations: 36.16 MB / 1.733 GB, free: 15.06 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01658/2.65, allocations: 10.02 MB / 1.743 GB, free: 7.332 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02979/2.68, allocations: 10.01 MB / 1.752 GB, free: 13.46 MB / 1.073 GB Notification: Performance of pre-optimization done (n=600): time 5.774e-05/2.68, allocations: 0 / 1.752 GB, free: 13.46 MB / 1.073 GB Notification: Performance of matching and sorting (n=852): time 1.766/4.447, allocations: 219.4 MB / 1.967 GB, free: 440.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005697/4.447, allocations: 2.588 MB / 1.969 GB, free: 437.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02861/4.476, allocations: 15.4 MB / 1.984 GB, free: 422.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.004749/4.481, allocations: 266.5 kB / 1.985 GB, free: 421.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.009313/4.49, allocations: 7.746 MB / 1.992 GB, free: 414.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.005743/4.496, allocations: 2.966 MB / 1.995 GB, free: 411.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003396/4.499, allocations: 205.2 kB / 1.995 GB, free: 411.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000773/4.5, allocations: 0.7574 MB / 1.996 GB, free: 410.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02059/4.521, allocations: 11.34 MB / 2.007 GB, free: 399.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02461/4.545, allocations: 14.85 MB / 2.022 GB, free: 383.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04844/4.594, allocations: 24.79 MB / 2.046 GB, free: 357.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-05/4.594, allocations: 16 kB / 2.046 GB, free: 357.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=1440) (initialization): time 0.6056/5.2, allocations: 130.7 MB / 2.173 GB, free: 226.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006148/5.2, allocations: 1.57 MB / 2.175 GB, free: 224.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000226/5.2, allocations: 103.9 kB / 2.175 GB, free: 224.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6318/5.832, allocations: 149.9 MB / 2.321 GB, free: 74.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01285/5.845, allocations: 2.539 MB / 2.324 GB, free: 71.86 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5944/6.439, allocations: 83.79 MB / 2.406 GB, free: 451.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02287/6.462, allocations: 1.355 MB / 2.407 GB, free: 451.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006374/6.469, allocations: 0.8722 MB / 2.408 GB, free: 451.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/6.469, allocations: 4.469 kB / 2.408 GB, free: 451.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6098/7.079, allocations: 128.8 MB / 2.534 GB, free: 391.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002879/7.079, allocations: 95.92 kB / 2.534 GB, free: 391.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6224/7.701, allocations: 150 MB / 2.68 GB, free: 240.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01154/7.713, allocations: 2.5 MB / 2.683 GB, free: 238.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1462/7.859, allocations: 90.11 MB / 2.771 GB, free: 148.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01838/7.878, allocations: 1.338 MB / 2.772 GB, free: 147.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002587/7.88, allocations: 0.8378 MB / 2.773 GB, free: 146.4 MB / 1.151 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,$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 (982): * Single equations (assignments): 902 * 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 {33 119,33 119} Notification: Performance of prepare postOptimizeDAE: time 0.009883/7.89, allocations: 4.274 MB / 2.777 GB, free: 142.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004265/7.894, allocations: 1.557 MB / 2.779 GB, free: 141.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1938/8.088, allocations: 54.8 MB / 2.832 GB, free: 86.25 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1805/8.269, allocations: 48.63 MB / 2.88 GB, free: 37.48 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.729e-05/8.269, allocations: 11.78 kB / 2.88 GB, free: 37.48 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0113/8.28, allocations: 3.515 MB / 2.883 GB, free: 33.95 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004599/8.285, allocations: 283.9 kB / 2.883 GB, free: 33.68 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01339/8.298, allocations: 1.18 MB / 2.884 GB, free: 32.53 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004194/8.302, allocations: 1.201 MB / 2.886 GB, free: 31.32 MB / 1.151 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.474/8.776, allocations: 29.87 MB / 2.915 GB, free: 451.2 MB / 1.151 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.07319/8.85, allocations: 31.78 MB / 2.946 GB, free: 440.9 MB / 1.151 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01899/8.869, allocations: 9.958 MB / 2.956 GB, free: 437.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.02054/8.889, allocations: 10.44 MB / 2.966 GB, free: 434 MB / 1.151 GB Notification: Performance of Backend: time 1.102e-06/8.889, allocations: 1.312 kB / 2.966 GB, free: 434 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.1066/8.996, allocations: 40.75 MB / 3.006 GB, free: 419.2 MB / 1.151 GB Notification: Performance of SimCode: time 0.09672/9.093, allocations: 45.1 MB / 3.05 GB, free: 384 MB / 1.151 GB Notification: Performance of Templates: time 1.022/10.11, allocations: 473.3 MB / 3.512 GB, free: 424.6 MB / 1.151 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)