Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.72/1.72, allocations: 287.5 MB / 302.6 MB, free: 8.301 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.0009545/0.0009546, allocations: 178.8 kB / 371.2 MB, free: 10.84 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.647/1.647, allocations: 205.4 MB / 0.6298 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.0007933/0.0007935, allocations: 93.28 kB / 0.7432 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003809, allocations: 11.25 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2141, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 0.788/1.002, allocations: 329.7 MB / 1.301 GB, free: 5.891 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1044/1.107, allocations: 72.95 MB / 1.372 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01651/1.123, allocations: 373.2 kB / 1.372 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01397/1.137, allocations: 3.137 MB / 1.375 GB, free: 9.289 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.03029/1.167, allocations: 8.835 MB / 1.384 GB, free: 436 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.01887/1.186, allocations: 6.024 MB / 1.39 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.04388/1.23, allocations: 32.97 MB / 1.422 GB, free: 9.379 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 1.003/2.233, allocations: 13.92 MB / 1.436 GB, free: 50.5 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03028/2.263, allocations: 10.12 MB / 1.445 GB, free: 50.5 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02305/2.287, allocations: 9.041 MB / 1.454 GB, free: 50.47 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.005685/2.292, allocations: 0.4949 MB / 1.455 GB, free: 50.47 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01822/2.311, allocations: 2.867 MB / 1.458 GB, free: 50.47 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.008708/2.319, allocations: 2.89 MB / 1.46 GB, free: 50.47 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01127/2.331, allocations: 2.628 MB / 1.463 GB, free: 50.44 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02599/2.357, allocations: 14.5 MB / 1.477 GB, free: 49.36 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/2.357, allocations: 2.719 kB / 1.477 GB, free: 49.36 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.284e-06/2.357, allocations: 0 / 1.477 GB, free: 49.36 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001012/2.358, allocations: 0 / 1.477 GB, free: 49.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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.03938/2.397, allocations: 13.67 MB / 1.49 GB, free: 43.45 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/2.397, allocations: 8.5 kB / 1.49 GB, free: 43.45 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/2.408, allocations: 2.219 MB / 1.493 GB, free: 42.62 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03026/2.439, allocations: 11.57 MB / 1.504 GB, free: 40.39 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001756/2.44, allocations: 0.7865 MB / 1.505 GB, free: 40.36 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003094/2.444, allocations: 0.6863 MB / 1.505 GB, free: 40.36 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02329/2.467, allocations: 8.952 MB / 1.514 GB, free: 39.28 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002789/2.467, allocations: 15.25 kB / 1.514 GB, free: 39.28 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001918/2.469, allocations: 254.6 kB / 1.514 GB, free: 39.28 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/2.469, allocations: 156.3 kB / 1.515 GB, free: 39.28 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01616/2.485, allocations: 7.421 MB / 1.522 GB, free: 39.2 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.07186/2.557, allocations: 50.46 MB / 1.571 GB, free: 22.72 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009895/2.567, allocations: 5.545 MB / 1.576 GB, free: 21.77 MB / 0.9637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0063/2.574, allocations: 3.995 MB / 1.58 GB, free: 21.15 MB / 0.9637 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.03017/2.604, allocations: 13.46 MB / 1.594 GB, free: 15.07 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005713/2.61, allocations: 3.733 MB / 1.597 GB, free: 14.02 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008889/2.618, allocations: 1.861 MB / 1.599 GB, free: 13.29 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=320): time 1.83e-05/2.618, allocations: 4 kB / 1.599 GB, free: 13.28 MB / 0.9637 GB Notification: Performance of matching and sorting (n=506): time 0.1925/2.811, allocations: 53.98 MB / 1.652 GB, free: 15.86 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/2.811, allocations: 103.4 kB / 1.652 GB, free: 15.75 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02926/2.84, allocations: 12.51 MB / 1.664 GB, free: 6.598 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.002655/2.843, allocations: 167.2 kB / 1.664 GB, free: 6.523 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.008579/2.852, allocations: 6.155 MB / 1.67 GB, free: 3.816 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.00313/2.855, allocations: 1.705 MB / 1.672 GB, free: 2.355 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001656/2.857, allocations: 142.8 kB / 1.672 GB, free: 2.328 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.000613/2.857, allocations: 0.6039 MB / 1.673 GB, free: 1.836 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01241/2.87, allocations: 5.155 MB / 1.678 GB, free: 14.15 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01509/2.885, allocations: 7.816 MB / 1.685 GB, free: 6.918 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02637/2.911, allocations: 12.24 MB / 1.697 GB, free: 13.43 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-05/2.911, allocations: 16 kB / 1.697 GB, free: 13.41 MB / 1.042 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.04762/2.959, allocations: 17.22 MB / 1.714 GB, free: 0.5391 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001545/2.961, allocations: 1.931 MB / 1.716 GB, free: 14 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000141/2.961, allocations: 56 kB / 1.716 GB, free: 13.94 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01585/2.977, allocations: 4.643 MB / 1.72 GB, free: 9.852 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0115/2.988, allocations: 2.039 MB / 1.722 GB, free: 7.953 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01328/3.001, allocations: 10.91 MB / 1.733 GB, free: 15.03 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01533/3.017, allocations: 1.217 MB / 1.734 GB, free: 13.93 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002367/3.019, allocations: 471.5 kB / 1.735 GB, free: 13.53 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/3.019, allocations: 4 kB / 1.735 GB, free: 13.52 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04023/3.059, allocations: 16.12 MB / 1.751 GB, free: 2.035 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000223/3.06, allocations: 60 kB / 1.751 GB, free: 1.977 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01283/3.073, allocations: 4.37 MB / 1.755 GB, free: 14.15 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01038/3.083, allocations: 2.023 MB / 1.757 GB, free: 12.27 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02542/3.108, allocations: 15.04 MB / 1.772 GB, free: 15.66 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0148/3.123, allocations: 1.211 MB / 1.773 GB, free: 14.46 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002217/3.126, allocations: 435.8 kB / 1.773 GB, free: 14.04 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (748): * Single equations (assignments): 735 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 80,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.009523/3.135, allocations: 3.111 MB / 1.776 GB, free: 11.01 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003883/3.139, allocations: 1.192 MB / 1.777 GB, free: 9.805 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03934/3.178, allocations: 14.95 MB / 1.792 GB, free: 10.89 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.492e-05/3.178, allocations: 61.64 kB / 1.792 GB, free: 10.84 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/3.178, allocations: 4 kB / 1.792 GB, free: 10.83 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03222/3.211, allocations: 12.3 MB / 1.804 GB, free: 14.55 MB / 1.136 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 postOpt removeSimpleEquations (simulation): time 0.07194/3.283, allocations: 26.35 MB / 1.83 GB, free: 4.207 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.176e-05/3.283, allocations: 8 kB / 1.83 GB, free: 4.199 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007295/3.29, allocations: 1.232 MB / 1.831 GB, free: 3.008 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01119/3.301, allocations: 3.296 MB / 1.834 GB, free: 15.72 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001485/3.303, allocations: 163.9 kB / 1.834 GB, free: 15.56 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/3.315, allocations: 9.592 MB / 1.844 GB, free: 5.789 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.556e-05/3.315, allocations: 11.75 kB / 1.844 GB, free: 5.781 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.491/3.806, allocations: 20.21 MB / 1.863 GB, free: 0.5105 GB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00722/3.813, allocations: 2.304 MB / 1.866 GB, free: 0.51 GB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0035/3.816, allocations: 109.4 kB / 1.866 GB, free: 0.5099 GB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01195/3.828, allocations: 1.03 MB / 1.867 GB, free: 0.5098 GB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00154/3.83, allocations: 393.5 kB / 1.867 GB, free: 0.5098 GB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001313/3.831, allocations: 240.8 kB / 1.867 GB, free: 0.5097 GB / 1.167 GB Notification: Performance of sorting global known variables: time 0.02198/3.853, allocations: 8.45 MB / 1.876 GB, free: 0.507 GB / 1.167 GB Notification: Performance of sort global known variables: time 3.81e-07/3.853, allocations: 0 / 1.876 GB, free: 0.507 GB / 1.167 GB Notification: Performance of remove unused functions: time 0.035/3.888, allocations: 5.413 MB / 1.881 GB, free: 0.5066 GB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (441): * Single equations (assignments): 420 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {9 78,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.004724/3.893, allocations: 1.27 MB / 1.882 GB, free: 0.5064 GB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.04608/3.939, allocations: 19.93 MB / 1.902 GB, free: 0.5005 GB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/3.939, allocations: 6.438 kB / 1.902 GB, free: 0.5005 GB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.01321/3.953, allocations: 5.694 MB / 1.907 GB, free: 0.4988 GB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05669/4.009, allocations: 5.953 MB / 1.913 GB, free: 0.4978 GB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05386/4.063, allocations: 28.07 MB / 1.94 GB, free: 491.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01124/4.074, allocations: 6.824 MB / 1.947 GB, free: 487 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.02076/4.095, allocations: 3.843 MB / 1.951 GB, free: 484 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006424/4.102, allocations: 0.9049 MB / 1.952 GB, free: 483.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.342e-06/4.102, allocations: 0 / 1.952 GB, free: 483.2 MB / 1.167 GB Notification: Performance of Templates: time 0.4363/4.538, allocations: 249.6 MB / 2.195 GB, free: 234.7 MB / 1.167 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)