Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000768/0.0007681, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007699/0.00077, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.588/1.588, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.0004858, allocations: 13.5 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2242, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.02852/0.2528, allocations: 30.15 MB / 0.8167 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01747/0.2703, allocations: 12.27 MB / 0.8287 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001738/0.2721, allocations: 39.75 kB / 0.8287 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.2739, allocations: 0.4892 MB / 0.8292 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003756/0.2777, allocations: 1.283 MB / 0.8305 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003018/0.2807, allocations: 1.065 MB / 0.8315 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006065/0.2868, allocations: 5.485 MB / 0.8369 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002433/0.2893, allocations: 1.599 MB / 0.8384 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003232/0.2925, allocations: 1.552 MB / 0.8399 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002197/0.2947, allocations: 1.291 MB / 0.8412 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002017/0.2949, allocations: 68 kB / 0.8413 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.2971, allocations: 0.8893 MB / 0.8421 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003958/0.2975, allocations: 378.3 kB / 0.8425 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006211/0.2981, allocations: 396.7 kB / 0.8429 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002404/0.3005, allocations: 2.174 MB / 0.845 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3006, allocations: 4 kB / 0.845 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.896e-06/0.3006, allocations: 0 / 0.845 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.612e-05/0.3006, allocations: 3.938 kB / 0.845 GB, free: 0.6406 MB / 0.6544 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.003134/0.3037, allocations: 2.088 MB / 0.8471 GB, free: 14.48 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.3038, allocations: 8.031 kB / 0.8471 GB, free: 14.48 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009338/0.3047, allocations: 309.3 kB / 0.8474 GB, free: 14.17 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/0.3071, allocations: 1.575 MB / 0.8489 GB, free: 12.55 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.675e-05/0.3072, allocations: 78 kB / 0.849 GB, free: 12.47 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.3074, allocations: 108 kB / 0.8491 GB, free: 12.37 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.3093, allocations: 1.333 MB / 0.8504 GB, free: 10.96 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.3094, allocations: 0 / 0.8504 GB, free: 10.96 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.3095, allocations: 44 kB / 0.8504 GB, free: 10.92 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.3095, allocations: 24 kB / 0.8504 GB, free: 10.9 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.3113, allocations: 1.054 MB / 0.8515 GB, free: 9.844 MB / 0.67 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.00698/0.3183, allocations: 6.992 MB / 0.8583 GB, free: 2.352 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.3196, allocations: 0.6745 MB / 0.859 GB, free: 1.668 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006887/0.3203, allocations: 434.4 kB / 0.8594 GB, free: 1.242 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002456/0.3228, allocations: 1.834 MB / 0.8612 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007393/0.3235, allocations: 416.8 kB / 0.8616 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004295/0.324, allocations: 103.3 kB / 0.8617 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=46): time 2.215e-06/0.324, allocations: 0 / 0.8617 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46): time 0.003614/0.3276, allocations: 1.543 MB / 0.8632 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.3277, allocations: 59.41 kB / 0.8632 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/0.3298, allocations: 1.843 MB / 0.865 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.323e-05/0.3298, allocations: 41.7 kB / 0.8651 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006515/0.3305, allocations: 0.8502 MB / 0.8659 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.3306, allocations: 165.7 kB / 0.866 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.3307, allocations: 16 kB / 0.8661 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3308, allocations: 342 kB / 0.8664 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000641/0.3315, allocations: 313.8 kB / 0.8667 GB, free: 9.484 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000904/0.3324, allocations: 0.78 MB / 0.8674 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007488/0.3332, allocations: 454.3 kB / 0.8679 GB, free: 8.047 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.3332, allocations: 7.953 kB / 0.8679 GB, free: 8.039 MB / 0.6856 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002605/0.3358, allocations: 1.336 MB / 0.8692 GB, free: 6.688 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.000266/0.3361, allocations: 427.9 kB / 0.8696 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.3361, allocations: 11.98 kB / 0.8696 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008015/0.3369, allocations: 228.5 kB / 0.8698 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006353/0.3375, allocations: 187.7 kB / 0.87 GB, free: 5.699 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007461/0.3383, allocations: 0.8332 MB / 0.8708 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.3395, allocations: 128.4 kB / 0.8709 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.062e-05/0.3396, allocations: 43.98 kB / 0.871 GB, free: 4.672 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.3396, allocations: 4 kB / 0.871 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001699/0.3413, allocations: 1.031 MB / 0.872 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.3414, allocations: 12 kB / 0.872 GB, free: 3.613 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003564/0.3417, allocations: 162.1 kB / 0.8722 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.3422, allocations: 167.7 kB / 0.8723 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.3446, allocations: 2.357 MB / 0.8746 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.3457, allocations: 116.5 kB / 0.8747 GB, free: 0.6914 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-05/0.3458, allocations: 44 kB / 0.8748 GB, free: 0.6484 MB / 0.6856 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.0008888/0.3466, allocations: 0.5864 MB / 0.8753 GB, free: 52 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.3469, allocations: 170 kB / 0.8755 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/0.3489, allocations: 1.066 MB / 0.8766 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.3489, allocations: 4 kB / 0.8766 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3489, allocations: 3.953 kB / 0.8766 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001523/0.3504, allocations: 1.027 MB / 0.8776 GB, free: 13.7 MB / 0.7012 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.0034/0.3538, allocations: 2.316 MB / 0.8798 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.3538, allocations: 0 / 0.8798 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/0.3543, allocations: 95.92 kB / 0.8799 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003132/0.3546, allocations: 152.8 kB / 0.8801 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.3547, allocations: 19.98 kB / 0.8801 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005965/0.3553, allocations: 0.8015 MB / 0.8809 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3553, allocations: 0 / 0.8809 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.3577, allocations: 1.479 MB / 0.8823 GB, free: 8.699 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005516/0.3583, allocations: 346.8 kB / 0.8826 GB, free: 8.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.3584, allocations: 12 kB / 0.8827 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007968/0.3592, allocations: 99.73 kB / 0.8827 GB, free: 8.23 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/0.3593, allocations: 44.38 kB / 0.8828 GB, free: 8.188 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/0.3594, allocations: 27.92 kB / 0.8828 GB, free: 8.16 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001617/0.361, allocations: 1.27 MB / 0.8841 GB, free: 6.867 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.61e-07/0.361, allocations: 0 / 0.8841 GB, free: 6.867 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002225/0.3633, allocations: 0.854 MB / 0.8849 GB, free: 6.012 MB / 0.7012 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.0007288/0.364, allocations: 363.3 kB / 0.8852 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002643/0.3666, allocations: 1.524 MB / 0.8867 GB, free: 4.102 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3667, allocations: 4 kB / 0.8867 GB, free: 4.098 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007228/0.3674, allocations: 374.7 kB / 0.8871 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/0.3705, allocations: 0.8398 MB / 0.8879 GB, free: 2.887 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004475/0.375, allocations: 3.455 MB / 0.8913 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.376, allocations: 1.499 MB / 0.8927 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001329/0.3774, allocations: 430 kB / 0.8932 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.3776, allocations: 131.4 kB / 0.8933 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of SimCode: time 3.9e-07/0.3776, allocations: 0 / 0.8933 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of Templates: time 0.4313/0.809, allocations: 32.11 MB / 0.9246 GB, free: 130.2 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example3.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) Environment - environmentSimulation: