Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.614/1.614, allocations: 288.4 MB / 303.7 MB, free: 8.852 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.001054/0.001054, allocations: 178.4 kB / 372.3 MB, free: 6.438 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.366/1.366, allocations: 205.4 MB / 0.631 GB, free: 13.53 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.0007558/0.0007559, allocations: 85.44 kB / 0.7444 GB, free: 64.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003789, allocations: 12 kB / 0.8675 GB, free: 0.6133 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2335, allocations: 115.3 MB / 0.9801 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02449/0.2581, allocations: 27.27 MB / 1.007 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01568/0.2738, allocations: 11.76 MB / 1.018 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.2754, allocations: 35.75 kB / 1.018 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002004/0.2774, allocations: 0.5246 MB / 1.019 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.003944/0.2814, allocations: 1.252 MB / 1.02 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003608/0.285, allocations: 1.06 MB / 1.021 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.4142/0.6993, allocations: 4.314 MB / 1.025 GB, free: 64.71 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/0.701, allocations: 1.101 MB / 1.026 GB, free: 64.61 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.7028, allocations: 1.225 MB / 1.028 GB, free: 64.61 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009739/0.7038, allocations: 0.9938 MB / 1.028 GB, free: 64.6 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.7039, allocations: 54.53 kB / 1.029 GB, free: 64.6 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.7057, allocations: 1.019 MB / 1.03 GB, free: 64.6 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003017/0.706, allocations: 318.7 kB / 1.03 GB, free: 64.6 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0007385/0.7068, allocations: 0.7041 MB / 1.031 GB, free: 64.57 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002208/0.709, allocations: 1.826 MB / 1.032 GB, free: 64.49 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.709, allocations: 5.484 kB / 1.032 GB, free: 64.49 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.665e-06/0.709, allocations: 0 / 1.032 GB, free: 64.49 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.383e-05/0.709, allocations: 0 / 1.032 GB, free: 64.49 MB / 0.7448 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.003046/0.7121, allocations: 1.689 MB / 1.034 GB, free: 63.52 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.7121, allocations: 11.19 kB / 1.034 GB, free: 63.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.7132, allocations: 260.1 kB / 1.034 GB, free: 63.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00221/0.7154, allocations: 1.312 MB / 1.036 GB, free: 63.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.398e-05/0.7155, allocations: 69.69 kB / 1.036 GB, free: 63.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.7156, allocations: 88.84 kB / 1.036 GB, free: 63.01 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.7175, allocations: 1.021 MB / 1.037 GB, free: 62.82 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.7175, allocations: 1.031 kB / 1.037 GB, free: 62.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.011e-05/0.7176, allocations: 33.58 kB / 1.037 GB, free: 62.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.7176, allocations: 24.69 kB / 1.037 GB, free: 62.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.7194, allocations: 0.7831 MB / 1.037 GB, free: 62.81 MB / 0.7448 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.005851/0.7252, allocations: 5.144 MB / 1.043 GB, free: 59.9 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.7267, allocations: 0.6504 MB / 1.043 GB, free: 59.87 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007649/0.7275, allocations: 355.7 kB / 1.043 GB, free: 59.86 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002261/0.7297, allocations: 1.69 MB / 1.045 GB, free: 58.92 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000737/0.7305, allocations: 373.5 kB / 1.045 GB, free: 58.87 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000362/0.7309, allocations: 99.97 kB / 1.046 GB, free: 58.84 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=44): time 2.324e-06/0.7309, allocations: 3.297 kB / 1.046 GB, free: 58.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44): time 0.003685/0.7346, allocations: 1.391 MB / 1.047 GB, free: 58.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.7346, allocations: 56.41 kB / 1.047 GB, free: 58.53 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/0.7363, allocations: 1.317 MB / 1.048 GB, free: 58.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.554e-05/0.7363, allocations: 39.67 kB / 1.048 GB, free: 58.33 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004014/0.7367, allocations: 0.6393 MB / 1.049 GB, free: 58.11 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.7369, allocations: 154.4 kB / 1.049 GB, free: 58.01 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.7369, allocations: 15 kB / 1.049 GB, free: 58.01 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.162e-05/0.737, allocations: 332.1 kB / 1.049 GB, free: 57.7 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005683/0.7375, allocations: 275.3 kB / 1.05 GB, free: 57.7 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000699/0.7382, allocations: 0.6191 MB / 1.05 GB, free: 57.28 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.7395, allocations: 0.8292 MB / 1.051 GB, free: 56.95 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.7395, allocations: 3.25 kB / 1.051 GB, free: 56.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002208/0.7417, allocations: 1.141 MB / 1.052 GB, free: 56.78 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000159/0.7419, allocations: 346.6 kB / 1.053 GB, free: 56.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.7419, allocations: 9.312 kB / 1.053 GB, free: 56.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007557/0.7426, allocations: 227.2 kB / 1.053 GB, free: 56.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005373/0.7432, allocations: 156.8 kB / 1.053 GB, free: 56.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007221/0.7439, allocations: 0.8657 MB / 1.054 GB, free: 55.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.7451, allocations: 93.64 kB / 1.054 GB, free: 55.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.997e-05/0.7452, allocations: 41.58 kB / 1.054 GB, free: 55.82 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.7452, allocations: 3.344 kB / 1.054 GB, free: 55.82 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001387/0.7466, allocations: 0.868 MB / 1.055 GB, free: 55.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.7466, allocations: 10.69 kB / 1.055 GB, free: 55.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003189/0.7469, allocations: 149 kB / 1.055 GB, free: 55.74 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/0.7474, allocations: 140.5 kB / 1.055 GB, free: 55.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.7496, allocations: 2.347 MB / 1.057 GB, free: 54.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.7508, allocations: 88.23 kB / 1.057 GB, free: 54.31 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.476e-05/0.7509, allocations: 33.25 kB / 1.057 GB, free: 54.31 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * 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.0007803/0.7517, allocations: 477.6 kB / 1.058 GB, free: 54.11 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.7519, allocations: 127.1 kB / 1.058 GB, free: 54.05 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.7541, allocations: 0.9487 MB / 1.059 GB, free: 53.95 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.7541, allocations: 5.938 kB / 1.059 GB, free: 53.95 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.7541, allocations: 0 / 1.059 GB, free: 53.95 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001599/0.7557, allocations: 0.9556 MB / 1.06 GB, free: 53.57 MB / 0.7448 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.00363/0.7594, allocations: 1.979 MB / 1.062 GB, free: 53.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.7594, allocations: 1.438 kB / 1.062 GB, free: 53.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005049/0.7599, allocations: 99.8 kB / 1.062 GB, free: 53.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003357/0.7603, allocations: 145.3 kB / 1.062 GB, free: 53.12 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/0.7603, allocations: 9.828 kB / 1.062 GB, free: 53.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000643/0.761, allocations: 0.8185 MB / 1.063 GB, free: 52.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.761, allocations: 4.219 kB / 1.063 GB, free: 52.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002505/0.7635, allocations: 1.303 MB / 1.064 GB, free: 52.32 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005624/0.7641, allocations: 289 kB / 1.064 GB, free: 52.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.7642, allocations: 9.969 kB / 1.064 GB, free: 52.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000855/0.7651, allocations: 84.09 kB / 1.064 GB, free: 52.15 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.16e-05/0.7652, allocations: 44.86 kB / 1.065 GB, free: 52.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/0.7653, allocations: 18.88 kB / 1.065 GB, free: 52.14 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001012/0.7663, allocations: 0.9082 MB / 1.065 GB, free: 52.04 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7663, allocations: 0 / 1.065 GB, free: 52.04 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001902/0.7682, allocations: 0.6775 MB / 1.066 GB, free: 51.95 MB / 0.7448 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 (39): * Single equations (assignments): 33 * 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.0007542/0.769, allocations: 362.3 kB / 1.066 GB, free: 51.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002591/0.7716, allocations: 1.416 MB / 1.068 GB, free: 51.55 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7716, allocations: 0 / 1.068 GB, free: 51.55 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007245/0.7723, allocations: 369.4 kB / 1.068 GB, free: 51.54 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/0.7748, allocations: 0.5871 MB / 1.069 GB, free: 51.49 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.7781, allocations: 2.702 MB / 1.071 GB, free: 50.27 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005609/0.7786, allocations: 1.274 MB / 1.073 GB, free: 49.54 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001101/0.7798, allocations: 305.4 kB / 1.073 GB, free: 49.46 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.78, allocations: 103.1 kB / 1.073 GB, free: 49.46 MB / 0.7448 GB Notification: Performance of SimCode: time 1.633e-06/0.78, allocations: 0 / 1.073 GB, free: 49.46 MB / 0.7448 GB Notification: Performance of Templates: time 0.03603/0.816, allocations: 25.58 MB / 1.098 GB, free: 47.68 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)