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 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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.529/2.529, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.002301/0.002301, allocations: 173.4 kB / 325.6 MB, free: 2.82 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.47/2.47, allocations: 205.4 MB / 0.5766 GB, free: 20.73 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.00119/0.00119, allocations: 102.8 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006269/0.0006275, allocations: 15.05 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2188, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.04311/0.262, allocations: 24.59 MB / 0.9229 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02029/0.2823, allocations: 5.808 MB / 0.9286 GB, free: 34.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002199/0.2846, allocations: 43.62 kB / 0.9286 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003764/0.2884, allocations: 0.6419 MB / 0.9292 GB, free: 34.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007432/0.2959, allocations: 1.18 MB / 0.9304 GB, free: 33.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.007911/0.3039, allocations: 1.238 MB / 0.9316 GB, free: 31.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005139/0.3091, allocations: 1.56 MB / 0.9331 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002386/0.3115, allocations: 0.6664 MB / 0.9338 GB, free: 29.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003823/0.3154, allocations: 0.8447 MB / 0.9346 GB, free: 28.81 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/0.3175, allocations: 0.5679 MB / 0.9351 GB, free: 28.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004048/0.318, allocations: 36 kB / 0.9352 GB, free: 28.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003737/0.3217, allocations: 0.5305 MB / 0.9357 GB, free: 27.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007955/0.3226, allocations: 235.1 kB / 0.9359 GB, free: 27.44 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007403/0.3234, allocations: 225.1 kB / 0.9361 GB, free: 27.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0037/0.3271, allocations: 1.033 MB / 0.9371 GB, free: 26.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3272, allocations: 0 / 0.9371 GB, free: 26.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.967e-06/0.3272, allocations: 0 / 0.9371 GB, free: 26.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.831e-05/0.3273, allocations: 0 / 0.9371 GB, free: 26.18 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.005605/0.333, allocations: 1.387 MB / 0.9385 GB, free: 24.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.3331, allocations: 12.03 kB / 0.9385 GB, free: 24.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009257/0.3423, allocations: 0.6344 MB / 0.9391 GB, free: 24.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003072/0.3455, allocations: 0.7703 MB / 0.9399 GB, free: 23.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.3457, allocations: 65.92 kB / 0.9399 GB, free: 23.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003237/0.346, allocations: 76 kB / 0.94 GB, free: 23.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006028/0.3521, allocations: 1.092 MB / 0.9411 GB, free: 21.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.396e-05/0.3522, allocations: 7.938 kB / 0.9411 GB, free: 21.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/0.3524, allocations: 28 kB / 0.9411 GB, free: 21.92 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.3524, allocations: 23.95 kB / 0.9411 GB, free: 21.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00826/0.3607, allocations: 1.02 MB / 0.9421 GB, free: 20.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.00856/0.3693, allocations: 4.975 MB / 0.947 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005154/0.3745, allocations: 0.9466 MB / 0.9479 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001577/0.3761, allocations: 1.603 MB / 0.9495 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002821/0.379, allocations: 0.5846 MB / 0.9501 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 4.909e-06/0.3791, allocations: 0 / 0.9501 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.008034/0.3871, allocations: 1.512 MB / 0.9515 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.3872, allocations: 59.97 kB / 0.9516 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.3889, allocations: 1.121 MB / 0.9527 GB, free: 9.379 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001783/0.3891, allocations: 45.62 kB / 0.9527 GB, free: 9.328 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004764/0.3896, allocations: 0.5512 MB / 0.9533 GB, free: 8.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/0.3899, allocations: 205.2 kB / 0.9535 GB, free: 8.566 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.62e-05/0.39, allocations: 16 kB / 0.9535 GB, free: 8.551 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.389e-05/0.3901, allocations: 337.9 kB / 0.9538 GB, free: 8.215 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002581/0.3927, allocations: 461.6 kB / 0.9542 GB, free: 7.762 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00285/0.3956, allocations: 0.7436 MB / 0.955 GB, free: 6.891 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002613/0.3982, allocations: 493.8 kB / 0.9554 GB, free: 6.414 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.3983, allocations: 4 kB / 0.9554 GB, free: 6.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.006003/0.4043, allocations: 1.294 MB / 0.9567 GB, free: 5.105 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.4044, allocations: 8 kB / 0.9567 GB, free: 5.098 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.4044, allocations: 8 kB / 0.9567 GB, free: 5.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.883e-05/0.4045, allocations: 16 kB / 0.9567 GB, free: 5.074 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/0.4068, allocations: 275.7 kB / 0.957 GB, free: 4.805 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.734e-05/0.4068, allocations: 19.94 kB / 0.957 GB, free: 4.785 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/0.4092, allocations: 210.9 kB / 0.9572 GB, free: 4.578 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/0.4094, allocations: 47.98 kB / 0.9573 GB, free: 4.531 MB / 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.0007085/0.4101, allocations: 291.8 kB / 0.9575 GB, free: 4.234 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002891/0.4104, allocations: 122.5 kB / 0.9577 GB, free: 4.113 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006491/0.4169, allocations: 1.39 MB / 0.959 GB, free: 2.719 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.958e-05/0.417, allocations: 12 kB / 0.959 GB, free: 2.707 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.669e-06/0.417, allocations: 4 kB / 0.959 GB, free: 2.703 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.4171, allocations: 3.984 kB / 0.959 GB, free: 2.699 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008357/0.4254, allocations: 2.386 MB / 0.9614 GB, free: 244 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/0.4255, allocations: 7.938 kB / 0.9614 GB, free: 236 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001903/0.4274, allocations: 195.9 kB / 0.9616 GB, free: 40 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/0.4275, allocations: 7.938 kB / 0.9616 GB, free: 32 kB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.4276, allocations: 23.97 kB / 0.9616 GB, free: 8 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.308e-06/0.4276, allocations: 7.938 kB / 0.9616 GB, free: 0 / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.731e-05/0.4277, allocations: 4.234 kB / 0.9616 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009643/0.4373, allocations: 2.082 MB / 0.9636 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007983/0.4382, allocations: 291.2 kB / 0.9639 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/0.4384, allocations: 16 kB / 0.9639 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/0.4402, allocations: 131.9 kB / 0.9641 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.4405, allocations: 56.44 kB / 0.9641 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/0.4406, allocations: 39.97 kB / 0.9641 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001542/0.4422, allocations: 0.7603 MB / 0.9649 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.32e-07/0.4422, allocations: 0 / 0.9649 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001719/0.4439, allocations: 339.6 kB / 0.9652 GB, free: 12.21 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.002036/0.446, allocations: 0.6492 MB / 0.9658 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.006129/0.4521, allocations: 1.126 MB / 0.9669 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.4522, allocations: 4.188 kB / 0.967 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003142/0.4554, allocations: 0.5851 MB / 0.9675 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003743/0.4592, allocations: 433.3 kB / 0.9679 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008694/0.4679, allocations: 2.704 MB / 0.9706 GB, free: 6.832 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009921/0.4689, allocations: 1.136 MB / 0.9717 GB, free: 5.672 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001851/0.4708, allocations: 252.7 kB / 0.9719 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005536/0.4714, allocations: 111.4 kB / 0.972 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of SimCode: time 9.62e-07/0.4714, allocations: 0 / 0.972 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of Templates: time 0.06846/0.5399, allocations: 18.88 MB / 0.9905 GB, free: 2.629 MB / 0.6355 GB