Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009552/0.0009552, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007559/0.007559, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.759/2.759, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000513/0.0005132, allocations: 7.844 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4111, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1834/0.5946, allocations: 158.5 MB / 1.229 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01469/0.6093, allocations: 9.653 MB / 1.238 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008444/0.6102, allocations: 11.94 kB / 1.238 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.6114, allocations: 286.4 kB / 1.239 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.6146, allocations: 0.9552 MB / 1.24 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005409/0.62, allocations: 1.751 MB / 1.241 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002459/0.6225, allocations: 1.805 MB / 1.243 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000844/0.6234, allocations: 368.5 kB / 1.243 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005529/0.6289, allocations: 1.899 MB / 1.245 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002833/0.6318, allocations: 1.303 MB / 1.247 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.6319, allocations: 28 kB / 1.247 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005762/0.6377, allocations: 2.797 MB / 1.249 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00024/0.638, allocations: 127.5 kB / 1.249 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006281/0.6386, allocations: 348.1 kB / 1.25 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003844/0.6425, allocations: 2.166 MB / 1.252 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.6425, allocations: 3.938 kB / 1.252 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6425, allocations: 0 / 1.252 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.565e-05/0.6425, allocations: 0 / 1.252 GB, free: 0.9062 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.5471/1.19, allocations: 0.8846 MB / 1.253 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/1.19, allocations: 10 kB / 1.253 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/1.191, allocations: 148.3 kB / 1.253 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005716/1.192, allocations: 416.3 kB / 1.253 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/1.192, allocations: 39.09 kB / 1.253 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.016e-05/1.192, allocations: 51.17 kB / 1.253 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/1.193, allocations: 0.6746 MB / 1.254 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/1.193, allocations: 6.453 kB / 1.254 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.521e-05/1.193, allocations: 30.84 kB / 1.254 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/1.193, allocations: 13.16 kB / 1.254 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/1.194, allocations: 497.7 kB / 1.255 GB, free: 183 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.003076/1.197, allocations: 2.988 MB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006183/1.198, allocations: 283.4 kB / 1.258 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003631/1.198, allocations: 170.5 kB / 1.258 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01765/1.216, allocations: 5.815 MB / 1.264 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/1.216, allocations: 38.38 kB / 1.264 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 2.335e-06/1.216, allocations: 0 / 1.264 GB, free: 179.4 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.08652/1.303, allocations: 30.4 MB / 1.293 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/1.303, allocations: 141.7 kB / 1.293 GB, free: 170 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000426/1.303, allocations: 373.6 kB / 1.294 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/1.303, allocations: 33.2 kB / 1.294 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/1.303, allocations: 289 kB / 1.294 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/1.304, allocations: 184.2 kB / 1.294 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-05/1.304, allocations: 52.75 kB / 1.294 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.723e-05/1.304, allocations: 355 kB / 1.295 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005117/1.304, allocations: 241 kB / 1.295 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005428/1.305, allocations: 380.4 kB / 1.295 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009882/1.306, allocations: 0.6106 MB / 1.296 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.306, allocations: 4 kB / 1.296 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001733/1.307, allocations: 0.7978 MB / 1.297 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/1.308, allocations: 11.94 kB / 1.297 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.308, allocations: 4 kB / 1.297 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004759/1.308, allocations: 120.5 kB / 1.297 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005379/1.309, allocations: 131.8 kB / 1.297 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/1.311, allocations: 3.095 MB / 1.3 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006638/1.311, allocations: 67.88 kB / 1.3 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-05/1.312, allocations: 20.81 kB / 1.3 GB, free: 163.1 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.0002406/1.312, allocations: 198.2 kB / 1.3 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/1.312, allocations: 51.44 kB / 1.3 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/1.314, allocations: 0.7965 MB / 1.301 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/1.314, allocations: 8 kB / 1.301 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/1.314, allocations: 4.547 kB / 1.301 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/1.314, allocations: 0 / 1.301 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/1.316, allocations: 1.61 MB / 1.303 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/1.316, allocations: 0.875 kB / 1.303 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004758/1.317, allocations: 111.8 kB / 1.303 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002266/1.317, allocations: 69.14 kB / 1.303 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/1.317, allocations: 20 kB / 1.303 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/1.318, allocations: 1.602 MB / 1.304 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.318, allocations: 7.938 kB / 1.304 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/1.32, allocations: 1.042 MB / 1.305 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/1.32, allocations: 140.4 kB / 1.305 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/1.32, allocations: 8 kB / 1.305 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000586/1.321, allocations: 63.86 kB / 1.306 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.033e-05/1.321, allocations: 43.95 kB / 1.306 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/1.321, allocations: 31.92 kB / 1.306 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003602/1.322, allocations: 354.8 kB / 1.306 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/1.322, allocations: 4 kB / 1.306 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004047/1.326, allocations: 1.384 MB / 1.307 GB, free: 155.2 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.006837/1.332, allocations: 0.7464 MB / 1.308 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001714/1.334, allocations: 0.8251 MB / 1.309 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.334, allocations: 4 kB / 1.309 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006501/1.335, allocations: 392.4 kB / 1.309 GB, free: 153.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/1.337, allocations: 329.4 kB / 1.31 GB, free: 153 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/1.338, allocations: 1.474 MB / 1.311 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/1.339, allocations: 0.8793 MB / 1.312 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005874/1.339, allocations: 147 kB / 1.312 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/1.339, allocations: 59.42 kB / 1.312 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of SimCode: time 4e-07/1.339, allocations: 0 / 1.312 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.07566/1.415, allocations: 63.02 MB / 1.374 GB, free: 87.98 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile (rm -f Buildings_1.6_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_1.6_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_1.6_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_1.6_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1)