Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.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.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.593/1.593, allocations: 285.4 MB / 298 MB, free: 6 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.001228/0.001228, allocations: 172.8 kB / 366.4 MB, free: 2.121 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.578/1.578, allocations: 205.1 MB / 0.6248 GB, free: 7.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007932/0.0007932, allocations: 90.42 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.826e-05/2.829e-05, allocations: 4 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7067/0.7067, allocations: 115.3 MB / 0.9709 GB, free: 78.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.774, allocations: 421.6 MB / 1.383 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/1.774, allocations: 95.62 kB / 1.383 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 9.547/11.32, allocations: 2.273 GB / 3.655 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.013e-06/11.32, allocations: 3.469 kB / 3.655 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.001948/11.32, allocations: 250.6 kB / 3.656 GB, free: 105.1 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.03111/11.35, allocations: 7.312 MB / 3.663 GB, free: 102.2 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/11.35, allocations: 16.94 kB / 3.663 GB, free: 102.2 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009361/11.36, allocations: 1.227 MB / 3.664 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03667/11.4, allocations: 12.53 MB / 3.676 GB, free: 100.4 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007185/11.4, allocations: 436.5 kB / 3.677 GB, free: 100.4 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003808/11.4, allocations: 0.5861 MB / 3.677 GB, free: 100.4 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03784/11.44, allocations: 13.45 MB / 3.69 GB, free: 99.52 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000592/11.44, allocations: 23.41 kB / 3.69 GB, free: 99.51 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00383/11.45, allocations: 244.5 kB / 3.691 GB, free: 99.51 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001622/11.45, allocations: 144.9 kB / 3.691 GB, free: 99.51 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03202/11.48, allocations: 18.07 MB / 3.708 GB, free: 95.61 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.1147/11.59, allocations: 55.37 MB / 3.762 GB, free: 59.82 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01278/11.61, allocations: 8.699 MB / 3.771 GB, free: 51.11 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01254/11.62, allocations: 9.262 MB / 3.78 GB, free: 41.84 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05601/11.68, allocations: 26.3 MB / 3.806 GB, free: 15.26 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01234/11.69, allocations: 7.313 MB / 3.813 GB, free: 7.906 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.8395/12.53, allocations: 21.17 MB / 3.833 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 4.475e-05/12.53, allocations: 0 / 3.833 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.0382/12.57, allocations: 14.49 MB / 3.848 GB, free: 114.6 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/12.57, allocations: 89.5 kB / 3.848 GB, free: 114.6 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01649/12.58, allocations: 7.386 MB / 3.855 GB, free: 114.1 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002979/12.59, allocations: 100 kB / 3.855 GB, free: 114.1 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.004475/12.59, allocations: 4.007 MB / 3.859 GB, free: 113.4 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.00376/12.59, allocations: 1.091 MB / 3.86 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008714/12.59, allocations: 88.56 kB / 3.86 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003647/12.6, allocations: 0.4915 MB / 3.861 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009488/12.6, allocations: 6.07 MB / 3.866 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01465/12.62, allocations: 7.889 MB / 3.874 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01518/12.63, allocations: 7.005 MB / 3.881 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-05/12.63, allocations: 11.34 kB / 3.881 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.04644/12.68, allocations: 16.35 MB / 3.897 GB, free: 109.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.007162/12.69, allocations: 25.25 MB / 3.922 GB, free: 83.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002821/12.69, allocations: 48 kB / 3.922 GB, free: 83.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06839/12.76, allocations: 10.89 MB / 3.932 GB, free: 82.63 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01008/12.77, allocations: 1.601 MB / 3.934 GB, free: 82.62 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009177/12.78, allocations: 6.312 MB / 3.94 GB, free: 79.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01551/12.79, allocations: 0.5983 MB / 3.941 GB, free: 79.58 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004488/12.8, allocations: 0.5432 MB / 3.941 GB, free: 79.58 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/12.8, allocations: 3.875 kB / 3.941 GB, free: 79.58 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04432/12.84, allocations: 15.7 MB / 3.957 GB, free: 79.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002704/12.84, allocations: 47.44 kB / 3.957 GB, free: 79.21 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06282/12.9, allocations: 10.62 MB / 3.967 GB, free: 78.41 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01033/12.91, allocations: 1.596 MB / 3.968 GB, free: 78.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01643/12.93, allocations: 10.2 MB / 3.978 GB, free: 89.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01377/12.94, allocations: 0.5685 MB / 3.979 GB, free: 89.61 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003683/12.95, allocations: 0.5345 MB / 3.98 GB, free: 89.61 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.005879/12.95, allocations: 401.6 kB / 3.98 GB, free: 89.5 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005405/12.96, allocations: 0.7522 MB / 3.981 GB, free: 89.11 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03211/12.99, allocations: 13.48 MB / 3.994 GB, free: 88.6 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.213e-05/12.99, allocations: 35.97 kB / 3.994 GB, free: 88.6 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/12.99, allocations: 0.75 kB / 3.994 GB, free: 88.6 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01644/13.01, allocations: 10.06 MB / 4.004 GB, free: 88.1 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05116/13.06, allocations: 23.72 MB / 4.027 GB, free: 84.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/13.06, allocations: 4.062 kB / 4.027 GB, free: 84.93 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005649/13.07, allocations: 0.7023 MB / 4.028 GB, free: 84.91 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0624/13.13, allocations: 9.935 MB / 4.037 GB, free: 84.16 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001402/13.13, allocations: 101.7 kB / 4.037 GB, free: 84.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005348/13.13, allocations: 4.308 MB / 4.042 GB, free: 81.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/13.13, allocations: 7.234 kB / 4.042 GB, free: 81.3 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03107/13.17, allocations: 18.22 MB / 4.059 GB, free: 73.83 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008882/13.17, allocations: 1.992 MB / 4.061 GB, free: 72.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004081/13.18, allocations: 75.45 kB / 4.061 GB, free: 72.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01012/13.19, allocations: 417.8 kB / 4.062 GB, free: 72.79 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001519/13.19, allocations: 220.3 kB / 4.062 GB, free: 72.75 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001397/13.19, allocations: 159.9 kB / 4.062 GB, free: 72.73 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.01492/13.21, allocations: 5.729 MB / 4.068 GB, free: 70.88 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.31e-07/13.21, allocations: 0 / 4.068 GB, free: 70.88 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.03087/13.24, allocations: 4.932 MB / 4.073 GB, free: 70.42 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004622/13.24, allocations: 1.264 MB / 4.074 GB, free: 70.04 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.04427/13.29, allocations: 23.48 MB / 4.097 GB, free: 60.24 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.835e-05/13.29, allocations: 5.5 kB / 4.097 GB, free: 60.24 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01034/13.3, allocations: 6.103 MB / 4.103 GB, free: 57.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02709/13.32, allocations: 4.614 MB / 4.107 GB, free: 53.95 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0412/13.37, allocations: 17.12 MB / 4.124 GB, free: 39.04 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009255/13.38, allocations: 5.375 MB / 4.129 GB, free: 35.13 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.03421/13.41, allocations: 7.88 MB / 4.137 GB, free: 29.53 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006449/13.42, allocations: 0.7709 MB / 4.138 GB, free: 29 MB / 0.9948 GB Notification: Performance of SimCode: time 1.804e-06/13.42, allocations: 3.375 kB / 4.138 GB, free: 29 MB / 0.9948 GB Notification: Performance of Templates: time 1.114/14.53, allocations: 227.4 MB / 4.36 GB, free: 116 MB / 1.01 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)