Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00178/0.00178, allocations: 191.7 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.697/2.697, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 61.53 kB / 0.8984 GB, free: 37.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3388, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1825/0.5215, allocations: 160.6 MB / 1.209 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01524/0.5367, allocations: 9.748 MB / 1.218 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.538, allocations: 19.81 kB / 1.218 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.5396, allocations: 286.5 kB / 1.219 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003908/0.5436, allocations: 0.9404 MB / 1.22 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006267/0.5499, allocations: 1.76 MB / 1.221 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002596/0.5525, allocations: 1.801 MB / 1.223 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000936/0.5534, allocations: 373.1 kB / 1.224 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006327/0.5598, allocations: 1.91 MB / 1.225 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003546/0.5633, allocations: 1.319 MB / 1.227 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002477/0.5636, allocations: 31.94 kB / 1.227 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00762/0.5713, allocations: 2.801 MB / 1.229 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003734/0.5717, allocations: 139.4 kB / 1.23 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009845/0.5727, allocations: 326.5 kB / 1.23 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005621/0.5783, allocations: 2.175 MB / 1.232 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.5783, allocations: 0 / 1.232 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.196e-06/0.5783, allocations: 0 / 1.232 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.806e-05/0.5784, allocations: 3.938 kB / 1.232 GB, free: 15.99 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002966/0.5814, allocations: 1.006 MB / 1.233 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.5814, allocations: 12.03 kB / 1.233 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/0.5828, allocations: 147.2 kB / 1.233 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007589/0.5836, allocations: 425.5 kB / 1.234 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.794e-05/0.5836, allocations: 37.31 kB / 1.234 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.891e-05/0.5837, allocations: 52 kB / 1.234 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.5851, allocations: 0.6682 MB / 1.234 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.5851, allocations: 3.938 kB / 1.234 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-05/0.5852, allocations: 24 kB / 1.234 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.5852, allocations: 15.94 kB / 1.234 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.5864, allocations: 491.5 kB / 1.235 GB, free: 13 MB / 0.9981 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.003941/0.5903, allocations: 2.987 MB / 1.238 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006396/0.591, allocations: 266.4 kB / 1.238 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000348/0.5913, allocations: 166 kB / 1.238 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01697/0.6083, allocations: 5.75 MB / 1.244 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.989e-05/0.6084, allocations: 46.41 kB / 1.244 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 3.186e-06/0.6085, allocations: 0 / 1.244 GB, free: 3.316 MB / 0.9981 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volDyn.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=52): time 0.7049/1.313, allocations: 31.59 MB / 1.275 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/1.313, allocations: 135.5 kB / 1.275 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/1.314, allocations: 379.2 kB / 1.275 GB, free: 192 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/1.314, allocations: 34.2 kB / 1.275 GB, free: 192 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/1.314, allocations: 289.5 kB / 1.275 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.995e-05/1.314, allocations: 184.7 kB / 1.276 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/1.314, allocations: 112.5 kB / 1.276 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.846e-05/1.314, allocations: 352.3 kB / 1.276 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004707/1.315, allocations: 241 kB / 1.276 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000533/1.315, allocations: 376 kB / 1.277 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009523/1.316, allocations: 0.5897 MB / 1.277 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.316, allocations: 0 / 1.277 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001699/1.318, allocations: 0.7929 MB / 1.278 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/1.318, allocations: 7.5 kB / 1.278 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/1.318, allocations: 4.375 kB / 1.278 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004784/1.319, allocations: 123.2 kB / 1.278 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/1.319, allocations: 131.4 kB / 1.278 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/1.321, allocations: 3.085 MB / 1.281 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000614/1.322, allocations: 64.05 kB / 1.281 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.824e-05/1.322, allocations: 25.42 kB / 1.281 GB, free: 187.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002276/1.322, allocations: 200.4 kB / 1.282 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/1.322, allocations: 51.44 kB / 1.282 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/1.324, allocations: 0.7834 MB / 1.282 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.324, allocations: 4 kB / 1.282 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/1.324, allocations: 0 / 1.282 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/1.324, allocations: 3.984 kB / 1.282 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002623/1.327, allocations: 1.607 MB / 1.284 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/1.327, allocations: 4 kB / 1.284 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004667/1.327, allocations: 112.4 kB / 1.284 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002406/1.327, allocations: 69.92 kB / 1.284 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/1.327, allocations: 19.2 kB / 1.284 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/1.329, allocations: 1.602 MB / 1.286 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.329, allocations: 7.938 kB / 1.286 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/1.33, allocations: 1.014 MB / 1.287 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/1.331, allocations: 132.9 kB / 1.287 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/1.331, allocations: 19.81 kB / 1.287 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005329/1.331, allocations: 43.83 kB / 1.287 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.225e-05/1.331, allocations: 47.7 kB / 1.287 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/1.331, allocations: 24.73 kB / 1.287 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003526/1.332, allocations: 356.2 kB / 1.287 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.332, allocations: 0 / 1.287 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004963/1.337, allocations: 1.388 MB / 1.289 GB, free: 180.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.VWat,volSte.VWat) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008843/1.346, allocations: 0.7589 MB / 1.289 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001781/1.347, allocations: 0.8046 MB / 1.29 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.347, allocations: 7.5 kB / 1.29 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006571/1.348, allocations: 383.2 kB / 1.291 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/1.35, allocations: 342.5 kB / 1.291 GB, free: 179 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/1.352, allocations: 1.401 MB / 1.292 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/1.352, allocations: 0.8804 MB / 1.293 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006098/1.352, allocations: 136.9 kB / 1.293 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/1.353, allocations: 66.97 kB / 1.293 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/1.353, allocations: 0 / 1.293 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.07946/1.432, allocations: 63.11 MB / 1.355 GB, free: 114.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1)