Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00115/0.00115, allocations: 189.6 kB / 16.25 MB, free: 6.621 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.422/1.422, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.685/1.685, allocations: 292.2 MB / 0.5485 GB, free: 13.7 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.001368/0.001368, allocations: 62.97 kB / 0.671 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2352, allocations: 114.6 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02618/0.2614, allocations: 29.5 MB / 0.8117 GB, free: 336 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01579/0.2772, allocations: 12.5 MB / 0.8239 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.2788, allocations: 43.75 kB / 0.8239 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001868/0.2808, allocations: 0.6143 MB / 0.8245 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003661/0.2844, allocations: 1.341 MB / 0.8258 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003349/0.2878, allocations: 1.268 MB / 0.827 GB, free: 0.5391 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004361/0.2922, allocations: 3.827 MB / 0.8308 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/0.294, allocations: 1.361 MB / 0.8321 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003029/0.297, allocations: 1.505 MB / 0.8336 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.2984, allocations: 1.089 MB / 0.8346 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.2986, allocations: 120 kB / 0.8348 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/0.3007, allocations: 1.123 MB / 0.8359 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000365/0.3011, allocations: 406.6 kB / 0.8362 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007859/0.3019, allocations: 0.7812 MB / 0.837 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002834/0.3047, allocations: 2.43 MB / 0.8394 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3047, allocations: 4 kB / 0.8394 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3047, allocations: 0 / 0.8394 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.389e-05/0.3048, allocations: 0 / 0.8394 GB, free: 3.828 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002876/0.3077, allocations: 1.938 MB / 0.8413 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.3077, allocations: 12.03 kB / 0.8413 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.3088, allocations: 254.8 kB / 0.8415 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/0.3109, allocations: 1.312 MB / 0.8428 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.334e-05/0.311, allocations: 65.98 kB / 0.8429 GB, free: 144 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.3111, allocations: 84 kB / 0.843 GB, free: 60 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.3127, allocations: 0.9802 MB / 0.8439 GB, free: 15.02 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.3128, allocations: 4 kB / 0.8439 GB, free: 15.02 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.647e-05/0.3128, allocations: 32 kB / 0.844 GB, free: 14.99 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.3129, allocations: 20 kB / 0.844 GB, free: 14.97 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.3142, allocations: 0.7141 MB / 0.8447 GB, free: 14.26 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.005395/0.3196, allocations: 4.941 MB / 0.8495 GB, free: 8.961 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.3208, allocations: 0.5688 MB / 0.85 GB, free: 8.387 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006481/0.3215, allocations: 320.4 kB / 0.8504 GB, free: 8.074 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002785/0.3243, allocations: 1.572 MB / 0.8519 GB, free: 6.352 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007386/0.325, allocations: 339 kB / 0.8522 GB, free: 6.008 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005625/0.3256, allocations: 75.48 kB / 0.8523 GB, free: 5.934 MB / 0.67 GB Notification: Performance of pre-optimization done (n=44): time 2.384e-06/0.3256, allocations: 0 / 0.8523 GB, free: 5.934 MB / 0.67 GB Notification: Performance of matching and sorting (n=44): time 0.003297/0.3289, allocations: 1.165 MB / 0.8534 GB, free: 4.738 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/0.329, allocations: 63.41 kB / 0.8535 GB, free: 4.664 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.3308, allocations: 1.258 MB / 0.8547 GB, free: 3.391 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.082e-05/0.3309, allocations: 41.69 kB / 0.8548 GB, free: 3.344 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005182/0.3314, allocations: 0.6449 MB / 0.8554 GB, free: 2.691 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.3315, allocations: 153.8 kB / 0.8555 GB, free: 2.539 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.3318, allocations: 158.5 kB / 0.8557 GB, free: 2.379 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3319, allocations: 333.9 kB / 0.856 GB, free: 2.047 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005343/0.3324, allocations: 276.7 kB / 0.8563 GB, free: 1.773 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007395/0.3332, allocations: 0.584 MB / 0.8568 GB, free: 1.043 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.3344, allocations: 0.8214 MB / 0.8576 GB, free: 112 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.3344, allocations: 0 / 0.8576 GB, free: 112 kB / 0.67 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002204/0.3367, allocations: 1.109 MB / 0.8587 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.5e-05/0.3367, allocations: 36.2 kB / 0.8588 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.3367, allocations: 8 kB / 0.8588 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006386/0.3374, allocations: 189.1 kB / 0.8589 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005441/0.3379, allocations: 135.8 kB / 0.8591 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007127/0.3387, allocations: 0.7823 MB / 0.8598 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008637/0.3395, allocations: 64.67 kB / 0.8599 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.034e-05/0.3396, allocations: 35.98 kB / 0.8599 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009132/0.3406, allocations: 0.5565 MB / 0.8605 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006389/0.3412, allocations: 0.5566 MB / 0.861 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001004/0.3422, allocations: 0.7512 MB / 0.8617 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.909e-06/0.3422, allocations: 4 kB / 0.8618 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001684/0.3439, allocations: 1.061 MB / 0.8628 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.344, allocations: 33.7 kB / 0.8628 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.344, allocations: 8 kB / 0.8628 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/0.3442, allocations: 113.2 kB / 0.8629 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.3447, allocations: 131.8 kB / 0.8631 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.3468, allocations: 2.403 MB / 0.8654 GB, free: 7.621 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008614/0.3476, allocations: 72.61 kB / 0.8655 GB, free: 7.551 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/0.3477, allocations: 36 kB / 0.8655 GB, free: 7.516 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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.0002705/0.348, allocations: 235.9 kB / 0.8657 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.3482, allocations: 134.3 kB / 0.8659 GB, free: 7.145 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00191/0.3501, allocations: 0.8768 MB / 0.8667 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.3501, allocations: 8 kB / 0.8667 GB, free: 6.25 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3501, allocations: 4.047 kB / 0.8667 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001423/0.3516, allocations: 0.8803 MB / 0.8676 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003641/0.3552, allocations: 1.783 MB / 0.8693 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.3552, allocations: 0 / 0.8693 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/0.3557, allocations: 83.94 kB / 0.8694 GB, free: 3.355 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003064/0.356, allocations: 132.6 kB / 0.8695 GB, free: 3.223 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.3561, allocations: 15.98 kB / 0.8696 GB, free: 3.207 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006388/0.3567, allocations: 0.7473 MB / 0.8703 GB, free: 2.434 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3567, allocations: 0 / 0.8703 GB, free: 2.434 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/0.359, allocations: 1.175 MB / 0.8714 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005044/0.3595, allocations: 255.5 kB / 0.8717 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.3597, allocations: 15.98 kB / 0.8717 GB, free: 0.9492 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006096/0.3603, allocations: 59.8 kB / 0.8717 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.3604, allocations: 36.38 kB / 0.8718 GB, free: 0.8555 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.366e-05/0.3605, allocations: 23.98 kB / 0.8718 GB, free: 0.832 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001108/0.3616, allocations: 0.8699 MB / 0.8727 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3616, allocations: 0 / 0.8727 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001773/0.3634, allocations: 0.6433 MB / 0.8733 GB, free: 15.31 MB / 0.7012 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 (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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008652/0.3642, allocations: 371.4 kB / 0.8736 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002775/0.367, allocations: 1.383 MB / 0.875 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.367, allocations: 4.062 kB / 0.875 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007119/0.3678, allocations: 322.3 kB / 0.8753 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/0.3702, allocations: 0.6171 MB / 0.8759 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003797/0.374, allocations: 2.688 MB / 0.8785 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007811/0.3748, allocations: 1.275 MB / 0.8798 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001209/0.3761, allocations: 314.4 kB / 0.8801 GB, free: 8.27 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.3763, allocations: 103.4 kB / 0.8802 GB, free: 8.168 MB / 0.7012 GB Notification: Performance of SimCode: time 7.91e-07/0.3763, allocations: 3.938 kB / 0.8802 GB, free: 8.164 MB / 0.7012 GB Notification: Performance of Templates: time 0.04048/0.4168, allocations: 25.44 MB / 0.905 GB, free: 15.07 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)