Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.776/1.776, allocations: 288.4 MB / 303.7 MB, free: 8.855 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.001113/0.001113, allocations: 176.5 kB / 372.3 MB, free: 6.441 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.332/1.332, 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.0008798/0.0008799, allocations: 88.27 kB / 0.7444 GB, free: 64.67 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006384/0.0006391, allocations: 12 kB / 0.8675 GB, free: 0.5938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2755, allocations: 115.3 MB / 0.9801 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.4758/0.7514, allocations: 66.85 MB / 1.045 GB, free: 72.03 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02669/0.7781, allocations: 18.89 MB / 1.064 GB, free: 66.02 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004248/0.7824, allocations: 82.97 kB / 1.064 GB, free: 65.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002862/0.7853, allocations: 0.7467 MB / 1.065 GB, free: 65.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.006624/0.7919, allocations: 2.038 MB / 1.067 GB, free: 64.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005143/0.7971, allocations: 1.586 MB / 1.068 GB, free: 63.75 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.008785/0.8059, allocations: 9.136 MB / 1.077 GB, free: 60.02 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006652/0.8126, allocations: 5.548 MB / 1.083 GB, free: 57.73 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006337/0.819, allocations: 2.738 MB / 1.085 GB, free: 56.64 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004398/0.8234, allocations: 2.302 MB / 1.087 GB, free: 55.7 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0007706/0.8242, allocations: 130.7 kB / 1.088 GB, free: 55.7 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003789/0.828, allocations: 1.196 MB / 1.089 GB, free: 55.38 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000757/0.8288, allocations: 0.6104 MB / 1.089 GB, free: 55.06 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002483/0.8313, allocations: 1.558 MB / 1.091 GB, free: 54.18 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.003577/0.8349, allocations: 3.517 MB / 1.094 GB, free: 53.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.8349, allocations: 0 / 1.094 GB, free: 53.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8349, allocations: 0 / 1.094 GB, free: 53.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001046/0.835, allocations: 0 / 1.094 GB, free: 53.34 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.006803/0.8418, allocations: 3.833 MB / 1.098 GB, free: 51.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.8419, allocations: 10.12 kB / 1.098 GB, free: 51.27 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002256/0.8441, allocations: 0.5679 MB / 1.099 GB, free: 51.06 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004245/0.8484, allocations: 2.583 MB / 1.101 GB, free: 49.76 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.56e-05/0.8485, allocations: 139.9 kB / 1.101 GB, free: 49.7 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002599/0.8488, allocations: 185.5 kB / 1.101 GB, free: 49.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003336/0.8521, allocations: 2.408 MB / 1.104 GB, free: 48.54 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.477e-05/0.8522, allocations: 7.656 kB / 1.104 GB, free: 48.54 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/0.8523, allocations: 68.81 kB / 1.104 GB, free: 48.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/0.8524, allocations: 38.75 kB / 1.104 GB, free: 48.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003231/0.8556, allocations: 2.025 MB / 1.106 GB, free: 47.78 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.01267/0.8683, allocations: 12.15 MB / 1.118 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002609/0.8709, allocations: 1.545 MB / 1.119 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/0.8724, allocations: 1.092 MB / 1.12 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006109/0.8785, allocations: 4.082 MB / 1.124 GB, free: 36.03 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00136/0.8799, allocations: 0.8803 MB / 1.125 GB, free: 35.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001741/0.8817, allocations: 455.2 kB / 1.126 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=96): time 3.586e-06/0.8817, allocations: 0 / 1.126 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=96): time 0.01454/0.8962, allocations: 5.281 MB / 1.131 GB, free: 34.16 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.8963, allocations: 69.91 kB / 1.131 GB, free: 34.09 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003363/0.8997, allocations: 3 MB / 1.134 GB, free: 33.09 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000161/0.8998, allocations: 55.11 kB / 1.134 GB, free: 33.04 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00088/0.9007, allocations: 1.427 MB / 1.135 GB, free: 31.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/0.901, allocations: 338.4 kB / 1.136 GB, free: 31.65 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.901, allocations: 30.16 kB / 1.136 GB, free: 31.63 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.424e-05/0.9011, allocations: 363.3 kB / 1.136 GB, free: 31.3 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.9023, allocations: 0.6927 MB / 1.137 GB, free: 31.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/0.9038, allocations: 1.493 MB / 1.138 GB, free: 29.87 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002494/0.9063, allocations: 1.922 MB / 1.14 GB, free: 28.71 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.9063, allocations: 3.031 kB / 1.14 GB, free: 28.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005689/0.912, allocations: 2.96 MB / 1.143 GB, free: 27.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002396/0.9123, allocations: 0.5347 MB / 1.143 GB, free: 26.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.9123, allocations: 11.84 kB / 1.143 GB, free: 26.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002633/0.915, allocations: 0.7795 MB / 1.144 GB, free: 26.74 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.9162, allocations: 304.6 kB / 1.144 GB, free: 26.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.9182, allocations: 2.169 MB / 1.147 GB, free: 25.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00283/0.921, allocations: 249.3 kB / 1.147 GB, free: 25.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.9212, allocations: 82.69 kB / 1.147 GB, free: 25.2 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.9212, allocations: 4.25 kB / 1.147 GB, free: 25.2 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004289/0.9255, allocations: 2.307 MB / 1.149 GB, free: 24.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.9255, allocations: 14.39 kB / 1.149 GB, free: 24.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/0.9271, allocations: 0.5717 MB / 1.15 GB, free: 24.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.9282, allocations: 295.8 kB / 1.15 GB, free: 24.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007621/0.9359, allocations: 6.504 MB / 1.156 GB, free: 19.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/0.9389, allocations: 238.9 kB / 1.157 GB, free: 19.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/0.9391, allocations: 74.64 kB / 1.157 GB, free: 19.85 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.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.001731/0.9408, allocations: 0.8256 MB / 1.157 GB, free: 19.42 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006239/0.9415, allocations: 289.7 kB / 1.158 GB, free: 19.27 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005011/0.9465, allocations: 2.486 MB / 1.16 GB, free: 18.31 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.9465, allocations: 10.77 kB / 1.16 GB, free: 18.31 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9465, allocations: 4.516 kB / 1.16 GB, free: 18.31 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003588/0.9501, allocations: 2.188 MB / 1.162 GB, free: 17.27 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.009564/0.9597, allocations: 4.711 MB / 1.167 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.9598, allocations: 1.188 kB / 1.167 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008166/0.9606, allocations: 165.1 kB / 1.167 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00122/0.9618, allocations: 0.5385 MB / 1.168 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/0.9619, allocations: 25.12 kB / 1.168 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.9637, allocations: 2.107 MB / 1.17 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.9638, allocations: 3.938 kB / 1.17 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006202/0.97, allocations: 3.343 MB / 1.173 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001682/0.9717, allocations: 0.555 MB / 1.173 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003266/0.972, allocations: 19.91 kB / 1.173 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/0.9737, allocations: 203.4 kB / 1.174 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.9739, allocations: 66.28 kB / 1.174 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.972e-05/0.974, allocations: 31.75 kB / 1.174 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003086/0.9771, allocations: 2.057 MB / 1.176 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9771, allocations: 0 / 1.176 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00456/0.9817, allocations: 1.483 MB / 1.177 GB, free: 10.91 MB / 0.7448 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 (58): * Single equations (assignments): 50 * 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.001177/0.9829, allocations: 440.9 kB / 1.178 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005518/0.9884, allocations: 3.257 MB / 1.181 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.9884, allocations: 3.344 kB / 1.181 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001566/0.99, allocations: 0.8271 MB / 1.182 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008614/0.9986, allocations: 1.532 MB / 1.183 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009118/1.008, allocations: 5.933 MB / 1.189 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001251/1.009, allocations: 2.03 MB / 1.191 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003108/1.012, allocations: 0.6717 MB / 1.192 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005112/1.013, allocations: 207.4 kB / 1.192 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of SimCode: time 9.22e-07/1.013, allocations: 0 / 1.192 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of Templates: time 0.09382/1.107, allocations: 58.24 MB / 1.249 GB, free: 9.059 MB / 0.8073 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)