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.321/1.321, allocations: 252 MB / 268 MB, free: 10.87 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.001059/0.001059, allocations: 179.5 kB / 327.6 MB, free: 2.109 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.489/1.489, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.000758/0.0007579, allocations: 95.45 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003338, allocations: 9.375 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2248, allocations: 106.3 MB / 0.9014 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02192/0.2467, allocations: 28.83 MB / 0.9296 GB, free: 34.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01584/0.2626, allocations: 12.78 MB / 0.9421 GB, free: 21.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.2645, allocations: 39.75 kB / 0.9421 GB, free: 21.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.2664, allocations: 0.5909 MB / 0.9427 GB, free: 21.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003721/0.2701, allocations: 1.334 MB / 0.944 GB, free: 19.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003298/0.2734, allocations: 1.257 MB / 0.9452 GB, free: 18.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004863/0.2783, allocations: 4.991 MB / 0.9501 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.28, allocations: 1.118 MB / 0.9512 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002386/0.2825, allocations: 1.241 MB / 0.9524 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.2838, allocations: 1.054 MB / 0.9534 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.2839, allocations: 56 kB / 0.9535 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.2862, allocations: 1.053 MB / 0.9545 GB, free: 8.961 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003113/0.2865, allocations: 334.6 kB / 0.9548 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007453/0.2873, allocations: 0.736 MB / 0.9556 GB, free: 7.887 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.2891, allocations: 1.828 MB / 0.9573 GB, free: 6.055 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2891, allocations: 0 / 0.9573 GB, free: 6.055 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2892, allocations: 8 kB / 0.9573 GB, free: 6.047 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.2892, allocations: 0 / 0.9573 GB, free: 6.047 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.002582/0.2918, allocations: 1.688 MB / 0.959 GB, free: 4.301 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2918, allocations: 8.031 kB / 0.959 GB, free: 4.293 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009517/0.2928, allocations: 262.8 kB / 0.9593 GB, free: 4.035 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/0.2947, allocations: 1.323 MB / 0.9605 GB, free: 2.656 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.229e-05/0.2948, allocations: 62 kB / 0.9606 GB, free: 2.598 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.2949, allocations: 88 kB / 0.9607 GB, free: 2.512 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.2965, allocations: 1.031 MB / 0.9617 GB, free: 1.426 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.2965, allocations: 3.938 kB / 0.9617 GB, free: 1.422 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.359e-05/0.2966, allocations: 32 kB / 0.9617 GB, free: 1.391 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.2966, allocations: 20 kB / 0.9618 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.298, allocations: 0.7923 MB / 0.9625 GB, free: 0.5781 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.00615/0.3042, allocations: 5.132 MB / 0.9675 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.3057, allocations: 0.6595 MB / 0.9682 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007193/0.3065, allocations: 362.3 kB / 0.9685 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002603/0.3091, allocations: 1.678 MB / 0.9702 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008021/0.3099, allocations: 386.9 kB / 0.9705 GB, free: 7.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00049/0.3104, allocations: 99.38 kB / 0.9706 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 3.086e-06/0.3104, allocations: 0 / 0.9706 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.003816/0.3142, allocations: 1.391 MB / 0.972 GB, free: 6.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.3143, allocations: 55.41 kB / 0.972 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/0.316, allocations: 1.317 MB / 0.9733 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.957e-05/0.316, allocations: 41.7 kB / 0.9734 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005551/0.3166, allocations: 0.641 MB / 0.974 GB, free: 4.227 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.3168, allocations: 157.8 kB / 0.9741 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.3168, allocations: 16 kB / 0.9742 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3169, allocations: 333.9 kB / 0.9745 GB, free: 3.723 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006507/0.3176, allocations: 305.8 kB / 0.9748 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008911/0.3185, allocations: 0.6559 MB / 0.9754 GB, free: 2.609 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.32, allocations: 0.8926 MB / 0.9763 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.32, allocations: 0 / 0.9763 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002648/0.3226, allocations: 1.223 MB / 0.9775 GB, free: 372 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002569/0.3229, allocations: 359.4 kB / 0.9778 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.3229, allocations: 8 kB / 0.9778 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008437/0.3238, allocations: 244.6 kB / 0.9781 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005684/0.3244, allocations: 151.8 kB / 0.9782 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009782/0.3254, allocations: 0.8643 MB / 0.979 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.3265, allocations: 92.48 kB / 0.9791 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.603e-05/0.3266, allocations: 47.98 kB / 0.9792 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.3266, allocations: 4 kB / 0.9792 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00157/0.3282, allocations: 0.8673 MB / 0.98 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.3282, allocations: 11.98 kB / 0.98 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003478/0.3286, allocations: 145.2 kB / 0.9802 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004653/0.329, allocations: 139.7 kB / 0.9803 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.3315, allocations: 2.353 MB / 0.9826 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.3326, allocations: 84.5 kB / 0.9827 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.59e-05/0.3327, allocations: 35.98 kB / 0.9827 GB, free: 10.68 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 ($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 (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.0009074/0.3336, allocations: 480.7 kB / 0.9832 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.3338, allocations: 126.4 kB / 0.9833 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.3358, allocations: 0.9466 MB / 0.9842 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.3358, allocations: 4 kB / 0.9842 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3358, allocations: 4.047 kB / 0.9842 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001544/0.3374, allocations: 0.9545 MB / 0.9852 GB, free: 8.082 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.003341/0.3408, allocations: 1.99 MB / 0.9871 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3408, allocations: 0 / 0.9871 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004441/0.3412, allocations: 95.94 kB / 0.9872 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000313/0.3415, allocations: 144.7 kB / 0.9873 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.3416, allocations: 11.98 kB / 0.9874 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006772/0.3423, allocations: 0.8098 MB / 0.9881 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3423, allocations: 4 kB / 0.9881 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/0.3447, allocations: 1.315 MB / 0.9894 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005522/0.3453, allocations: 291.2 kB / 0.9897 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.3454, allocations: 15.94 kB / 0.9897 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007298/0.3461, allocations: 72.08 kB / 0.9898 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.3463, allocations: 48.38 kB / 0.9898 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.356e-05/0.3463, allocations: 23.97 kB / 0.9899 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001216/0.3475, allocations: 0.9167 MB / 0.9908 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3476, allocations: 0 / 0.9908 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00197/0.3495, allocations: 0.6745 MB / 0.9914 GB, free: 1.523 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.0008789/0.3504, allocations: 375.9 kB / 0.9918 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003077/0.3535, allocations: 1.46 MB / 0.9932 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3535, allocations: 1.062 kB / 0.9932 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008102/0.3543, allocations: 354.4 kB / 0.9935 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002856/0.3572, allocations: 0.5838 MB / 0.9941 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/0.3612, allocations: 2.801 MB / 0.9968 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007538/0.3619, allocations: 1.249 MB / 0.9981 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.3622, allocations: 107.3 kB / 0.9982 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of SimCode: time 8.92e-07/0.3622, allocations: 0 / 0.9982 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of Templates: time 0.04024/0.4025, allocations: 28.78 MB / 1.026 GB, free: 13.87 MB / 0.6823 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)