Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.705/1.705, allocations: 297.8 MB / 313.7 MB, free: 80 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 180.5 kB / 384.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.2 MB / 0.6626 GB, free: 4.277 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008086/0.0008084, allocations: 97.88 kB / 0.7808 GB, free: 50.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00042/0.0004203, allocations: 12 kB / 0.9088 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7861/0.7865, allocations: 120.3 MB / 1.026 GB, free: 55.86 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.033/1.819, allocations: 411.3 MB / 1.428 GB, free: 248.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/1.82, allocations: 101.5 kB / 1.428 GB, free: 248.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.49/6.31, allocations: 1.328 GB / 2.756 GB, free: 119.5 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.675e-06/6.31, allocations: 4 kB / 2.756 GB, free: 119.5 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0006973/6.31, allocations: 92.38 kB / 2.756 GB, free: 119.4 MB / 1.01 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.0156/6.326, allocations: 4.014 MB / 2.76 GB, free: 115.4 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/6.326, allocations: 8.031 kB / 2.76 GB, free: 115.4 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003474/6.33, allocations: 0.5355 MB / 2.76 GB, free: 114.8 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01293/6.343, allocations: 4.407 MB / 2.765 GB, free: 110.4 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/6.343, allocations: 143.5 kB / 2.765 GB, free: 110.3 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007076/6.344, allocations: 188.4 kB / 2.765 GB, free: 110.1 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003879/6.347, allocations: 2.241 MB / 2.767 GB, free: 107.7 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.842e-05/6.348, allocations: 11.88 kB / 2.767 GB, free: 107.7 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/6.348, allocations: 71.94 kB / 2.767 GB, free: 107.7 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-05/6.348, allocations: 40 kB / 2.767 GB, free: 107.6 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002808/6.351, allocations: 1.779 MB / 2.769 GB, free: 105.8 MB / 1.01 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.01299/6.364, allocations: 11.53 MB / 2.78 GB, free: 93.71 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/6.366, allocations: 1.257 MB / 2.782 GB, free: 92.45 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/6.367, allocations: 0.975 MB / 2.782 GB, free: 91.48 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006051/6.373, allocations: 3.546 MB / 2.786 GB, free: 87.69 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/6.374, allocations: 0.7272 MB / 2.787 GB, free: 86.95 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002367/6.376, allocations: 0.6232 MB / 2.787 GB, free: 86.32 MB / 1.01 GB Notification: Performance of pre-optimization done (n=97): time 4.96e-06/6.376, allocations: 11.88 kB / 2.787 GB, free: 86.31 MB / 1.01 GB Notification: Performance of matching and sorting (n=97): time 0.01015/6.387, allocations: 4.035 MB / 2.791 GB, free: 82.26 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/6.387, allocations: 60.41 kB / 2.791 GB, free: 82.19 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004124/6.391, allocations: 2.82 MB / 2.794 GB, free: 79.37 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002907/6.391, allocations: 57.7 kB / 2.794 GB, free: 79.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001166/6.392, allocations: 1.425 MB / 2.795 GB, free: 77.86 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/6.393, allocations: 343.2 kB / 2.796 GB, free: 77.53 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/6.393, allocations: 24 kB / 2.796 GB, free: 77.51 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.379e-05/6.393, allocations: 361.9 kB / 2.796 GB, free: 77.15 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000958/6.394, allocations: 0.5621 MB / 2.797 GB, free: 76.59 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/6.395, allocations: 1.342 MB / 2.798 GB, free: 74.88 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002186/6.397, allocations: 1.665 MB / 2.8 GB, free: 73.02 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/6.397, allocations: 4 kB / 2.8 GB, free: 73.02 MB / 1.01 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005171/6.402, allocations: 2.563 MB / 2.802 GB, free: 70.46 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002745/6.403, allocations: 0.5253 MB / 2.803 GB, free: 69.73 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/6.403, allocations: 12 kB / 2.803 GB, free: 69.72 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002003/6.405, allocations: 0.6592 MB / 2.803 GB, free: 69.07 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/6.406, allocations: 273.2 kB / 2.804 GB, free: 68.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/6.407, allocations: 1.897 MB / 2.805 GB, free: 66.85 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002772/6.41, allocations: 172.3 kB / 2.806 GB, free: 66.68 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/6.41, allocations: 79.97 kB / 2.806 GB, free: 66.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/6.41, allocations: 4 kB / 2.806 GB, free: 66.6 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003175/6.414, allocations: 2.208 MB / 2.808 GB, free: 64.36 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/6.414, allocations: 20.03 kB / 2.808 GB, free: 64.34 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007449/6.414, allocations: 480.5 kB / 2.808 GB, free: 63.87 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008659/6.415, allocations: 257.4 kB / 2.809 GB, free: 63.62 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005425/6.421, allocations: 5.846 MB / 2.814 GB, free: 57.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/6.423, allocations: 184.1 kB / 2.814 GB, free: 57.32 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/6.423, allocations: 67.98 kB / 2.814 GB, free: 57.25 MB / 1.01 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 (132): * Single equations (assignments): 128 * 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 {2 5,1 40} Notification: Performance of prepare postOptimizeDAE: time 0.001748/6.425, allocations: 0.8339 MB / 2.815 GB, free: 56.41 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005649/6.426, allocations: 292.2 kB / 2.816 GB, free: 56.12 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003594/6.429, allocations: 2.184 MB / 2.818 GB, free: 53.96 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/6.429, allocations: 12 kB / 2.818 GB, free: 53.95 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/6.429, allocations: 0 / 2.818 GB, free: 53.95 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002477/6.432, allocations: 1.896 MB / 2.82 GB, free: 52 MB / 1.01 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.006747/6.439, allocations: 4.137 MB / 2.824 GB, free: 47.83 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/6.439, allocations: 3.938 kB / 2.824 GB, free: 47.82 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006053/6.439, allocations: 137.5 kB / 2.824 GB, free: 47.69 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008844/6.44, allocations: 475 kB / 2.824 GB, free: 47.23 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.39e-05/6.44, allocations: 35.92 kB / 2.824 GB, free: 47.19 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/6.441, allocations: 1.842 MB / 2.826 GB, free: 45.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/6.441, allocations: 3.938 kB / 2.826 GB, free: 45.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004262/6.446, allocations: 2.871 MB / 2.829 GB, free: 42.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/6.447, allocations: 497.1 kB / 2.829 GB, free: 41.89 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000289/6.447, allocations: 23.98 kB / 2.829 GB, free: 41.87 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/6.449, allocations: 143.6 kB / 2.829 GB, free: 41.73 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/6.449, allocations: 64.84 kB / 2.83 GB, free: 41.66 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.022e-05/6.449, allocations: 43.97 kB / 2.83 GB, free: 41.62 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002564/6.451, allocations: 1.919 MB / 2.831 GB, free: 39.71 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.3e-07/6.451, allocations: 4 kB / 2.831 GB, free: 39.71 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004458/6.456, allocations: 1.443 MB / 2.833 GB, free: 38.27 MB / 1.01 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 (59): * Single equations (assignments): 51 * 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 {1 40,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001965/6.458, allocations: 1.067 MB / 2.834 GB, free: 37.31 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004581/6.462, allocations: 2.889 MB / 2.837 GB, free: 34.38 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/6.462, allocations: 0 / 2.837 GB, free: 34.38 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/6.464, allocations: 0.7057 MB / 2.837 GB, free: 33.67 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005473/6.469, allocations: 1.181 MB / 2.839 GB, free: 32.52 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007875/6.477, allocations: 5.754 MB / 2.844 GB, free: 26.74 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/6.478, allocations: 2.032 MB / 2.846 GB, free: 24.68 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.003136/6.481, allocations: 0.7318 MB / 2.847 GB, free: 23.98 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004082/6.482, allocations: 187.4 kB / 2.847 GB, free: 23.79 MB / 1.01 GB Notification: Performance of SimCode: time 6.81e-07/6.482, allocations: 3.938 kB / 2.847 GB, free: 23.79 MB / 1.01 GB Notification: Performance of Templates: time 0.6896/7.171, allocations: 55.92 MB / 2.902 GB, free: 141.5 MB / 1.01 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)