Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.288/2.288, allocations: 251.2 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0018/0.0018, allocations: 180.4 kB / 325.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.373/2.373, allocations: 205.4 MB / 0.5767 GB, free: 20.71 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001251/0.001251, allocations: 82.36 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004557, allocations: 12.47 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2028, allocations: 106.3 MB / 0.899 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03189/0.2347, allocations: 26.95 MB / 0.9253 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01144/0.2462, allocations: 6.318 MB / 0.9315 GB, free: 32.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.2477, allocations: 43.62 kB / 0.9316 GB, free: 32.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001811/0.2495, allocations: 0.5636 MB / 0.9321 GB, free: 31.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004137/0.2537, allocations: 1.168 MB / 0.9332 GB, free: 30.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003689/0.2574, allocations: 0.9458 MB / 0.9342 GB, free: 29.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004081/0.2615, allocations: 2.777 MB / 0.9369 GB, free: 26.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.2629, allocations: 0.6663 MB / 0.9375 GB, free: 25.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002229/0.2651, allocations: 0.9062 MB / 0.9384 GB, free: 24.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.2666, allocations: 0.7547 MB / 0.9392 GB, free: 24.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.2668, allocations: 36 kB / 0.9392 GB, free: 24.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.2687, allocations: 0.4989 MB / 0.9397 GB, free: 23.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003107/0.2691, allocations: 239 kB / 0.9399 GB, free: 23.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003709/0.2694, allocations: 233 kB / 0.9401 GB, free: 23.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.2711, allocations: 1.033 MB / 0.9411 GB, free: 22.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.2712, allocations: 3.984 kB / 0.9411 GB, free: 22.17 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2712, allocations: 0 / 0.9411 GB, free: 22.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.2712, allocations: 0 / 0.9411 GB, free: 22.17 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003253/0.2745, allocations: 1.391 MB / 0.9425 GB, free: 20.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2745, allocations: 8.031 kB / 0.9425 GB, free: 20.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005799/0.2803, allocations: 0.6353 MB / 0.9431 GB, free: 20.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.2822, allocations: 0.7677 MB / 0.9439 GB, free: 19.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/0.2823, allocations: 58.38 kB / 0.9439 GB, free: 19.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/0.2825, allocations: 75.94 kB / 0.944 GB, free: 19.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003664/0.2861, allocations: 1.111 MB / 0.9451 GB, free: 17.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.2862, allocations: 0 / 0.9451 GB, free: 17.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.2863, allocations: 28 kB / 0.9451 GB, free: 17.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.2863, allocations: 20 kB / 0.9451 GB, free: 17.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005062/0.2914, allocations: 1.016 MB / 0.9461 GB, free: 16.88 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.007333/0.2988, allocations: 4.986 MB / 0.951 GB, free: 11.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004933/0.3037, allocations: 0.9623 MB / 0.9519 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002474/0.3062, allocations: 494.2 kB / 0.9524 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001529/0.3078, allocations: 1.6 MB / 0.954 GB, free: 8.191 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002677/0.3105, allocations: 0.5885 MB / 0.9545 GB, free: 7.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 3.908e-06/0.3105, allocations: 0 / 0.9545 GB, free: 7.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.007795/0.3183, allocations: 1.512 MB / 0.956 GB, free: 6.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.3184, allocations: 67.97 kB / 0.9561 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.3201, allocations: 1.121 MB / 0.9572 GB, free: 4.859 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.3202, allocations: 37.7 kB / 0.9572 GB, free: 4.816 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004867/0.3207, allocations: 0.5589 MB / 0.9578 GB, free: 4.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.3209, allocations: 197.2 kB / 0.958 GB, free: 4.055 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.321, allocations: 20 kB / 0.958 GB, free: 4.035 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.204e-05/0.3211, allocations: 337.9 kB / 0.9583 GB, free: 3.699 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002477/0.3236, allocations: 457.6 kB / 0.9587 GB, free: 3.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002657/0.3263, allocations: 0.7436 MB / 0.9595 GB, free: 2.379 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002518/0.3288, allocations: 0.4939 MB / 0.9599 GB, free: 1.887 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.3288, allocations: 0 / 0.9599 GB, free: 1.887 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.005807/0.3347, allocations: 1.29 MB / 0.9612 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.3347, allocations: 11.98 kB / 0.9612 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.3348, allocations: 8 kB / 0.9612 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.454e-05/0.3348, allocations: 12 kB / 0.9612 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/0.337, allocations: 283.8 kB / 0.9615 GB, free: 284 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.322e-05/0.3371, allocations: 15.94 kB / 0.9615 GB, free: 268 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/0.3392, allocations: 210.9 kB / 0.9617 GB, free: 56 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.3394, allocations: 43.98 kB / 0.9618 GB, free: 12 kB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007396/0.3401, allocations: 295.8 kB / 0.962 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002462/0.3404, allocations: 122.4 kB / 0.9622 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006629/0.347, allocations: 1.382 MB / 0.9635 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-05/0.3471, allocations: 12 kB / 0.9635 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.3471, allocations: 3.984 kB / 0.9635 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.3471, allocations: 0 / 0.9635 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00842/0.3556, allocations: 2.393 MB / 0.9659 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.3556, allocations: 0 / 0.9659 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001905/0.3575, allocations: 199.9 kB / 0.9661 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/0.3576, allocations: 4 kB / 0.9661 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.702e-05/0.3577, allocations: 27.91 kB / 0.9661 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.679e-06/0.3577, allocations: 4 kB / 0.9661 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.3577, allocations: 4 kB / 0.9661 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009102/0.3668, allocations: 2.004 MB / 0.968 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000717/0.3676, allocations: 295.2 kB / 0.9683 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/0.3678, allocations: 12 kB / 0.9683 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/0.3696, allocations: 127.9 kB / 0.9685 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.3698, allocations: 52.44 kB / 0.9685 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.3699, allocations: 35.97 kB / 0.9685 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001516/0.3714, allocations: 0.7642 MB / 0.9693 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.71e-07/0.3715, allocations: 0 / 0.9693 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001505/0.373, allocations: 339.6 kB / 0.9696 GB, free: 7.805 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001933/0.3749, allocations: 0.6544 MB / 0.9703 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.005834/0.3808, allocations: 1.13 MB / 0.9714 GB, free: 6.191 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3808, allocations: 0 / 0.9714 GB, free: 6.191 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002912/0.3837, allocations: 0.5814 MB / 0.9719 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/0.3874, allocations: 451.1 kB / 0.9724 GB, free: 5.164 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008038/0.3955, allocations: 2.71 MB / 0.975 GB, free: 2.414 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008628/0.3964, allocations: 1.108 MB / 0.9761 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00175/0.3981, allocations: 252.8 kB / 0.9763 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005184/0.3987, allocations: 111.3 kB / 0.9764 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of SimCode: time 1.253e-06/0.3987, allocations: 0 / 0.9764 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of Templates: time 0.05303/0.4517, allocations: 18.9 MB / 0.9949 GB, free: 14.21 MB / 0.6511 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)