Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.618/1.618, allocations: 287.4 MB / 303.2 MB, free: 8.168 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.0009078/0.000908, allocations: 193.2 kB / 371.8 MB, free: 10.82 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.281/1.281, allocations: 205.4 MB / 0.6305 GB, free: 10.56 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.0007269/0.0007268, allocations: 93.02 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004217, allocations: 12.62 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1769, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 0.67/0.8469, allocations: 329.5 MB / 1.301 GB, free: 6.047 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1064/0.9533, allocations: 72.93 MB / 1.372 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01757/0.9709, allocations: 369.2 kB / 1.373 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01561/0.9866, allocations: 3.964 MB / 1.376 GB, free: 8.625 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.03405/1.021, allocations: 10.65 MB / 1.387 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.02775/1.048, allocations: 9.844 MB / 1.396 GB, free: 4.219 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.9968/2.045, allocations: 42.85 MB / 1.438 GB, free: 50.43 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02669/2.072, allocations: 17.45 MB / 1.455 GB, free: 48.58 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03317/2.105, allocations: 14.03 MB / 1.469 GB, free: 48.56 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0289/2.134, allocations: 14.68 MB / 1.483 GB, free: 48.52 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.007668/2.142, allocations: 1.069 MB / 1.484 GB, free: 48.52 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02025/2.162, allocations: 3.723 MB / 1.488 GB, free: 48.47 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.01012/2.172, allocations: 4.921 MB / 1.493 GB, free: 48.47 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.009428/2.182, allocations: 3.382 MB / 1.496 GB, free: 48.43 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.03037/2.212, allocations: 22.24 MB / 1.518 GB, free: 46.91 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/2.212, allocations: 0 / 1.518 GB, free: 46.91 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.615e-06/2.212, allocations: 3.344 kB / 1.518 GB, free: 46.91 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001254/2.213, allocations: 0 / 1.518 GB, free: 46.91 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.05129/2.265, allocations: 20.5 MB / 1.538 GB, free: 36.55 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/2.265, allocations: 10.09 kB / 1.538 GB, free: 36.55 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/2.276, allocations: 2.384 MB / 1.54 GB, free: 35.37 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03543/2.312, allocations: 15.72 MB / 1.556 GB, free: 29.53 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009546/2.313, allocations: 0.7297 MB / 1.556 GB, free: 29.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005376/2.318, allocations: 0.9921 MB / 1.557 GB, free: 29.47 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03779/2.356, allocations: 17.27 MB / 1.574 GB, free: 23.66 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004027/2.356, allocations: 17.7 kB / 1.574 GB, free: 23.65 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004125/2.36, allocations: 353.6 kB / 1.575 GB, free: 23.65 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002028/2.361, allocations: 219.1 kB / 1.575 GB, free: 23.65 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03604/2.397, allocations: 20.58 MB / 1.595 GB, free: 11.95 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.1523/2.549, allocations: 82.36 MB / 1.675 GB, free: 7.352 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0205/2.57, allocations: 12.6 MB / 1.688 GB, free: 15.97 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01398/2.584, allocations: 9.516 MB / 1.697 GB, free: 10.51 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.07587/2.66, allocations: 35.56 MB / 1.732 GB, free: 15.18 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.018/2.678, allocations: 9.791 MB / 1.741 GB, free: 8.52 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03153/2.709, allocations: 10 MB / 1.751 GB, free: 15.08 MB / 1.073 GB Notification: Performance of pre-optimization done (n=576): time 4.53e-05/2.709, allocations: 0 / 1.751 GB, free: 15.08 MB / 1.073 GB Notification: Performance of matching and sorting (n=804): time 1.75/4.46, allocations: 208.5 MB / 1.955 GB, free: 453.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005906/4.46, allocations: 2.58 MB / 1.957 GB, free: 449.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02723/4.488, allocations: 15.45 MB / 1.972 GB, free: 434.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.004456/4.492, allocations: 257.5 kB / 1.972 GB, free: 434.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.009458/4.502, allocations: 7.772 MB / 1.98 GB, free: 427.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.005732/4.507, allocations: 2.791 MB / 1.983 GB, free: 424.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002905/4.51, allocations: 209.2 kB / 1.983 GB, free: 424.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0007841/4.511, allocations: 0.7453 MB / 1.984 GB, free: 423.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01987/4.531, allocations: 11.16 MB / 1.995 GB, free: 412.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02217/4.553, allocations: 14.61 MB / 2.009 GB, free: 396.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04074/4.594, allocations: 24.51 MB / 2.033 GB, free: 371.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.773e-05/4.594, allocations: 16 kB / 2.033 GB, free: 371.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=1416) (initialization): time 0.5878/5.182, allocations: 128.8 MB / 2.159 GB, free: 242.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006845/5.183, allocations: 1.726 MB / 2.16 GB, free: 240 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002044/5.183, allocations: 103.9 kB / 2.16 GB, free: 239.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6158/5.799, allocations: 145.4 MB / 2.302 GB, free: 94.31 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01463/5.813, allocations: 2.75 MB / 2.305 GB, free: 91.56 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5676/6.381, allocations: 81.27 MB / 2.384 GB, free: 455.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02055/6.401, allocations: 1.368 MB / 2.386 GB, free: 455.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004052/6.406, allocations: 0.8772 MB / 2.387 GB, free: 455.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/6.406, allocations: 6.312 kB / 2.387 GB, free: 455.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5942/7, allocations: 127.3 MB / 2.511 GB, free: 413.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000325/7, allocations: 109.5 kB / 2.511 GB, free: 413.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6042/7.604, allocations: 144.5 MB / 2.652 GB, free: 269.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0125/7.617, allocations: 2.7 MB / 2.655 GB, free: 266.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1421/7.759, allocations: 84.83 MB / 2.738 GB, free: 181.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01889/7.778, allocations: 1.359 MB / 2.739 GB, free: 180.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003246/7.781, allocations: 0.8412 MB / 2.74 GB, free: 179.4 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.01109/7.792, allocations: 4.256 MB / 2.744 GB, free: 175.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004587/7.797, allocations: 1.543 MB / 2.745 GB, free: 174.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1835/7.98, allocations: 52.55 MB / 2.797 GB, free: 121.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1721/8.153, allocations: 46.5 MB / 2.842 GB, free: 75.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.546e-05/8.153, allocations: 9.297 kB / 2.842 GB, free: 75.17 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01131/8.164, allocations: 3.406 MB / 2.845 GB, free: 71.75 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006847/8.171, allocations: 279.8 kB / 2.846 GB, free: 71.47 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01795/8.189, allocations: 1.204 MB / 2.847 GB, free: 70.29 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005286/8.194, allocations: 1.056 MB / 2.848 GB, free: 69.23 MB / 1.151 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07318/8.267, allocations: 27.65 MB / 2.875 GB, free: 41.75 MB / 1.151 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.5197/8.787, allocations: 30.79 MB / 2.905 GB, free: 458.9 MB / 1.151 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01839/8.806, allocations: 9.619 MB / 2.914 GB, free: 457.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.01963/8.825, allocations: 10.46 MB / 2.925 GB, free: 454.3 MB / 1.151 GB Notification: Performance of Backend: time 8.22e-07/8.825, allocations: 0 / 2.925 GB, free: 454.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.09605/8.921, allocations: 40.27 MB / 2.964 GB, free: 439.8 MB / 1.151 GB Notification: Performance of SimCode: time 0.07017/8.991, allocations: 43.61 MB / 3.006 GB, free: 420.7 MB / 1.151 GB Notification: Performance of Templates: time 0.997/9.989, allocations: 462.8 MB / 3.458 GB, free: 450.4 MB / 1.151 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)