Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 292.6 MB / 307.5 MB, free: 5.172 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.001175/0.001175, allocations: 183.4 kB / 377.1 MB, free: 1.516 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.813/1.813, allocations: 205.4 MB / 0.6367 GB, free: 9.566 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.0009979/0.0009981, allocations: 93.83 kB / 0.751 GB, free: 62.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003932, allocations: 11.98 kB / 0.8748 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3196, allocations: 116.3 MB / 0.9884 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.797/2.116, allocations: 422.4 MB / 1.401 GB, free: 248.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/2.117, allocations: 96.44 kB / 1.401 GB, free: 248.1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.882/6.999, allocations: 1.312 GB / 2.713 GB, free: 124.8 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.196e-06/6.999, allocations: 0 / 2.713 GB, free: 124.8 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0006096/7, allocations: 92.7 kB / 2.713 GB, free: 124.8 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01713/7.017, allocations: 4.043 MB / 2.717 GB, free: 121.4 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.777e-05/7.017, allocations: 12.03 kB / 2.717 GB, free: 121.4 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004225/7.021, allocations: 0.5345 MB / 2.718 GB, free: 120.8 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/7.035, allocations: 4.367 MB / 2.722 GB, free: 116.5 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/7.035, allocations: 135.1 kB / 2.722 GB, free: 116.3 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000568/7.036, allocations: 192.8 kB / 2.722 GB, free: 116.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003623/7.039, allocations: 2.237 MB / 2.724 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/7.04, allocations: 11.89 kB / 2.724 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/7.04, allocations: 68 kB / 2.724 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/7.04, allocations: 40 kB / 2.724 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002891/7.043, allocations: 1.779 MB / 2.726 GB, free: 111.9 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.01463/7.057, allocations: 11.51 MB / 2.737 GB, free: 99.79 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002219/7.06, allocations: 1.265 MB / 2.739 GB, free: 98.51 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006775/7.066, allocations: 3.456 MB / 2.742 GB, free: 94.82 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001251/7.068, allocations: 0.7233 MB / 2.743 GB, free: 94.09 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002621/7.07, allocations: 0.6193 MB / 2.743 GB, free: 93.46 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=98): time 4.849e-06/7.07, allocations: 0 / 2.743 GB, free: 93.46 MB / 0.9792 GB Notification: Performance of matching and sorting (n=98): time 0.008651/7.079, allocations: 3.556 MB / 2.747 GB, free: 89.88 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/7.079, allocations: 68.36 kB / 2.747 GB, free: 89.8 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003649/7.083, allocations: 2.48 MB / 2.749 GB, free: 87.33 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002067/7.083, allocations: 61.64 kB / 2.749 GB, free: 87.26 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00132/7.084, allocations: 1.416 MB / 2.751 GB, free: 85.84 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003783/7.085, allocations: 350 kB / 2.751 GB, free: 85.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/7.085, allocations: 35.94 kB / 2.751 GB, free: 85.46 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001572/7.085, allocations: 357.9 kB / 2.751 GB, free: 85.11 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/7.086, allocations: 0.5621 MB / 2.752 GB, free: 84.55 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/7.088, allocations: 1.33 MB / 2.753 GB, free: 82.86 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/7.089, allocations: 0.7741 MB / 2.754 GB, free: 82.08 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/7.089, allocations: 8 kB / 2.754 GB, free: 82.07 MB / 0.9792 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004944/7.094, allocations: 2.451 MB / 2.756 GB, free: 79.62 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.002013/7.096, allocations: 5.984 MB / 2.762 GB, free: 73.08 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.429e-05/7.096, allocations: 16 kB / 2.762 GB, free: 73.06 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/7.097, allocations: 0.5017 MB / 2.763 GB, free: 72.57 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/7.098, allocations: 277 kB / 2.763 GB, free: 72.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/7.1, allocations: 1.897 MB / 2.765 GB, free: 70.35 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004094/7.104, allocations: 184.2 kB / 2.765 GB, free: 70.17 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/7.105, allocations: 75.97 kB / 2.765 GB, free: 70.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/7.105, allocations: 4 kB / 2.765 GB, free: 70.09 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004267/7.109, allocations: 2.203 MB / 2.767 GB, free: 67.85 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.826e-05/7.109, allocations: 16 kB / 2.767 GB, free: 67.84 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008921/7.11, allocations: 473.2 kB / 2.768 GB, free: 67.37 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/7.111, allocations: 253.4 kB / 2.768 GB, free: 67.12 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007323/7.118, allocations: 5.956 MB / 2.774 GB, free: 60.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003394/7.122, allocations: 180.1 kB / 2.774 GB, free: 60.72 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000319/7.122, allocations: 71.55 kB / 2.774 GB, free: 60.66 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.002571/7.125, allocations: 0.8314 MB / 2.775 GB, free: 59.82 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/7.126, allocations: 292.2 kB / 2.775 GB, free: 59.53 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004659/7.13, allocations: 2.186 MB / 2.777 GB, free: 57.36 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/7.13, allocations: 15.98 kB / 2.777 GB, free: 57.34 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/7.13, allocations: 4 kB / 2.777 GB, free: 57.34 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002696/7.133, allocations: 1.894 MB / 2.779 GB, free: 55.39 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008995/7.142, allocations: 4.13 MB / 2.783 GB, free: 51.22 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/7.142, allocations: 0 / 2.783 GB, free: 51.22 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006957/7.143, allocations: 129.7 kB / 2.783 GB, free: 51.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009468/7.144, allocations: 477.9 kB / 2.784 GB, free: 50.63 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-05/7.144, allocations: 27.98 kB / 2.784 GB, free: 50.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/7.145, allocations: 1.848 MB / 2.786 GB, free: 48.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/7.145, allocations: 7.984 kB / 2.786 GB, free: 48.7 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004662/7.15, allocations: 2.898 MB / 2.788 GB, free: 45.76 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001851/7.152, allocations: 497.1 kB / 2.789 GB, free: 45.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009037/7.153, allocations: 28.06 kB / 2.789 GB, free: 45.23 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/7.155, allocations: 147.5 kB / 2.789 GB, free: 45.08 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/7.155, allocations: 64.91 kB / 2.789 GB, free: 45.02 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-05/7.155, allocations: 47.86 kB / 2.789 GB, free: 44.98 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003721/7.159, allocations: 1.943 MB / 2.791 GB, free: 43.04 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.3e-07/7.159, allocations: 0 / 2.791 GB, free: 43.04 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00665/7.166, allocations: 1.447 MB / 2.793 GB, free: 41.6 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (60): * Single equations (assignments): 52 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.002632/7.168, allocations: 1.075 MB / 2.794 GB, free: 40.64 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005405/7.174, allocations: 2.899 MB / 2.796 GB, free: 37.7 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.443e-06/7.174, allocations: 0 / 2.796 GB, free: 37.7 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001274/7.175, allocations: 0.7024 MB / 2.797 GB, free: 37 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006614/7.182, allocations: 1.18 MB / 2.798 GB, free: 35.86 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/7.193, allocations: 5.764 MB / 2.804 GB, free: 30.07 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002533/7.196, allocations: 2.095 MB / 2.806 GB, free: 27.95 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003851/7.2, allocations: 0.7315 MB / 2.807 GB, free: 27.25 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007469/7.201, allocations: 187.4 kB / 2.807 GB, free: 27.06 MB / 0.9792 GB Notification: Performance of SimCode: time 1.222e-06/7.201, allocations: 0 / 2.807 GB, free: 27.06 MB / 0.9792 GB Notification: Performance of Templates: time 0.7432/7.944, allocations: 55.6 MB / 2.861 GB, free: 137.4 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)