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.001398/0.001398, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 197.6 kB / 16.54 MB, free: 6.672 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.37/1.37, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.642/1.642, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001415/0.001415, allocations: 65.77 kB / 0.6715 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.254, allocations: 114.6 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03683/0.2909, allocations: 32.85 MB / 0.8154 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02064/0.3115, allocations: 13.07 MB / 0.8282 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/0.3139, allocations: 47.75 kB / 0.8283 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002791/0.3167, allocations: 0.7224 MB / 0.829 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005166/0.3219, allocations: 1.556 MB / 0.8305 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004327/0.3263, allocations: 1.405 MB / 0.8318 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008378/0.3347, allocations: 4.834 MB / 0.8366 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003926/0.3386, allocations: 2.07 MB / 0.8386 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004761/0.3434, allocations: 1.89 MB / 0.8404 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002688/0.3461, allocations: 1.361 MB / 0.8418 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006783/0.3468, allocations: 143.9 kB / 0.8419 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003502/0.3503, allocations: 1.158 MB / 0.843 GB, free: 180 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009212/0.3513, allocations: 470.2 kB / 0.8435 GB, free: 15.71 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002244/0.3535, allocations: 1.01 MB / 0.8445 GB, free: 14.7 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004986/0.3585, allocations: 2.894 MB / 0.8473 GB, free: 11.8 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3586, allocations: 0 / 0.8473 GB, free: 11.8 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3586, allocations: 0 / 0.8473 GB, free: 11.8 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001135/0.3587, allocations: 0 / 0.8473 GB, free: 11.8 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.005475/0.3642, allocations: 2.384 MB / 0.8496 GB, free: 9.344 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3643, allocations: 12.03 kB / 0.8496 GB, free: 9.332 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/0.3658, allocations: 302.2 kB / 0.8499 GB, free: 9.035 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003634/0.3695, allocations: 1.593 MB / 0.8515 GB, free: 7.395 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.374e-05/0.3696, allocations: 78 kB / 0.8516 GB, free: 7.316 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/0.3699, allocations: 104 kB / 0.8517 GB, free: 7.215 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00269/0.3726, allocations: 1.287 MB / 0.8529 GB, free: 5.852 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/0.3726, allocations: 3.938 kB / 0.8529 GB, free: 5.848 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.3728, allocations: 47.98 kB / 0.853 GB, free: 5.801 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.3728, allocations: 24 kB / 0.853 GB, free: 5.777 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.3749, allocations: 0.9717 MB / 0.8539 GB, free: 4.805 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.008341/0.3832, allocations: 6.537 MB / 0.8603 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.3846, allocations: 0.578 MB / 0.8609 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006791/0.3853, allocations: 390.8 kB / 0.8613 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002841/0.3881, allocations: 1.692 MB / 0.8629 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008034/0.3889, allocations: 363.6 kB / 0.8632 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006216/0.3896, allocations: 75.41 kB / 0.8633 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=45): time 4.028e-06/0.3896, allocations: 3.938 kB / 0.8633 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45): time 0.003714/0.3933, allocations: 1.308 MB / 0.8646 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.3934, allocations: 63.33 kB / 0.8647 GB, free: 9.191 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003454/0.3968, allocations: 1.788 MB / 0.8664 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.212e-05/0.397, allocations: 37.7 kB / 0.8664 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000977/0.3979, allocations: 0.8615 MB / 0.8673 GB, free: 6.445 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.3981, allocations: 145.9 kB / 0.8674 GB, free: 6.301 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000395/0.3985, allocations: 194.4 kB / 0.8676 GB, free: 6.102 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3987, allocations: 334 kB / 0.8679 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007/0.3994, allocations: 328.4 kB / 0.8682 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.4006, allocations: 0.744 MB / 0.869 GB, free: 4.496 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.4022, allocations: 0.9837 MB / 0.8699 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.4022, allocations: 4 kB / 0.8699 GB, free: 3.359 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003208/0.4055, allocations: 1.312 MB / 0.8712 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.057e-05/0.4055, allocations: 33.7 kB / 0.8712 GB, free: 1.988 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/0.4056, allocations: 12 kB / 0.8713 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008033/0.4064, allocations: 184.9 kB / 0.8714 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006915/0.4071, allocations: 171.7 kB / 0.8716 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008623/0.408, allocations: 0.7591 MB / 0.8723 GB, free: 0.8398 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.4093, allocations: 56.59 kB / 0.8724 GB, free: 0.7812 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.4094, allocations: 47.98 kB / 0.8724 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001836/0.4113, allocations: 0.7047 MB / 0.8731 GB, free: 28 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001039/0.4123, allocations: 0.7089 MB / 0.8738 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001476/0.4138, allocations: 0.9288 MB / 0.8747 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.353e-05/0.4138, allocations: 8 kB / 0.8747 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002887/0.4167, allocations: 1.261 MB / 0.876 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 6.109e-05/0.4168, allocations: 37.7 kB / 0.876 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/0.4168, allocations: 8 kB / 0.876 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002831/0.4171, allocations: 125.1 kB / 0.8761 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/0.4178, allocations: 171.7 kB / 0.8763 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003356/0.4211, allocations: 2.317 MB / 0.8786 GB, free: 9.938 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.4225, allocations: 56.64 kB / 0.8786 GB, free: 9.883 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.4226, allocations: 43.98 kB / 0.8787 GB, free: 9.84 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 (84): * Single equations (assignments): 81 * 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.0004512/0.4231, allocations: 243.9 kB / 0.8789 GB, free: 9.594 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005978/0.4237, allocations: 173.8 kB / 0.8791 GB, free: 9.422 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/0.4264, allocations: 0.9977 MB / 0.88 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.4264, allocations: 4 kB / 0.88 GB, free: 8.406 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4264, allocations: 7.938 kB / 0.88 GB, free: 8.398 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001677/0.4281, allocations: 0.9467 MB / 0.881 GB, free: 7.383 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004532/0.4327, allocations: 2.097 MB / 0.883 GB, free: 5.207 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.4327, allocations: 0 / 0.883 GB, free: 5.207 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004463/0.4332, allocations: 87.86 kB / 0.8831 GB, free: 5.121 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003039/0.4335, allocations: 128.3 kB / 0.8832 GB, free: 4.996 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.449e-05/0.4335, allocations: 27.98 kB / 0.8832 GB, free: 4.969 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005844/0.4341, allocations: 0.728 MB / 0.884 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4342, allocations: 0 / 0.884 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/0.4368, allocations: 1.348 MB / 0.8853 GB, free: 2.836 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007119/0.4375, allocations: 298.8 kB / 0.8856 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000389/0.4379, allocations: 8 kB / 0.8856 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008296/0.4388, allocations: 31.91 kB / 0.8856 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.4389, allocations: 44.31 kB / 0.8856 GB, free: 2.441 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-05/0.439, allocations: 23.98 kB / 0.8857 GB, free: 2.418 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002211/0.4412, allocations: 1.242 MB / 0.8869 GB, free: 1.152 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.1e-07/0.4412, allocations: 0 / 0.8869 GB, free: 1.152 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002672/0.4439, allocations: 0.7798 MB / 0.8876 GB, free: 380 kB / 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 (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 {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001059/0.445, allocations: 384.3 kB / 0.888 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003127/0.4481, allocations: 1.52 MB / 0.8895 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.4481, allocations: 0 / 0.8895 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007259/0.4488, allocations: 338.1 kB / 0.8898 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003858/0.4527, allocations: 0.7758 MB / 0.8906 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005207/0.4579, allocations: 2.931 MB / 0.8934 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/0.4592, allocations: 1.491 MB / 0.8949 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001755/0.461, allocations: 454 kB / 0.8953 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/0.4613, allocations: 127.4 kB / 0.8954 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of SimCode: time 1.032e-06/0.4614, allocations: 0 / 0.8954 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of Templates: time 0.4782/0.9395, allocations: 31.56 MB / 0.9263 GB, free: 122.1 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example3.makefile (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)