Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.404/1.404, allocations: 252 MB / 267.6 MB, free: 10.9 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 179 kB / 327.3 MB, free: 2.188 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.967/1.967, allocations: 205.4 MB / 0.5783 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008599/0.0008599, allocations: 86.31 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003486, allocations: 11.56 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2153, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02008/0.2354, allocations: 27.28 MB / 0.9275 GB, free: 36.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01361/0.2491, allocations: 11.74 MB / 0.9389 GB, free: 24.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.2506, allocations: 35.75 kB / 0.939 GB, free: 24.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.252, allocations: 461.2 kB / 0.9394 GB, free: 24.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.2547, allocations: 1.197 MB / 0.9406 GB, free: 23.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.2573, allocations: 1.035 MB / 0.9416 GB, free: 22.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003574/0.2609, allocations: 4.282 MB / 0.9458 GB, free: 17.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.2621, allocations: 0.9921 MB / 0.9467 GB, free: 16.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/0.2638, allocations: 1.19 MB / 0.9479 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.2648, allocations: 1.003 MB / 0.9489 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.2649, allocations: 52 kB / 0.9489 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.2667, allocations: 0.8581 MB / 0.9498 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002573/0.267, allocations: 322.6 kB / 0.9501 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002862/0.2673, allocations: 313 kB / 0.9504 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.2688, allocations: 1.796 MB / 0.9521 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2688, allocations: 4 kB / 0.9521 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2689, allocations: 0 / 0.9521 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.797e-05/0.2689, allocations: 0 / 0.9521 GB, free: 11.19 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.002516/0.2714, allocations: 1.713 MB / 0.9538 GB, free: 9.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2715, allocations: 8.031 kB / 0.9538 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009427/0.2724, allocations: 257.9 kB / 0.954 GB, free: 9.148 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/0.2743, allocations: 1.258 MB / 0.9553 GB, free: 7.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.294e-05/0.2744, allocations: 66 kB / 0.9553 GB, free: 7.773 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.2745, allocations: 84 kB / 0.9554 GB, free: 7.691 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.276, allocations: 1.027 MB / 0.9564 GB, free: 6.613 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.2761, allocations: 4 kB / 0.9564 GB, free: 6.609 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.978e-05/0.2762, allocations: 36 kB / 0.9565 GB, free: 6.574 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.2762, allocations: 20 kB / 0.9565 GB, free: 6.555 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.2777, allocations: 0.7845 MB / 0.9572 GB, free: 5.766 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.004892/0.2826, allocations: 5.14 MB / 0.9623 GB, free: 280 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.284, allocations: 0.6485 MB / 0.9629 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007252/0.2847, allocations: 357.3 kB / 0.9632 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002352/0.2871, allocations: 1.678 MB / 0.9649 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007763/0.2879, allocations: 375 kB / 0.9652 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003741/0.2882, allocations: 99.38 kB / 0.9653 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 1.783e-06/0.2883, allocations: 4 kB / 0.9653 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.003788/0.2921, allocations: 1.383 MB / 0.9667 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.2921, allocations: 55.41 kB / 0.9667 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.2937, allocations: 1.309 MB / 0.968 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.245e-05/0.2938, allocations: 45.7 kB / 0.9681 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005433/0.2943, allocations: 0.6449 MB / 0.9687 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.2945, allocations: 149.8 kB / 0.9688 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.2945, allocations: 16 kB / 0.9688 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.2947, allocations: 330 kB / 0.9692 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006201/0.2953, allocations: 277.7 kB / 0.9694 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000871/0.2962, allocations: 0.6169 MB / 0.97 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007238/0.2969, allocations: 382.2 kB / 0.9704 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.2969, allocations: 4 kB / 0.9704 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002409/0.2993, allocations: 1.141 MB / 0.9715 GB, free: 6.371 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002259/0.2996, allocations: 350.6 kB / 0.9718 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.2996, allocations: 11.94 kB / 0.9719 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008315/0.3004, allocations: 224.6 kB / 0.9721 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/0.301, allocations: 155.8 kB / 0.9722 GB, free: 5.531 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009025/0.3019, allocations: 0.8719 MB / 0.9731 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009569/0.3029, allocations: 104.5 kB / 0.9732 GB, free: 4.531 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.603e-05/0.303, allocations: 35.98 kB / 0.9732 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.675e-06/0.303, allocations: 4 kB / 0.9732 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001553/0.3046, allocations: 0.8635 MB / 0.9741 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3046, allocations: 12.44 kB / 0.9741 GB, free: 3.605 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003427/0.305, allocations: 148.7 kB / 0.9742 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/0.3055, allocations: 131.8 kB / 0.9743 GB, free: 3.328 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00241/0.3079, allocations: 2.349 MB / 0.9766 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008415/0.3087, allocations: 80.59 kB / 0.9767 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.87e-05/0.3088, allocations: 40.11 kB / 0.9767 GB, free: 0.7109 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.0007449/0.3096, allocations: 476.6 kB / 0.9772 GB, free: 240 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.3097, allocations: 130.4 kB / 0.9773 GB, free: 108 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/0.3117, allocations: 0.9465 MB / 0.9782 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.3117, allocations: 8 kB / 0.9783 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3117, allocations: 3.984 kB / 0.9783 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001571/0.3133, allocations: 0.9428 MB / 0.9792 GB, free: 14.12 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.00349/0.3168, allocations: 1.982 MB / 0.9811 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.3168, allocations: 0 / 0.9811 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004742/0.3173, allocations: 91.94 kB / 0.9812 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000343/0.3177, allocations: 148.7 kB / 0.9813 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.3177, allocations: 15.94 kB / 0.9814 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007826/0.3185, allocations: 0.8254 MB / 0.9822 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3185, allocations: 0 / 0.9822 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.3211, allocations: 1.299 MB / 0.9834 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006383/0.3217, allocations: 287.4 kB / 0.9837 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.3219, allocations: 19.88 kB / 0.9837 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007442/0.3226, allocations: 83.83 kB / 0.9838 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.3228, allocations: 40.38 kB / 0.9838 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.351e-05/0.3228, allocations: 19.98 kB / 0.9839 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001341/0.3242, allocations: 0.9049 MB / 0.9847 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3242, allocations: 0 / 0.9847 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002037/0.3262, allocations: 0.6746 MB / 0.9854 GB, free: 7.582 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.0007883/0.327, allocations: 343.6 kB / 0.9857 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002987/0.33, allocations: 1.424 MB / 0.9871 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.33, allocations: 0 / 0.9871 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008003/0.3308, allocations: 359.4 kB / 0.9875 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/0.3334, allocations: 0.5814 MB / 0.988 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/0.3374, allocations: 2.771 MB / 0.9907 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007908/0.3383, allocations: 1.257 MB / 0.992 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.3386, allocations: 107.3 kB / 0.9921 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of SimCode: time 7.41e-07/0.3386, allocations: 0 / 0.9921 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of Templates: time 0.03939/0.378, allocations: 28.79 MB / 1.02 GB, free: 4.008 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)