Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.579/1.579, allocations: 287.4 MB / 303.2 MB, free: 8.18 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.0009029/0.0009029, allocations: 174.7 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.278/1.278, allocations: 205.4 MB / 0.6304 GB, free: 10.57 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.0007402/0.0007402, allocations: 95.2 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003754, allocations: 20.09 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.18, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified2): time 0.7012/0.8813, allocations: 329.5 MB / 1.301 GB, free: 6.016 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.09955/0.9808, allocations: 72.92 MB / 1.372 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01349/0.9944, allocations: 373.2 kB / 1.373 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01373/1.008, allocations: 3.96 MB / 1.376 GB, free: 8.609 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.03237/1.041, allocations: 10.67 MB / 1.387 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.02726/1.068, allocations: 9.829 MB / 1.397 GB, free: 4.199 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.9217/1.989, allocations: 42.86 MB / 1.438 GB, free: 50.11 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02815/2.018, allocations: 17.45 MB / 1.455 GB, free: 48.25 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03322/2.051, allocations: 14.03 MB / 1.469 GB, free: 48.23 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02888/2.08, allocations: 14.68 MB / 1.483 GB, free: 48.19 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.007397/2.087, allocations: 1.066 MB / 1.484 GB, free: 48.19 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01806/2.105, allocations: 3.725 MB / 1.488 GB, free: 48.14 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.009352/2.115, allocations: 4.924 MB / 1.493 GB, free: 48.14 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.009334/2.124, allocations: 3.377 MB / 1.496 GB, free: 48.11 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02569/2.15, allocations: 22.24 MB / 1.518 GB, free: 46.59 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/2.15, allocations: 0 / 1.518 GB, free: 46.59 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.554e-06/2.15, allocations: 1.75 kB / 1.518 GB, free: 46.59 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009978/2.151, allocations: 0 / 1.518 GB, free: 46.59 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.05027/2.201, allocations: 20.5 MB / 1.538 GB, free: 36.32 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/2.201, allocations: 10.69 kB / 1.538 GB, free: 36.32 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01155/2.213, allocations: 2.385 MB / 1.54 GB, free: 35.14 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03839/2.251, allocations: 15.73 MB / 1.556 GB, free: 29.29 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008121/2.252, allocations: 0.7141 MB / 1.556 GB, free: 29.27 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006026/2.258, allocations: 0.9965 MB / 1.557 GB, free: 29.25 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04414/2.302, allocations: 17.28 MB / 1.574 GB, free: 23.42 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005104/2.303, allocations: 10.69 kB / 1.574 GB, free: 23.42 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005029/2.308, allocations: 352.5 kB / 1.575 GB, free: 23.42 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002485/2.308, allocations: 209.5 kB / 1.575 GB, free: 23.42 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04063/2.349, allocations: 20.58 MB / 1.595 GB, free: 11.7 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.154/2.503, allocations: 82.4 MB / 1.675 GB, free: 7.066 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02029/2.523, allocations: 12.61 MB / 1.688 GB, free: 15.69 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01394/2.537, allocations: 9.505 MB / 1.697 GB, free: 10.23 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.07178/2.609, allocations: 35.56 MB / 1.732 GB, free: 14.89 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01537/2.624, allocations: 9.78 MB / 1.741 GB, free: 8.238 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02874/2.653, allocations: 10.01 MB / 1.751 GB, free: 14.73 MB / 1.073 GB Notification: Performance of pre-optimization done (n=576): time 3.546e-05/2.653, allocations: 0 / 1.751 GB, free: 14.73 MB / 1.073 GB Notification: Performance of matching and sorting (n=804): time 1.646/4.299, allocations: 210.6 MB / 1.957 GB, free: 450.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004849/4.3, allocations: 2.582 MB / 1.959 GB, free: 447.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02126/4.321, allocations: 15.45 MB / 1.974 GB, free: 432.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.003451/4.325, allocations: 253.6 kB / 1.974 GB, free: 432.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.006175/4.331, allocations: 7.774 MB / 1.982 GB, free: 425.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.004099/4.335, allocations: 2.795 MB / 1.985 GB, free: 422.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00142/4.336, allocations: 209.2 kB / 1.985 GB, free: 422.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0004303/4.337, allocations: 0.7453 MB / 1.986 GB, free: 421.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01693/4.354, allocations: 11.15 MB / 1.997 GB, free: 410.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02053/4.374, allocations: 14.61 MB / 2.011 GB, free: 394.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04053/4.415, allocations: 24.51 MB / 2.035 GB, free: 369.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.615e-05/4.415, allocations: 12 kB / 2.035 GB, free: 369.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=1416) (initialization): time 0.587/5.002, allocations: 128.9 MB / 2.161 GB, free: 240.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007776/5.003, allocations: 1.729 MB / 2.162 GB, free: 237.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002106/5.003, allocations: 99.92 kB / 2.162 GB, free: 237.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6225/5.626, allocations: 144.5 MB / 2.304 GB, free: 92.84 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01435/5.64, allocations: 2.746 MB / 2.306 GB, free: 90.09 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5224/6.162, allocations: 80.89 MB / 2.385 GB, free: 455.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02039/6.183, allocations: 1.411 MB / 2.387 GB, free: 455.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004463/6.187, allocations: 0.872 MB / 2.387 GB, free: 455.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/6.187, allocations: 7.5 kB / 2.388 GB, free: 455.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.595/6.782, allocations: 127.4 MB / 2.512 GB, free: 412.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002838/6.783, allocations: 99.92 kB / 2.512 GB, free: 412.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6114/7.394, allocations: 144.3 MB / 2.653 GB, free: 268.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01385/7.408, allocations: 2.697 MB / 2.656 GB, free: 265.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1472/7.555, allocations: 84.46 MB / 2.738 GB, free: 181 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02051/7.576, allocations: 1.4 MB / 2.739 GB, free: 179.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004828/7.581, allocations: 0.8367 MB / 2.74 GB, free: 178.8 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 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.01526/7.596, allocations: 4.254 MB / 2.744 GB, free: 174.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007069/7.603, allocations: 1.549 MB / 2.746 GB, free: 173.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2065/7.81, allocations: 52.59 MB / 2.797 GB, free: 121.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1816/7.991, allocations: 46.54 MB / 2.843 GB, free: 74.53 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.656e-05/7.991, allocations: 0 / 2.843 GB, free: 74.53 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01281/8.004, allocations: 3.406 MB / 2.846 GB, free: 71.11 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006955/8.011, allocations: 275.9 kB / 2.846 GB, free: 70.84 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01661/8.028, allocations: 1.227 MB / 2.847 GB, free: 69.63 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005505/8.033, allocations: 1.06 MB / 2.848 GB, free: 68.57 MB / 1.151 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07212/8.105, allocations: 27.83 MB / 2.876 GB, free: 40.9 MB / 1.151 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.4897/8.595, allocations: 30.83 MB / 2.906 GB, free: 458.6 MB / 1.151 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02017/8.615, allocations: 9.629 MB / 2.915 GB, free: 457 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.02263/8.638, allocations: 10.47 MB / 2.925 GB, free: 453.6 MB / 1.151 GB Notification: Performance of Backend: time 9.62e-07/8.638, allocations: 0 / 2.925 GB, free: 453.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.09375/8.732, allocations: 39.09 MB / 2.964 GB, free: 439.2 MB / 1.151 GB Notification: Performance of SimCode: time 0.07625/8.808, allocations: 43.26 MB / 3.006 GB, free: 420.3 MB / 1.151 GB Notification: Performance of Templates: time 0.998/9.806, allocations: 467.8 MB / 3.463 GB, free: 451.5 MB / 1.151 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)