Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.486/2.486, allocations: 251.3 MB / 266.2 MB, free: 11.54 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.00138/0.00138, allocations: 184 kB / 325.8 MB, free: 2.805 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.616/2.616, allocations: 205.4 MB / 0.5767 GB, free: 20.74 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.0009781/0.0009777, allocations: 83.8 kB / 0.6812 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004459/0.000446, allocations: 11.91 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1934, allocations: 106.3 MB / 0.899 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03234/0.2258, allocations: 27.28 MB / 0.9257 GB, free: 38.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02056/0.2464, allocations: 11.73 MB / 0.9371 GB, free: 26.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.2481, allocations: 35.75 kB / 0.9372 GB, free: 26.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002148/0.2503, allocations: 465.2 kB / 0.9376 GB, free: 25.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004357/0.2547, allocations: 1.192 MB / 0.9388 GB, free: 24.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00433/0.259, allocations: 1.036 MB / 0.9398 GB, free: 23.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006061/0.2651, allocations: 4.315 MB / 0.944 GB, free: 19.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/0.2673, allocations: 1.051 MB / 0.945 GB, free: 18.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003068/0.2704, allocations: 1.198 MB / 0.9462 GB, free: 17.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002034/0.2725, allocations: 0.9995 MB / 0.9472 GB, free: 16.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002773/0.2728, allocations: 52 kB / 0.9472 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/0.2754, allocations: 0.8581 MB / 0.948 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0006603/0.2761, allocations: 322.6 kB / 0.9484 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005985/0.2768, allocations: 324.9 kB / 0.9487 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002997/0.2798, allocations: 1.789 MB / 0.9504 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2798, allocations: 0 / 0.9504 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2798, allocations: 0 / 0.9504 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.676e-05/0.2799, allocations: 0 / 0.9504 GB, free: 12.7 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004175/0.2841, allocations: 1.717 MB / 0.9521 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.2841, allocations: 12.03 kB / 0.9521 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.2859, allocations: 254.8 kB / 0.9523 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003265/0.2892, allocations: 1.258 MB / 0.9536 GB, free: 9.348 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.535e-05/0.2893, allocations: 70 kB / 0.9536 GB, free: 9.277 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.2895, allocations: 84 kB / 0.9537 GB, free: 9.195 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.292, allocations: 1.023 MB / 0.9547 GB, free: 8.121 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.2921, allocations: 0 / 0.9547 GB, free: 8.121 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.2922, allocations: 35.98 kB / 0.9548 GB, free: 8.086 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.2922, allocations: 20 kB / 0.9548 GB, free: 8.066 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002651/0.2949, allocations: 0.7844 MB / 0.9555 GB, free: 7.277 MB / 0.6042 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.008384/0.3033, allocations: 5.148 MB / 0.9606 GB, free: 1.777 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002252/0.3056, allocations: 0.6442 MB / 0.9612 GB, free: 1.125 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.3068, allocations: 357.4 kB / 0.9615 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003671/0.3105, allocations: 1.678 MB / 0.9632 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001366/0.3119, allocations: 383 kB / 0.9635 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007563/0.3127, allocations: 99.53 kB / 0.9636 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 4.137e-06/0.3127, allocations: 0 / 0.9636 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.007083/0.3198, allocations: 1.383 MB / 0.965 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.3199, allocations: 71.28 kB / 0.965 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002619/0.3225, allocations: 1.309 MB / 0.9663 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001556/0.3227, allocations: 41.64 kB / 0.9664 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008259/0.3235, allocations: 0.6449 MB / 0.967 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.3238, allocations: 149.9 kB / 0.9671 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/0.3238, allocations: 12 kB / 0.9672 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.324, allocations: 333.9 kB / 0.9675 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.3252, allocations: 273.8 kB / 0.9677 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.3266, allocations: 0.6207 MB / 0.9683 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.328, allocations: 382.2 kB / 0.9687 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.328, allocations: 4 kB / 0.9687 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004377/0.3324, allocations: 1.133 MB / 0.9698 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002763/0.3327, allocations: 359 kB / 0.9702 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.3327, allocations: 8 kB / 0.9702 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.3341, allocations: 212.6 kB / 0.9704 GB, free: 7.184 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.3353, allocations: 159.7 kB / 0.9705 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.3369, allocations: 0.8604 MB / 0.9714 GB, free: 6.141 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.3387, allocations: 100.5 kB / 0.9715 GB, free: 6.043 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.3389, allocations: 36.11 kB / 0.9715 GB, free: 6.008 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.3389, allocations: 4 kB / 0.9715 GB, free: 6.004 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002728/0.3417, allocations: 0.8716 MB / 0.9723 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.3417, allocations: 16.05 kB / 0.9724 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006301/0.3423, allocations: 144.8 kB / 0.9725 GB, free: 4.961 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009254/0.3433, allocations: 151.6 kB / 0.9726 GB, free: 4.812 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00389/0.3472, allocations: 2.334 MB / 0.9749 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.3488, allocations: 84.53 kB / 0.975 GB, free: 2.246 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.349, allocations: 39.98 kB / 0.975 GB, free: 2.207 MB / 0.6198 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.0009649/0.3499, allocations: 474.5 kB / 0.9755 GB, free: 1.734 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002813/0.3502, allocations: 130.4 kB / 0.9756 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003466/0.3537, allocations: 0.9467 MB / 0.9765 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.3538, allocations: 7.984 kB / 0.9765 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3538, allocations: 4 kB / 0.9766 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002781/0.3566, allocations: 0.9467 MB / 0.9775 GB, free: 15.62 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.005584/0.3622, allocations: 1.986 MB / 0.9794 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.128e-06/0.3622, allocations: 0 / 0.9794 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008309/0.3631, allocations: 91.92 kB / 0.9795 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005537/0.3636, allocations: 144.6 kB / 0.9796 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6e-05/0.3637, allocations: 16 kB / 0.9797 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.3648, allocations: 0.8176 MB / 0.9805 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3649, allocations: 0 / 0.9805 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00443/0.3693, allocations: 1.315 MB / 0.9817 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008098/0.3702, allocations: 279.3 kB / 0.982 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002319/0.3704, allocations: 15.94 kB / 0.982 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/0.3718, allocations: 87.83 kB / 0.9821 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.3719, allocations: 40.38 kB / 0.9821 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.969e-05/0.372, allocations: 19.98 kB / 0.9822 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001867/0.3739, allocations: 0.9049 MB / 0.983 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.3739, allocations: 3.938 kB / 0.983 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002807/0.3767, allocations: 0.6785 MB / 0.9837 GB, free: 9.07 MB / 0.6355 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.001172/0.3779, allocations: 343.6 kB / 0.984 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005105/0.3831, allocations: 1.418 MB / 0.9854 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.3831, allocations: 0 / 0.9854 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/0.3846, allocations: 366.4 kB / 0.9858 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004758/0.3894, allocations: 0.5946 MB / 0.9864 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006359/0.3958, allocations: 2.721 MB / 0.989 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.397, allocations: 1.267 MB / 0.9902 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001905/0.3989, allocations: 294.6 kB / 0.9905 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004001/0.3993, allocations: 103.4 kB / 0.9906 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of SimCode: time 1.082e-06/0.3993, allocations: 0 / 0.9906 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of Templates: time 0.0684/0.4677, allocations: 25.19 MB / 1.015 GB, free: 8.918 MB / 0.6667 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)