Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.13/2.13, allocations: 251.3 MB / 266.2 MB, free: 11.47 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001326/0.001326, allocations: 176.3 kB / 325.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.276/2.276, allocations: 205.4 MB / 0.5767 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009172/0.0009172, allocations: 96.09 kB / 0.6813 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004673/0.0004675, allocations: 11.69 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2234, allocations: 106.3 MB / 0.899 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.05487/0.2783, allocations: 30.18 MB / 0.9285 GB, free: 35.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03099/0.3094, allocations: 12.24 MB / 0.9405 GB, free: 22.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002042/0.3115, allocations: 43.75 kB / 0.9405 GB, free: 22.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00303/0.3146, allocations: 493 kB / 0.941 GB, free: 22.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006667/0.3213, allocations: 1.284 MB / 0.9422 GB, free: 21.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006083/0.3274, allocations: 1.066 MB / 0.9433 GB, free: 20.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01065/0.3381, allocations: 5.538 MB / 0.9487 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004321/0.3424, allocations: 1.662 MB / 0.9503 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005443/0.3479, allocations: 1.548 MB / 0.9518 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003772/0.3518, allocations: 1.295 MB / 0.9531 GB, free: 9.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004576/0.3523, allocations: 68 kB / 0.9531 GB, free: 9.844 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004117/0.3564, allocations: 0.8854 MB / 0.954 GB, free: 8.957 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0008697/0.3573, allocations: 382.3 kB / 0.9544 GB, free: 8.582 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0009546/0.3583, allocations: 396.7 kB / 0.9547 GB, free: 8.188 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004968/0.3633, allocations: 2.17 MB / 0.9569 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.3633, allocations: 0 / 0.9569 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.096e-06/0.3634, allocations: 0 / 0.9569 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.585e-05/0.3634, allocations: 0 / 0.9569 GB, free: 6.012 MB / 0.6042 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.007377/0.3708, allocations: 2.085 MB / 0.9589 GB, free: 3.859 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.3709, allocations: 8.031 kB / 0.9589 GB, free: 3.852 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002884/0.3738, allocations: 318.2 kB / 0.9592 GB, free: 3.539 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006129/0.38, allocations: 1.579 MB / 0.9607 GB, free: 1.914 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.3802, allocations: 78 kB / 0.9608 GB, free: 1.836 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000347/0.3805, allocations: 108 kB / 0.9609 GB, free: 1.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004724/0.3853, allocations: 1.322 MB / 0.9622 GB, free: 344 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.977e-05/0.3854, allocations: 7.938 kB / 0.9622 GB, free: 336 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/0.3856, allocations: 40 kB / 0.9623 GB, free: 296 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.322e-05/0.3857, allocations: 31.92 kB / 0.9623 GB, free: 264 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005378/0.3911, allocations: 1.058 MB / 0.9633 GB, free: 15.2 MB / 0.6198 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.01979/0.4109, allocations: 6.98 MB / 0.9701 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003836/0.4148, allocations: 0.6734 MB / 0.9708 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002126/0.417, allocations: 435.3 kB / 0.9712 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006679/0.4237, allocations: 1.831 MB / 0.973 GB, free: 4.637 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002051/0.4258, allocations: 420.7 kB / 0.9734 GB, free: 4.215 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001345/0.4272, allocations: 107.3 kB / 0.9735 GB, free: 4.109 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=46): time 5.45e-06/0.4272, allocations: 0 / 0.9735 GB, free: 4.109 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46): time 0.01104/0.4383, allocations: 1.54 MB / 0.975 GB, free: 2.539 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.453e-05/0.4384, allocations: 55.41 kB / 0.9751 GB, free: 2.473 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005843/0.4443, allocations: 1.839 MB / 0.9769 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002505/0.4446, allocations: 41.7 kB / 0.9769 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00171/0.4463, allocations: 0.8616 MB / 0.9777 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003698/0.4467, allocations: 157.8 kB / 0.9779 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.4468, allocations: 20 kB / 0.9779 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002219/0.4471, allocations: 338 kB / 0.9782 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/0.449, allocations: 317.8 kB / 0.9785 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002504/0.4515, allocations: 0.78 MB / 0.9793 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002218/0.4537, allocations: 454.1 kB / 0.9797 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.4538, allocations: 4 kB / 0.9797 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.007359/0.4612, allocations: 1.347 MB / 0.981 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005265/0.4617, allocations: 419.6 kB / 0.9814 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-05/0.4618, allocations: 12 kB / 0.9815 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/0.4638, allocations: 224.5 kB / 0.9817 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/0.4657, allocations: 187.7 kB / 0.9819 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.4675, allocations: 0.8343 MB / 0.9827 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003519/0.4711, allocations: 120.5 kB / 0.9828 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002997/0.4714, allocations: 47.98 kB / 0.9828 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.4715, allocations: 4 kB / 0.9828 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004989/0.4765, allocations: 1.031 MB / 0.9838 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-05/0.4766, allocations: 15.98 kB / 0.9839 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.4776, allocations: 161.4 kB / 0.984 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.4793, allocations: 163.7 kB / 0.9842 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006212/0.4856, allocations: 2.358 MB / 0.9865 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003213/0.4888, allocations: 116.5 kB / 0.9866 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002875/0.4892, allocations: 40 kB / 0.9866 GB, free: 6.027 MB / 0.6355 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.002023/0.4912, allocations: 0.5825 MB / 0.9872 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007286/0.4919, allocations: 173.8 kB / 0.9874 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005737/0.4977, allocations: 1.082 MB / 0.9884 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/0.4978, allocations: 4 kB / 0.9884 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4978, allocations: 0 / 0.9884 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004505/0.5023, allocations: 1.027 MB / 0.9894 GB, free: 3.066 MB / 0.6355 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.00992/0.5123, allocations: 2.316 MB / 0.9917 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.5123, allocations: 0 / 0.9917 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.5136, allocations: 92.05 kB / 0.9918 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008497/0.5145, allocations: 140.7 kB / 0.9919 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.5146, allocations: 23.92 kB / 0.9919 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.5162, allocations: 0.7981 MB / 0.9927 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/0.5163, allocations: 8.094 kB / 0.9927 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007248/0.5235, allocations: 1.487 MB / 0.9942 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/0.5251, allocations: 342.8 kB / 0.9945 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005289/0.5257, allocations: 12 kB / 0.9945 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002681/0.5284, allocations: 103.8 kB / 0.9946 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/0.5286, allocations: 48.25 kB / 0.9946 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.5288, allocations: 19.98 kB / 0.9947 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.004377/0.5332, allocations: 1.274 MB / 0.9959 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.72e-07/0.5332, allocations: 0 / 0.9959 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005432/0.5387, allocations: 0.8423 MB / 0.9967 GB, free: 11.38 MB / 0.6511 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.001673/0.5404, allocations: 360.6 kB / 0.9971 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.007161/0.5476, allocations: 1.532 MB / 0.9986 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.5476, allocations: 3.938 kB / 0.9986 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002126/0.5498, allocations: 371.5 kB / 0.9989 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0105/0.5603, allocations: 0.8456 MB / 0.9998 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.5724, allocations: 3.466 MB / 1.003 GB, free: 4.738 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002413/0.5749, allocations: 1.499 MB / 1.005 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003796/0.5787, allocations: 426.1 kB / 1.005 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007271/0.5795, allocations: 131.3 kB / 1.005 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of SimCode: time 1.563e-06/0.5795, allocations: 0 / 1.005 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of Templates: time 0.09648/0.676, allocations: 32.12 MB / 1.037 GB, free: 2.852 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)