Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.281/1.281, allocations: 252 MB / 267.9 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 189.4 kB / 327.6 MB, free: 2.18 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.4 MB / 0.5785 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008896/0.0008895, allocations: 74.44 kB / 0.6831 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004126/0.0004126, allocations: 12.66 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2021, allocations: 106.3 MB / 0.9012 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7891/0.9912, allocations: 398.2 MB / 1.29 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.9915, allocations: 94.08 kB / 1.29 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.597/2.589, allocations: 476.8 MB / 1.756 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.913e-06/2.589, allocations: 1.125 kB / 1.756 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002719/2.589, allocations: 47.11 kB / 1.756 GB, free: 229.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.006203/2.595, allocations: 1.947 MB / 1.758 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/2.595, allocations: 9.875 kB / 1.758 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/2.597, allocations: 235.1 kB / 1.758 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005392/2.602, allocations: 1.932 MB / 1.76 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/2.602, allocations: 67.12 kB / 1.76 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003165/2.603, allocations: 87.42 kB / 1.76 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/2.605, allocations: 0.966 MB / 1.761 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/2.605, allocations: 4.906 kB / 1.761 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/2.605, allocations: 32.78 kB / 1.761 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/2.605, allocations: 22.56 kB / 1.761 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/2.607, allocations: 0.7082 MB / 1.762 GB, free: 227.7 MB / 0.8855 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.006471/2.614, allocations: 4.715 MB / 1.766 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/2.615, allocations: 0.5992 MB / 1.767 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000618/2.615, allocations: 324.6 kB / 1.767 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002944/2.618, allocations: 1.677 MB / 1.769 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006469/2.619, allocations: 341.9 kB / 1.769 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007393/2.62, allocations: 109.1 kB / 1.769 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=46): time 5.57e-06/2.62, allocations: 0 / 1.769 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=46): time 0.003052/2.623, allocations: 1.184 MB / 1.77 GB, free: 224 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/2.623, allocations: 66.72 kB / 1.77 GB, free: 224 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/2.625, allocations: 1.239 MB / 1.772 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.952e-05/2.625, allocations: 38.89 kB / 1.772 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006093/2.626, allocations: 0.6429 MB / 1.772 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/2.626, allocations: 164.6 kB / 1.773 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/2.626, allocations: 13.88 kB / 1.773 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.094e-05/2.626, allocations: 333.8 kB / 1.773 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005579/2.627, allocations: 236.9 kB / 1.773 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007675/2.627, allocations: 0.5838 MB / 1.774 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/2.628, allocations: 0.7701 MB / 1.774 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/2.628, allocations: 3.875 kB / 1.774 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002146/2.631, allocations: 1.041 MB / 1.775 GB, free: 222.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001685/2.631, allocations: 342.1 kB / 1.776 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/2.631, allocations: 7.812 kB / 1.776 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005581/2.631, allocations: 183 kB / 1.776 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/2.632, allocations: 146.4 kB / 1.776 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005598/2.632, allocations: 0.7727 MB / 1.777 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/2.634, allocations: 78.86 kB / 1.777 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.209e-05/2.634, allocations: 45.28 kB / 1.777 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/2.634, allocations: 3.438 kB / 1.777 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001403/2.635, allocations: 0.9171 MB / 1.778 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/2.635, allocations: 9.906 kB / 1.778 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001691/2.635, allocations: 108.4 kB / 1.778 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004515/2.636, allocations: 141.6 kB / 1.778 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/2.638, allocations: 2.196 MB / 1.78 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009461/2.638, allocations: 80.41 kB / 1.78 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.748e-05/2.639, allocations: 36.09 kB / 1.78 GB, free: 219.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007488/2.639, allocations: 488 kB / 1.781 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002673/2.64, allocations: 125.9 kB / 1.781 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/2.641, allocations: 0.8877 MB / 1.782 GB, free: 219.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/2.641, allocations: 3.875 kB / 1.782 GB, free: 219.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/2.641, allocations: 7.312 kB / 1.782 GB, free: 219.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001234/2.643, allocations: 0.8788 MB / 1.783 GB, free: 219.1 MB / 0.8855 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.003774/2.646, allocations: 1.88 MB / 1.784 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/2.646, allocations: 3.953 kB / 1.784 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/2.647, allocations: 85.89 kB / 1.785 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002391/2.647, allocations: 123.8 kB / 1.785 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/2.647, allocations: 16.12 kB / 1.785 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005026/2.648, allocations: 0.7476 MB / 1.785 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/2.648, allocations: 7.266 kB / 1.785 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/2.65, allocations: 1.206 MB / 1.787 GB, free: 217.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005652/2.65, allocations: 261.2 kB / 1.787 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002683/2.65, allocations: 10.59 kB / 1.787 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007263/2.651, allocations: 68.72 kB / 1.787 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.583e-05/2.651, allocations: 42.7 kB / 1.787 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/2.651, allocations: 26.89 kB / 1.787 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001055/2.652, allocations: 0.8602 MB / 1.788 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/2.652, allocations: 0 / 1.788 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00241/2.655, allocations: 0.7064 MB / 1.789 GB, free: 217.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00146/2.656, allocations: 0.7485 MB / 1.789 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002341/2.659, allocations: 1.306 MB / 1.791 GB, free: 217 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/2.659, allocations: 6.094 kB / 1.791 GB, free: 217 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005957/2.659, allocations: 327.6 kB / 1.791 GB, free: 217 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/2.662, allocations: 0.5658 MB / 1.791 GB, free: 217 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/2.666, allocations: 2.672 MB / 1.794 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009015/2.667, allocations: 1.27 MB / 1.795 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001387/2.668, allocations: 311.3 kB / 1.796 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/2.668, allocations: 98.38 kB / 1.796 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of SimCode: time 6.32e-07/2.668, allocations: 0 / 1.796 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.03856/2.707, allocations: 27.74 MB / 1.823 GB, free: 214 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)