Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.67/1.67, allocations: 288.4 MB / 304.3 MB, free: 8.023 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.0009512/0.0009515, allocations: 185.1 kB / 373 MB, free: 10.14 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.63/1.63, allocations: 205.4 MB / 0.6317 GB, free: 9.945 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008519/0.000852, allocations: 98.78 kB / 0.745 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.000399, allocations: 12.94 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2269, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.049/1.276, allocations: 404.5 MB / 1.376 GB, free: 7.414 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/1.277, allocations: 97.31 kB / 1.376 GB, free: 7.359 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.297/3.573, allocations: 0.6842 GB / 2.06 GB, free: 69.38 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.445e-06/3.573, allocations: 0 / 2.06 GB, free: 69.38 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004732/3.574, allocations: 56.12 kB / 2.06 GB, free: 69.32 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.007738/3.582, allocations: 2.416 MB / 2.062 GB, free: 66.84 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/3.582, allocations: 12.03 kB / 2.062 GB, free: 66.82 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/3.583, allocations: 286.2 kB / 2.063 GB, free: 66.54 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005116/3.588, allocations: 2.541 MB / 2.065 GB, free: 63.95 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.943e-05/3.588, allocations: 78.38 kB / 2.065 GB, free: 63.88 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/3.588, allocations: 104.4 kB / 2.065 GB, free: 63.77 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/3.59, allocations: 1.256 MB / 2.067 GB, free: 62.45 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/3.59, allocations: 7.938 kB / 2.067 GB, free: 62.44 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.554e-05/3.59, allocations: 36 kB / 2.067 GB, free: 62.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/3.591, allocations: 24 kB / 2.067 GB, free: 62.38 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/3.592, allocations: 0.9562 MB / 2.068 GB, free: 61.42 MB / 0.9323 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.006312/3.598, allocations: 6.65 MB / 2.074 GB, free: 54.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/3.599, allocations: 0.598 MB / 2.075 GB, free: 53.69 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005694/3.6, allocations: 400 kB / 2.075 GB, free: 53.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002296/3.602, allocations: 1.601 MB / 2.077 GB, free: 51.58 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005989/3.603, allocations: 369.1 kB / 2.077 GB, free: 51.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00057/3.603, allocations: 135.3 kB / 2.077 GB, free: 51.07 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 2.876e-06/3.603, allocations: 0 / 2.077 GB, free: 51.07 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47): time 0.002927/3.606, allocations: 1.322 MB / 2.078 GB, free: 49.72 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/3.606, allocations: 63.78 kB / 2.078 GB, free: 49.64 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/3.608, allocations: 1.749 MB / 2.08 GB, free: 47.85 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/3.608, allocations: 41.7 kB / 2.08 GB, free: 47.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000611/3.609, allocations: 0.8539 MB / 2.081 GB, free: 46.94 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/3.609, allocations: 161.7 kB / 2.081 GB, free: 46.78 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/3.609, allocations: 16 kB / 2.081 GB, free: 46.77 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.766e-05/3.609, allocations: 341.9 kB / 2.082 GB, free: 46.43 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/3.61, allocations: 285.8 kB / 2.082 GB, free: 46.14 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006737/3.61, allocations: 0.7274 MB / 2.083 GB, free: 45.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/3.612, allocations: 0.9341 MB / 2.083 GB, free: 44.12 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/3.612, allocations: 4 kB / 2.083 GB, free: 44.12 MB / 0.9323 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002125/3.614, allocations: 1.241 MB / 2.085 GB, free: 42.86 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002023/3.614, allocations: 426.8 kB / 2.085 GB, free: 42.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/3.614, allocations: 16 kB / 2.085 GB, free: 42.29 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005865/3.615, allocations: 168.7 kB / 2.085 GB, free: 42.12 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005892/3.615, allocations: 167.7 kB / 2.085 GB, free: 41.95 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005053/3.616, allocations: 0.7606 MB / 2.086 GB, free: 41.17 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/3.617, allocations: 104.4 kB / 2.086 GB, free: 41.07 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.037e-05/3.617, allocations: 51.98 kB / 2.086 GB, free: 41.02 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/3.617, allocations: 4 kB / 2.086 GB, free: 41.01 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001532/3.619, allocations: 1.069 MB / 2.087 GB, free: 39.91 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/3.619, allocations: 12 kB / 2.087 GB, free: 39.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001907/3.619, allocations: 121.5 kB / 2.087 GB, free: 39.78 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/3.619, allocations: 159.7 kB / 2.088 GB, free: 39.62 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/3.621, allocations: 2.122 MB / 2.09 GB, free: 37.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/3.622, allocations: 103.8 kB / 2.09 GB, free: 37.27 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.858e-05/3.622, allocations: 44 kB / 2.09 GB, free: 37.23 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001013/3.623, allocations: 0.5786 MB / 2.09 GB, free: 36.64 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/3.624, allocations: 173.8 kB / 2.091 GB, free: 36.46 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/3.625, allocations: 1.004 MB / 2.092 GB, free: 35.45 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/3.625, allocations: 4 kB / 2.092 GB, free: 35.45 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/3.625, allocations: 7.875 kB / 2.092 GB, free: 35.44 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001231/3.627, allocations: 0.9529 MB / 2.092 GB, free: 34.42 MB / 0.9323 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.003348/3.63, allocations: 2.175 MB / 2.095 GB, free: 32.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/3.63, allocations: 4.062 kB / 2.095 GB, free: 32.15 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/3.63, allocations: 87.88 kB / 2.095 GB, free: 32.07 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002587/3.631, allocations: 125.6 kB / 2.095 GB, free: 31.94 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/3.631, allocations: 12 kB / 2.095 GB, free: 31.93 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004244/3.631, allocations: 0.7497 MB / 2.096 GB, free: 31.16 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/3.631, allocations: 0 / 2.096 GB, free: 31.16 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/3.633, allocations: 1.37 MB / 2.097 GB, free: 29.75 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006066/3.634, allocations: 318.7 kB / 2.097 GB, free: 29.42 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003068/3.634, allocations: 12 kB / 2.097 GB, free: 29.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000868/3.635, allocations: 79.92 kB / 2.097 GB, free: 29.33 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/3.635, allocations: 40.38 kB / 2.097 GB, free: 29.29 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.235e-05/3.635, allocations: 23.97 kB / 2.097 GB, free: 29.27 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00139/3.637, allocations: 1.207 MB / 2.099 GB, free: 28.04 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.7e-07/3.637, allocations: 0 / 2.099 GB, free: 28.04 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002823/3.639, allocations: 0.8581 MB / 2.099 GB, free: 27.18 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001448/3.641, allocations: 0.7847 MB / 2.1 GB, free: 26.41 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002584/3.644, allocations: 1.445 MB / 2.102 GB, free: 24.93 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/3.644, allocations: 1.438 kB / 2.102 GB, free: 24.93 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006195/3.644, allocations: 350.2 kB / 2.102 GB, free: 24.59 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003732/3.648, allocations: 0.7298 MB / 2.103 GB, free: 23.87 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00618/3.654, allocations: 3.404 MB / 2.106 GB, free: 20.42 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/3.655, allocations: 1.496 MB / 2.107 GB, free: 18.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002015/3.657, allocations: 441.1 kB / 2.108 GB, free: 18.46 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004057/3.658, allocations: 131.4 kB / 2.108 GB, free: 18.34 MB / 0.9323 GB Notification: Performance of SimCode: time 1.112e-06/3.658, allocations: 0 / 2.108 GB, free: 18.34 MB / 0.9323 GB Notification: Performance of Templates: time 0.06138/3.719, allocations: 33.78 MB / 2.141 GB, free: 0.9219 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)