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.0007575/0.0007575, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005188/0.005189, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.672/1.672, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004863/0.0004863, allocations: 12.81 kB / 0.6743 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2085, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03638/0.2449, allocations: 31.87 MB / 0.819 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02024/0.2652, allocations: 13.35 MB / 0.832 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002011/0.2672, allocations: 47.69 kB / 0.8321 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002475/0.2697, allocations: 0.6337 MB / 0.8327 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004513/0.2743, allocations: 1.446 MB / 0.8341 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003502/0.2778, allocations: 1.249 MB / 0.8353 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007063/0.2849, allocations: 6.418 MB / 0.8416 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00295/0.2879, allocations: 1.729 MB / 0.8433 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00352/0.2914, allocations: 1.602 MB / 0.8448 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002535/0.294, allocations: 1.33 MB / 0.8461 GB, free: 15.69 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004789/0.2945, allocations: 64 kB / 0.8462 GB, free: 15.63 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/0.2974, allocations: 1.088 MB / 0.8473 GB, free: 14.54 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008032/0.2982, allocations: 378.2 kB / 0.8476 GB, free: 14.17 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002291/0.3005, allocations: 0.9263 MB / 0.8485 GB, free: 13.23 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005133/0.3056, allocations: 2.788 MB / 0.8513 GB, free: 10.44 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.3057, allocations: 0 / 0.8513 GB, free: 10.44 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.455e-06/0.3057, allocations: 0 / 0.8513 GB, free: 10.44 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001165/0.3058, allocations: 0 / 0.8513 GB, free: 10.44 MB / 0.67 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.00444/0.3103, allocations: 2.046 MB / 0.8533 GB, free: 8.324 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3103, allocations: 11.97 kB / 0.8533 GB, free: 8.312 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/0.3117, allocations: 306.3 kB / 0.8536 GB, free: 8.012 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003271/0.315, allocations: 1.644 MB / 0.8552 GB, free: 6.32 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.737e-05/0.3151, allocations: 78 kB / 0.8552 GB, free: 6.242 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.3153, allocations: 111.9 kB / 0.8553 GB, free: 6.133 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/0.3175, allocations: 1.293 MB / 0.8566 GB, free: 4.77 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.3175, allocations: 7.938 kB / 0.8566 GB, free: 4.762 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.797e-05/0.3176, allocations: 40 kB / 0.8567 GB, free: 4.723 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.3176, allocations: 27.94 kB / 0.8567 GB, free: 4.695 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.3194, allocations: 0.9913 MB / 0.8576 GB, free: 3.703 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.007292/0.3267, allocations: 6.773 MB / 0.8643 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.3279, allocations: 0.5979 MB / 0.8648 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000658/0.3285, allocations: 402.5 kB / 0.8652 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002451/0.331, allocations: 1.698 MB / 0.8669 GB, free: 9.598 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000722/0.3317, allocations: 376.8 kB / 0.8672 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004858/0.3322, allocations: 103.3 kB / 0.8673 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=46): time 2.094e-06/0.3323, allocations: 3.938 kB / 0.8674 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46): time 0.003243/0.3355, allocations: 1.317 MB / 0.8686 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.3356, allocations: 59.41 kB / 0.8687 GB, free: 7.695 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/0.3377, allocations: 1.776 MB / 0.8704 GB, free: 5.875 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.564e-05/0.3378, allocations: 41.7 kB / 0.8705 GB, free: 5.828 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006795/0.3385, allocations: 0.8383 MB / 0.8713 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.3386, allocations: 169.7 kB / 0.8714 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.3388, allocations: 81.67 kB / 0.8715 GB, free: 4.727 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3389, allocations: 337.9 kB / 0.8718 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006125/0.3395, allocations: 309.8 kB / 0.8721 GB, free: 4.09 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008556/0.3404, allocations: 0.744 MB / 0.8729 GB, free: 3.145 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.3418, allocations: 0.9876 MB / 0.8738 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.3419, allocations: 8 kB / 0.8738 GB, free: 2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002543/0.3444, allocations: 1.308 MB / 0.8751 GB, free: 0.6719 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002902/0.3447, allocations: 427.5 kB / 0.8755 GB, free: 108 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.3447, allocations: 8 kB / 0.8755 GB, free: 100 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007361/0.3455, allocations: 192.6 kB / 0.8757 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006187/0.3461, allocations: 167.7 kB / 0.8759 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006557/0.3468, allocations: 0.7592 MB / 0.8766 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.3479, allocations: 96.48 kB / 0.8767 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.512e-05/0.348, allocations: 47.98 kB / 0.8768 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.348, allocations: 4 kB / 0.8768 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001886/0.3499, allocations: 1.093 MB / 0.8778 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/0.35, allocations: 12 kB / 0.8778 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000224/0.3502, allocations: 113.4 kB / 0.8779 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/0.3508, allocations: 171.7 kB / 0.8781 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.3531, allocations: 2.126 MB / 0.8802 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.3544, allocations: 88.58 kB / 0.8803 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.204e-05/0.3545, allocations: 39.98 kB / 0.8803 GB, free: 11.01 MB / 0.7012 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (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 {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001049/0.3555, allocations: 0.5942 MB / 0.8809 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003836/0.3559, allocations: 173.8 kB / 0.8811 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/0.3582, allocations: 0.9921 MB / 0.882 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.3582, allocations: 4 kB / 0.882 GB, free: 9.223 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3583, allocations: 4 kB / 0.882 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001501/0.3598, allocations: 0.9489 MB / 0.883 GB, free: 8.199 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.004237/0.364, allocations: 2.16 MB / 0.8851 GB, free: 5.953 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.364, allocations: 11.98 kB / 0.8851 GB, free: 5.941 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004139/0.3644, allocations: 75.94 kB / 0.8852 GB, free: 5.867 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002851/0.3647, allocations: 136.8 kB / 0.8853 GB, free: 5.73 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.566e-05/0.3648, allocations: 19.92 kB / 0.8853 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006103/0.3654, allocations: 0.7278 MB / 0.886 GB, free: 4.961 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3654, allocations: 4.031 kB / 0.886 GB, free: 4.957 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002426/0.3679, allocations: 1.37 MB / 0.8874 GB, free: 3.555 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007485/0.3686, allocations: 318.8 kB / 0.8877 GB, free: 3.223 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003043/0.3689, allocations: 8 kB / 0.8877 GB, free: 3.215 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009203/0.3699, allocations: 83.89 kB / 0.8877 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.37, allocations: 36.33 kB / 0.8878 GB, free: 3.098 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.763e-05/0.3701, allocations: 23.98 kB / 0.8878 GB, free: 3.074 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002004/0.3721, allocations: 1.231 MB / 0.889 GB, free: 1.82 MB / 0.7012 GB Notification: Performance of sort global known variables: time 4.31e-07/0.3721, allocations: 3.938 kB / 0.889 GB, free: 1.816 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002586/0.3747, allocations: 0.7838 MB / 0.8898 GB, free: 1.031 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 (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 {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009766/0.3757, allocations: 372.6 kB / 0.8901 GB, free: 0.6641 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002888/0.3786, allocations: 1.473 MB / 0.8916 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3786, allocations: 0 / 0.8916 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007252/0.3793, allocations: 347.6 kB / 0.8919 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003976/0.3833, allocations: 0.7392 MB / 0.8926 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005795/0.3891, allocations: 3.492 MB / 0.896 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/0.3907, allocations: 1.495 MB / 0.8975 GB, free: 9.023 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001729/0.3924, allocations: 446 kB / 0.8979 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003167/0.3928, allocations: 131.3 kB / 0.898 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of SimCode: time 1.132e-06/0.3928, allocations: 0 / 0.898 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of Templates: time 0.4339/0.8266, allocations: 30.2 MB / 0.9275 GB, free: 128.8 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: