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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.002025/0.002025, allocations: 107.3 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.002601/0.002601, allocations: 191.9 kB / 16.26 MB, free: 6.152 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.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.939/2.939, allocations: 482.3 MB / 0.7542 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 70.61 kB / 0.9232 GB, free: 29.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3405, allocations: 162.2 MB / 1.082 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.2021/0.5426, allocations: 160.6 MB / 1.238 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01293/0.5556, allocations: 9.002 MB / 1.247 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008714/0.5565, allocations: 15.88 kB / 1.247 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.5576, allocations: 306.5 kB / 1.248 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002981/0.5606, allocations: 0.9871 MB / 1.248 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005281/0.5659, allocations: 1.909 MB / 1.25 GB, free: 312 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.6247/1.191, allocations: 1.373 MB / 1.252 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008283/1.191, allocations: 424.9 kB / 1.252 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006019/1.197, allocations: 2.01 MB / 1.254 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003192/1.201, allocations: 1.314 MB / 1.255 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000181/1.201, allocations: 53.81 kB / 1.255 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006091/1.207, allocations: 2.83 MB / 1.258 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002771/1.207, allocations: 154.5 kB / 1.258 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006538/1.208, allocations: 351.8 kB / 1.259 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004308/1.212, allocations: 2.206 MB / 1.261 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.212, allocations: 3.016 kB / 1.261 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.753e-06/1.212, allocations: 0 / 1.261 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.208e-05/1.212, allocations: 4.125 kB / 1.261 GB, free: 8.836 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.003029/1.215, allocations: 1 MB / 1.262 GB, free: 24.25 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/1.215, allocations: 9.25 kB / 1.262 GB, free: 24.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/1.217, allocations: 149.9 kB / 1.262 GB, free: 24.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005627/1.217, allocations: 425.9 kB / 1.262 GB, free: 23.97 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.572e-05/1.217, allocations: 39.34 kB / 1.262 GB, free: 23.96 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-05/1.217, allocations: 55.05 kB / 1.262 GB, free: 23.96 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/1.219, allocations: 0.6666 MB / 1.263 GB, free: 23.81 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/1.219, allocations: 0 / 1.263 GB, free: 23.81 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.635e-05/1.219, allocations: 24.06 kB / 1.263 GB, free: 23.81 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/1.219, allocations: 20.7 kB / 1.263 GB, free: 23.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/1.22, allocations: 494.1 kB / 1.264 GB, free: 23.8 MB / 1.014 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.003576/1.223, allocations: 2.984 MB / 1.267 GB, free: 21.76 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006002/1.224, allocations: 263.9 kB / 1.267 GB, free: 21.73 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/1.224, allocations: 173 kB / 1.267 GB, free: 21.72 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02275/1.247, allocations: 5.753 MB / 1.273 GB, free: 20.46 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.333e-05/1.247, allocations: 39.27 kB / 1.273 GB, free: 20.43 MB / 1.014 GB Notification: Performance of pre-optimization done (n=36): time 4.428e-06/1.247, allocations: 0 / 1.273 GB, free: 20.43 MB / 1.014 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.1192/1.366, allocations: 31.6 MB / 1.303 GB, free: 16.95 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.123e-05/1.366, allocations: 133.6 kB / 1.304 GB, free: 16.79 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004283/1.367, allocations: 378.6 kB / 1.304 GB, free: 16.67 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.375e-05/1.367, allocations: 36.41 kB / 1.304 GB, free: 16.64 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/1.367, allocations: 293.2 kB / 1.304 GB, free: 16.47 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/1.367, allocations: 184.5 kB / 1.304 GB, free: 16.36 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/1.367, allocations: 114.5 kB / 1.305 GB, free: 16.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001608/1.368, allocations: 351.5 kB / 1.305 GB, free: 16.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/1.368, allocations: 236.4 kB / 1.305 GB, free: 16.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005646/1.369, allocations: 377.3 kB / 1.305 GB, free: 15.88 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009991/1.37, allocations: 0.5941 MB / 1.306 GB, free: 15.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.37, allocations: 3 kB / 1.306 GB, free: 15.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00176/1.371, allocations: 0.7905 MB / 1.307 GB, free: 15.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/1.372, allocations: 6.438 kB / 1.307 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.372, allocations: 7.797 kB / 1.307 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004764/1.372, allocations: 125.2 kB / 1.307 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005597/1.373, allocations: 129.2 kB / 1.307 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003277/1.376, allocations: 3.432 MB / 1.31 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007302/1.377, allocations: 56.48 kB / 1.31 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-05/1.377, allocations: 28.86 kB / 1.31 GB, free: 12.64 MB / 1.014 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.0003262/1.377, allocations: 188.5 kB / 1.311 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/1.377, allocations: 49.62 kB / 1.311 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/1.379, allocations: 0.7933 MB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.379, allocations: 5.25 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/1.379, allocations: 0 / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/1.379, allocations: 4.188 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002983/1.382, allocations: 1.599 MB / 1.313 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/1.382, allocations: 7.266 kB / 1.313 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/1.382, allocations: 102.8 kB / 1.313 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002301/1.383, allocations: 74.38 kB / 1.313 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.92e-05/1.383, allocations: 17.33 kB / 1.313 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/1.384, allocations: 1.769 MB / 1.315 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.384, allocations: 6.062 kB / 1.315 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/1.386, allocations: 1.022 MB / 1.316 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/1.387, allocations: 132.2 kB / 1.316 GB, free: 9.984 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/1.387, allocations: 19.31 kB / 1.316 GB, free: 9.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000575/1.387, allocations: 49.02 kB / 1.316 GB, free: 9.977 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.387, allocations: 41.56 kB / 1.316 GB, free: 9.977 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.752e-05/1.388, allocations: 25.89 kB / 1.316 GB, free: 9.977 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004746/1.388, allocations: 362.1 kB / 1.317 GB, free: 9.879 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.563e-06/1.388, allocations: 0 / 1.317 GB, free: 9.879 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.006907/1.395, allocations: 1.388 MB / 1.318 GB, free: 9.832 MB / 1.014 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.01034/1.405, allocations: 0.7638 MB / 1.319 GB, free: 9.66 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002011/1.407, allocations: 0.8388 MB / 1.32 GB, free: 9.41 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/1.407, allocations: 6.594 kB / 1.32 GB, free: 9.406 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006908/1.408, allocations: 380.6 kB / 1.32 GB, free: 9.297 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/1.41, allocations: 342.6 kB / 1.32 GB, free: 9.238 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/1.412, allocations: 1.396 MB / 1.322 GB, free: 8.418 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/1.412, allocations: 0.882 MB / 1.322 GB, free: 7.707 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006669/1.413, allocations: 141.9 kB / 1.323 GB, free: 7.664 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/1.413, allocations: 67.11 kB / 1.323 GB, free: 7.656 MB / 1.014 GB Notification: Performance of SimCode: time 7.91e-07/1.413, allocations: 0 / 1.323 GB, free: 7.656 MB / 1.014 GB Notification: Performance of Templates: time 0.1039/1.517, allocations: 63.71 MB / 1.385 GB, free: 1.965 MB / 1.061 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)