Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.509/2.509, allocations: 287.5 MB / 302.4 MB, free: 8.289 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.001323/0.001323, allocations: 177.2 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.135/2.135, allocations: 205.4 MB / 0.6297 GB, free: 10.5 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.000912/0.0009119, allocations: 99.83 kB / 0.743 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006358/0.000636, allocations: 12.14 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.239, allocations: 115.3 MB / 0.9783 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03508/0.2742, allocations: 30.15 MB / 1.008 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02612/0.3004, allocations: 12.26 MB / 1.02 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.3021, allocations: 43.69 kB / 1.02 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002364/0.3045, allocations: 497 kB / 1.02 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005146/0.3097, allocations: 1.281 MB / 1.022 GB, free: 20 kB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004562/0.3143, allocations: 1.07 MB / 1.023 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009598/0.3239, allocations: 5.483 MB / 1.028 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003501/0.3274, allocations: 1.603 MB / 1.029 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00449/0.332, allocations: 1.556 MB / 1.031 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003088/0.3351, allocations: 1.287 MB / 1.032 GB, free: 4.977 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0004175/0.3355, allocations: 72 kB / 1.032 GB, free: 4.906 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003438/0.339, allocations: 0.8854 MB / 1.033 GB, free: 4.02 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.000796/0.3398, allocations: 382.3 kB / 1.034 GB, free: 3.645 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0008506/0.3407, allocations: 396.7 kB / 1.034 GB, free: 3.25 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004287/0.345, allocations: 2.17 MB / 1.036 GB, free: 1.074 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.345, allocations: 0 / 1.036 GB, free: 1.074 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.865e-06/0.3451, allocations: 3.938 kB / 1.036 GB, free: 1.07 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.662e-05/0.3451, allocations: 0 / 1.036 GB, free: 1.07 MB / 0.6511 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.005744/0.3509, allocations: 2.096 MB / 1.038 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3509, allocations: 12.03 kB / 1.038 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/0.353, allocations: 305.3 kB / 1.038 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004844/0.3578, allocations: 1.571 MB / 1.04 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.358, allocations: 85.98 kB / 1.04 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002824/0.3583, allocations: 112 kB / 1.04 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003729/0.362, allocations: 1.322 MB / 1.041 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.037e-05/0.3621, allocations: 7.938 kB / 1.041 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/0.3623, allocations: 44 kB / 1.041 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.373e-05/0.3623, allocations: 27.98 kB / 1.042 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003601/0.3659, allocations: 1.05 MB / 1.043 GB, free: 10.26 MB / 0.6667 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.01321/0.3792, allocations: 6.992 MB / 1.049 GB, free: 2.773 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002586/0.3818, allocations: 0.6682 MB / 1.05 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.3833, allocations: 427.3 kB / 1.05 GB, free: 1.676 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004757/0.388, allocations: 1.831 MB / 1.052 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001441/0.3895, allocations: 413 kB / 1.053 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001039/0.3906, allocations: 107.2 kB / 1.053 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 4.057e-06/0.3906, allocations: 0 / 1.053 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.007778/0.3984, allocations: 1.531 MB / 1.054 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.3985, allocations: 59.34 kB / 1.054 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004018/0.4026, allocations: 1.843 MB / 1.056 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001838/0.4028, allocations: 41.7 kB / 1.056 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001192/0.404, allocations: 0.8619 MB / 1.057 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.4042, allocations: 161.7 kB / 1.057 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.4043, allocations: 16 kB / 1.057 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.4045, allocations: 341.9 kB / 1.057 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.4058, allocations: 317.8 kB / 1.058 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001727/0.4075, allocations: 0.7839 MB / 1.059 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.409, allocations: 450.3 kB / 1.059 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/0.409, allocations: 7.984 kB / 1.059 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004883/0.4139, allocations: 1.34 MB / 1.06 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000363/0.4143, allocations: 429.3 kB / 1.061 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.4143, allocations: 8 kB / 1.061 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/0.4157, allocations: 226 kB / 1.061 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.417, allocations: 183.6 kB / 1.061 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.4182, allocations: 0.835 MB / 1.062 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/0.4205, allocations: 128.4 kB / 1.062 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.4207, allocations: 47.98 kB / 1.062 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.4207, allocations: 4 kB / 1.062 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003111/0.4238, allocations: 1.032 MB / 1.063 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/0.4239, allocations: 16.09 kB / 1.063 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006627/0.4245, allocations: 156.7 kB / 1.063 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.4256, allocations: 167.7 kB / 1.063 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004108/0.4297, allocations: 2.355 MB / 1.066 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/0.4318, allocations: 112.4 kB / 1.066 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.432, allocations: 43.98 kB / 1.066 GB, free: 1.074 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,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.001279/0.4333, allocations: 0.5922 MB / 1.066 GB, free: 484 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003507/0.4336, allocations: 169.8 kB / 1.067 GB, free: 312 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6197/1.053, allocations: 1.058 MB / 1.068 GB, free: 87.51 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/1.053, allocations: 10.16 kB / 1.068 GB, free: 87.51 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/1.053, allocations: 0 / 1.068 GB, free: 87.51 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002979/1.056, allocations: 1.026 MB / 1.069 GB, free: 87.14 MB / 0.6823 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.006606/1.063, allocations: 2.321 MB / 1.071 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.917e-05/1.063, allocations: 4.25 kB / 1.071 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008943/1.064, allocations: 93.03 kB / 1.071 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006018/1.065, allocations: 149.8 kB / 1.071 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.71e-05/1.065, allocations: 15.94 kB / 1.071 GB, free: 86.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/1.066, allocations: 0.8019 MB / 1.072 GB, free: 85.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.066, allocations: 1.344 kB / 1.072 GB, free: 85.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005239/1.071, allocations: 1.479 MB / 1.073 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/1.072, allocations: 346.5 kB / 1.074 GB, free: 84.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003287/1.073, allocations: 11.55 kB / 1.074 GB, free: 84.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001799/1.074, allocations: 98.75 kB / 1.074 GB, free: 84.88 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/1.075, allocations: 43.31 kB / 1.074 GB, free: 84.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.459e-05/1.075, allocations: 22.86 kB / 1.074 GB, free: 84.87 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003111/1.078, allocations: 1.278 MB / 1.075 GB, free: 84.39 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.31e-07/1.078, allocations: 3.328 kB / 1.075 GB, free: 84.39 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003822/1.082, allocations: 0.8426 MB / 1.076 GB, free: 84.32 MB / 0.6823 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 (40): * Single equations (assignments): 34 * 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.001275/1.083, allocations: 355.5 kB / 1.076 GB, free: 84.21 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005116/1.088, allocations: 1.531 MB / 1.078 GB, free: 83.58 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.088, allocations: 0 / 1.078 GB, free: 83.58 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001467/1.09, allocations: 374 kB / 1.078 GB, free: 83.47 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007559/1.097, allocations: 0.8495 MB / 1.079 GB, free: 83.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00832/1.106, allocations: 3.454 MB / 1.082 GB, free: 81.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/1.107, allocations: 1.495 MB / 1.084 GB, free: 80.82 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002902/1.11, allocations: 436 kB / 1.084 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006087/1.111, allocations: 132 kB / 1.084 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of SimCode: time 1.313e-06/1.111, allocations: 0 / 1.084 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of Templates: time 0.08551/1.196, allocations: 32.12 MB / 1.116 GB, free: 67.72 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)