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.413/1.413, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0009515/0.0009515, allocations: 180.7 kB / 326.5 MB, free: 2.695 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.552/1.552, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0007873/0.0007871, allocations: 80.7 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003037, allocations: 8.656 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.1998, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02132/0.2212, allocations: 29.24 MB / 0.9253 GB, free: 38.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01465/0.2359, allocations: 12.97 MB / 0.938 GB, free: 25.83 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.2376, allocations: 35.75 kB / 0.938 GB, free: 25.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.2395, allocations: 0.5948 MB / 0.9386 GB, free: 25.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003556/0.243, allocations: 1.342 MB / 0.9399 GB, free: 23.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002924/0.246, allocations: 1.249 MB / 0.9411 GB, free: 22.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004286/0.2503, allocations: 4.999 MB / 0.946 GB, free: 17.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.2518, allocations: 1.114 MB / 0.9471 GB, free: 16.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/0.2538, allocations: 1.245 MB / 0.9483 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.2549, allocations: 1.046 MB / 0.9493 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.255, allocations: 52 kB / 0.9494 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002077/0.2571, allocations: 1.061 MB / 0.9504 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003019/0.2574, allocations: 334.5 kB / 0.9507 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006778/0.2581, allocations: 0.7148 MB / 0.9514 GB, free: 12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001787/0.2599, allocations: 1.824 MB / 0.9532 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.2599, allocations: 0 / 0.9532 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2599, allocations: 0 / 0.9532 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.817e-05/0.2599, allocations: 0 / 0.9532 GB, free: 10.17 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.002413/0.2623, allocations: 1.694 MB / 0.9549 GB, free: 8.414 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2624, allocations: 8.031 kB / 0.9549 GB, free: 8.406 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009486/0.2633, allocations: 262.8 kB / 0.9551 GB, free: 8.148 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/0.2652, allocations: 1.32 MB / 0.9564 GB, free: 6.777 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.967e-05/0.2653, allocations: 66 kB / 0.9565 GB, free: 6.711 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.2654, allocations: 83.94 kB / 0.9565 GB, free: 6.629 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.2668, allocations: 1.031 MB / 0.9575 GB, free: 5.547 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.2668, allocations: 0 / 0.9575 GB, free: 5.547 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.697e-05/0.2669, allocations: 32 kB / 0.9576 GB, free: 5.516 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.2669, allocations: 20 kB / 0.9576 GB, free: 5.496 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.2683, allocations: 0.7962 MB / 0.9584 GB, free: 4.695 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.004913/0.2733, allocations: 5.14 MB / 0.9634 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.2746, allocations: 0.6531 MB / 0.964 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006944/0.2753, allocations: 361.4 kB / 0.9644 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002301/0.2777, allocations: 1.681 MB / 0.966 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000781/0.2785, allocations: 379 kB / 0.9664 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004028/0.2789, allocations: 107.4 kB / 0.9665 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 2.735e-06/0.2789, allocations: 0 / 0.9665 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.003804/0.2827, allocations: 1.379 MB / 0.9678 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.2828, allocations: 63.41 kB / 0.9679 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.2844, allocations: 1.321 MB / 0.9692 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.134e-05/0.2845, allocations: 37.7 kB / 0.9692 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000489/0.2849, allocations: 0.6449 MB / 0.9698 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.2851, allocations: 153.8 kB / 0.97 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.662e-05/0.2852, allocations: 65.67 kB / 0.9701 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2853, allocations: 337.9 kB / 0.9704 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006376/0.2859, allocations: 309.7 kB / 0.9707 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008948/0.2868, allocations: 0.652 MB / 0.9713 GB, free: 6.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.2883, allocations: 0.8925 MB / 0.9722 GB, free: 5.672 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.2883, allocations: 0 / 0.9722 GB, free: 5.672 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002686/0.291, allocations: 1.223 MB / 0.9734 GB, free: 4.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002271/0.2913, allocations: 361.5 kB / 0.9737 GB, free: 3.965 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.2913, allocations: 8 kB / 0.9737 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000882/0.2922, allocations: 248.5 kB / 0.974 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005456/0.2927, allocations: 151.8 kB / 0.9741 GB, free: 3.562 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008983/0.2937, allocations: 0.8605 MB / 0.975 GB, free: 2.676 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.2947, allocations: 88.42 kB / 0.975 GB, free: 2.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/0.2948, allocations: 39.98 kB / 0.9751 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.282e-06/0.2948, allocations: 4 kB / 0.9751 GB, free: 2.547 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00158/0.2964, allocations: 0.8793 MB / 0.9759 GB, free: 1.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.2964, allocations: 11.94 kB / 0.9759 GB, free: 1.648 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003595/0.2968, allocations: 140.8 kB / 0.9761 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/0.2972, allocations: 140 kB / 0.9762 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/0.2997, allocations: 2.349 MB / 0.9785 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009979/0.3007, allocations: 80.59 kB / 0.9786 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.358e-05/0.3008, allocations: 39.97 kB / 0.9786 GB, free: 14.75 MB / 0.6355 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0007604/0.3015, allocations: 480.7 kB / 0.9791 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.3017, allocations: 126.4 kB / 0.9792 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.3037, allocations: 0.9467 MB / 0.9801 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.3037, allocations: 8 kB / 0.9801 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.3037, allocations: 0 / 0.9801 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001489/0.3052, allocations: 0.9467 MB / 0.9811 GB, free: 12.16 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.00317/0.3084, allocations: 1.99 MB / 0.983 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.3084, allocations: 3.984 kB / 0.983 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004094/0.3088, allocations: 91.94 kB / 0.9831 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003158/0.3092, allocations: 148.8 kB / 0.9832 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/0.3092, allocations: 15.98 kB / 0.9833 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006837/0.3099, allocations: 0.8214 MB / 0.9841 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3099, allocations: 0 / 0.9841 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002397/0.3123, allocations: 1.315 MB / 0.9853 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004516/0.3128, allocations: 267.4 kB / 0.9856 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.3129, allocations: 15.94 kB / 0.9856 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006806/0.3136, allocations: 83.97 kB / 0.9857 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.637e-05/0.3137, allocations: 36.39 kB / 0.9857 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.025e-05/0.3138, allocations: 19.98 kB / 0.9857 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001131/0.3149, allocations: 0.9128 MB / 0.9866 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3149, allocations: 0 / 0.9866 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001769/0.3167, allocations: 0.6784 MB / 0.9873 GB, free: 5.609 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007596/0.3175, allocations: 360.4 kB / 0.9876 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002914/0.3204, allocations: 1.464 MB / 0.9891 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3204, allocations: 0 / 0.9891 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007667/0.3212, allocations: 354.8 kB / 0.9894 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/0.3236, allocations: 0.5844 MB / 0.99 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/0.3276, allocations: 2.751 MB / 0.9927 GB, free: 40 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007243/0.3283, allocations: 1.257 MB / 0.9939 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/0.3286, allocations: 107.4 kB / 0.994 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of SimCode: time 6.11e-07/0.3286, allocations: 0 / 0.994 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of Templates: time 0.03794/0.3665, allocations: 28.8 MB / 1.022 GB, free: 1.988 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)