Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.824/1.824, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001131/0.001131, allocations: 185 kB / 377.1 MB, free: 1.5 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.932/1.932, allocations: 205.4 MB / 0.6367 GB, free: 9.457 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.0009633/0.0009634, allocations: 92.84 kB / 0.751 GB, free: 62.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.0004217, allocations: 8 kB / 0.8748 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3247, allocations: 116.3 MB / 0.9883 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.753/2.078, allocations: 422.7 MB / 1.401 GB, free: 248.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/2.078, allocations: 102.1 kB / 1.401 GB, free: 248.1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 9.307/11.39, allocations: 2.281 GB / 3.682 GB, free: 100.8 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.404e-06/11.39, allocations: 3.688 kB / 3.682 GB, free: 100.8 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.00268/11.39, allocations: 252.8 kB / 3.682 GB, free: 100.7 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.04916/11.44, allocations: 9.475 MB / 3.691 GB, free: 97.41 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/11.44, allocations: 9.875 kB / 3.691 GB, free: 97.41 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/11.45, allocations: 1.236 MB / 3.693 GB, free: 96.9 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04516/11.49, allocations: 12.61 MB / 3.705 GB, free: 95.62 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008462/11.49, allocations: 441.5 kB / 3.705 GB, free: 95.61 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004138/11.5, allocations: 0.5817 MB / 3.706 GB, free: 95.6 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03623/11.54, allocations: 13.64 MB / 3.719 GB, free: 94.78 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003968/11.54, allocations: 21.56 kB / 3.719 GB, free: 94.78 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003423/11.54, allocations: 245.6 kB / 3.719 GB, free: 94.78 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/11.54, allocations: 142.3 kB / 3.72 GB, free: 94.78 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03164/11.57, allocations: 18.34 MB / 3.738 GB, free: 94.73 MB / 0.9792 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.1252/11.7, allocations: 55.47 MB / 3.792 GB, free: 75.98 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01693/11.71, allocations: 8.854 MB / 3.8 GB, free: 75.88 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05728/11.77, allocations: 26.35 MB / 3.826 GB, free: 65.89 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01293/11.78, allocations: 7.416 MB / 3.833 GB, free: 63.33 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05018/11.83, allocations: 21.18 MB / 3.854 GB, free: 60.57 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 5.093e-05/11.83, allocations: 0 / 3.854 GB, free: 60.57 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.05222/11.89, allocations: 22.54 MB / 3.876 GB, free: 52.11 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/11.89, allocations: 81.78 kB / 3.876 GB, free: 52.04 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01619/11.9, allocations: 7.475 MB / 3.883 GB, free: 46.99 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002941/11.91, allocations: 105.7 kB / 3.884 GB, free: 46.88 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.005042/11.91, allocations: 3.999 MB / 3.887 GB, free: 43.23 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003639/11.91, allocations: 1.085 MB / 3.888 GB, free: 42.25 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/11.92, allocations: 88 kB / 3.889 GB, free: 42.16 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003613/11.92, allocations: 493.3 kB / 3.889 GB, free: 41.73 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009215/11.93, allocations: 6.186 MB / 3.895 GB, free: 36.45 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01109/11.94, allocations: 7.996 MB / 3.903 GB, free: 27.61 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/11.95, allocations: 7.088 MB / 3.91 GB, free: 20.55 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.048e-05/11.95, allocations: 12 kB / 3.91 GB, free: 20.54 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03887/11.99, allocations: 16.58 MB / 3.926 GB, free: 4.277 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.7821/12.77, allocations: 25.24 MB / 3.951 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001938/12.77, allocations: 48.62 kB / 3.951 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07129/12.84, allocations: 10.89 MB / 3.961 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009964/12.85, allocations: 1.6 MB / 3.963 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009839/12.86, allocations: 6.36 MB / 3.969 GB, free: 113.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01423/12.87, allocations: 0.5971 MB / 3.97 GB, free: 113.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003425/12.88, allocations: 0.5454 MB / 3.97 GB, free: 113.3 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/12.88, allocations: 2.969 kB / 3.97 GB, free: 113.3 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04089/12.92, allocations: 15.92 MB / 3.986 GB, free: 113 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002122/12.92, allocations: 47.34 kB / 3.986 GB, free: 113 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06417/12.98, allocations: 10.62 MB / 3.996 GB, free: 113 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009725/12.99, allocations: 1.593 MB / 3.998 GB, free: 113 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01438/13.01, allocations: 10.36 MB / 4.008 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01539/13.02, allocations: 0.5693 MB / 4.008 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004261/13.03, allocations: 0.5365 MB / 4.009 GB, free: 108.5 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 () * Number of clocked 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.01226/13.04, allocations: 2.638 MB / 4.012 GB, free: 108.3 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004651/13.04, allocations: 0.7494 MB / 4.012 GB, free: 108.3 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0294/13.07, allocations: 13.66 MB / 4.026 GB, free: 108 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.64e-05/13.07, allocations: 33.06 kB / 4.026 GB, free: 108 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/13.07, allocations: 3.953 kB / 4.026 GB, free: 108 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01576/13.09, allocations: 10.27 MB / 4.036 GB, free: 107.5 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05399/13.14, allocations: 23.95 MB / 4.059 GB, free: 104.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-05/13.14, allocations: 1.594 kB / 4.059 GB, free: 104.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006068/13.15, allocations: 0.6933 MB / 4.06 GB, free: 104.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06548/13.22, allocations: 9.936 MB / 4.069 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001602/13.22, allocations: 101.8 kB / 4.07 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00423/13.22, allocations: 4.321 MB / 4.074 GB, free: 100.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/13.22, allocations: 4.906 kB / 4.074 GB, free: 100.8 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0289/13.25, allocations: 18.53 MB / 4.092 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00913/13.26, allocations: 1.987 MB / 4.094 GB, free: 99.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00457/13.26, allocations: 73.94 kB / 4.094 GB, free: 99.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01044/13.27, allocations: 424.5 kB / 4.094 GB, free: 99.64 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001534/13.28, allocations: 215.6 kB / 4.094 GB, free: 99.63 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009303/13.28, allocations: 163.3 kB / 4.095 GB, free: 99.63 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0137/13.29, allocations: 5.802 MB / 4.1 GB, free: 99.38 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.196e-06/13.29, allocations: 0 / 4.1 GB, free: 99.38 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0323/13.32, allocations: 4.933 MB / 4.105 GB, free: 99.18 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) * Number of clocked states: 0 () * 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.005352/13.33, allocations: 1.259 MB / 4.106 GB, free: 98.89 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.04736/13.38, allocations: 23.58 MB / 4.129 GB, free: 97.93 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.644e-05/13.38, allocations: 3.125 kB / 4.129 GB, free: 97.93 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01398/13.39, allocations: 6.2 MB / 4.135 GB, free: 97.76 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02872/13.42, allocations: 4.612 MB / 4.14 GB, free: 97.5 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0472/13.47, allocations: 22.33 MB / 4.162 GB, free: 88.25 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007205/13.47, allocations: 5.359 MB / 4.167 GB, free: 86.71 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.02357/13.5, allocations: 5.011 MB / 4.172 GB, free: 85.94 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006649/13.5, allocations: 0.9108 MB / 4.173 GB, free: 85.9 MB / 0.9948 GB Notification: Performance of SimCode: time 1.964e-06/13.5, allocations: 0 / 4.173 GB, free: 85.9 MB / 0.9948 GB Notification: Performance of Templates: time 1.781/15.28, allocations: 219.7 MB / 4.387 GB, free: 85.29 MB / 1.011 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)