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.0008889/0.0008891, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.00745/0.00745, allocations: 170.9 kB / 16.26 MB, free: 6.676 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.373/1.373, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.718/2.718, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 12.03 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3429, allocations: 159.6 MB / 1.059 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1774/0.5203, allocations: 158.5 MB / 1.213 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.013/0.5334, allocations: 9.639 MB / 1.223 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007754/0.5342, allocations: 19.88 kB / 1.223 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009816/0.5352, allocations: 286.4 kB / 1.223 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002794/0.538, allocations: 0.9452 MB / 1.224 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004724/0.5427, allocations: 1.755 MB / 1.226 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002221/0.545, allocations: 1.801 MB / 1.228 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000686/0.5457, allocations: 364.5 kB / 1.228 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005266/0.551, allocations: 1.906 MB / 1.23 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002519/0.5535, allocations: 1.307 MB / 1.231 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.88e-05/0.5536, allocations: 24 kB / 1.231 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005148/0.5588, allocations: 2.801 MB / 1.234 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.559, allocations: 119.5 kB / 1.234 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004669/0.5595, allocations: 348.1 kB / 1.234 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002997/0.5625, allocations: 2.166 MB / 1.236 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5625, allocations: 4 kB / 1.236 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.325e-06/0.5625, allocations: 0 / 1.236 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.5625, allocations: 0 / 1.236 GB, free: 14.81 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.001704/0.5642, allocations: 0.8929 MB / 1.237 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.5643, allocations: 8.031 kB / 1.237 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.5654, allocations: 143.3 kB / 1.237 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005595/0.5659, allocations: 421.5 kB / 1.238 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.863e-05/0.566, allocations: 37.31 kB / 1.238 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.527e-05/0.5661, allocations: 52 kB / 1.238 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.5673, allocations: 0.676 MB / 1.239 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.5673, allocations: 0 / 1.239 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.276e-05/0.5674, allocations: 28 kB / 1.239 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.5674, allocations: 19.94 kB / 1.239 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.5685, allocations: 0.4956 MB / 1.239 GB, free: 11.91 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.003323/0.5718, allocations: 2.983 MB / 1.242 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005977/0.5724, allocations: 274.4 kB / 1.242 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.5728, allocations: 173.9 kB / 1.242 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01768/0.5905, allocations: 5.824 MB / 1.248 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.544e-05/0.5906, allocations: 42.42 kB / 1.248 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 2.324e-06/0.5906, allocations: 0 / 1.248 GB, free: 2.148 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.753/1.344, allocations: 30.38 MB / 1.278 GB, free: 23.14 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/1.344, allocations: 140.6 kB / 1.278 GB, free: 22.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003958/1.344, allocations: 368.6 kB / 1.278 GB, free: 22.88 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/1.344, allocations: 34.67 kB / 1.278 GB, free: 22.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/1.344, allocations: 301.6 kB / 1.279 GB, free: 22.67 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/1.344, allocations: 183.2 kB / 1.279 GB, free: 22.55 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-05/1.344, allocations: 51.7 kB / 1.279 GB, free: 22.54 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.603e-05/1.345, allocations: 356.7 kB / 1.279 GB, free: 22.22 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004983/1.345, allocations: 237 kB / 1.279 GB, free: 22.22 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005589/1.346, allocations: 388 kB / 1.28 GB, free: 22.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009996/1.347, allocations: 0.6007 MB / 1.28 GB, free: 21.95 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.347, allocations: 0 / 1.28 GB, free: 21.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001774/1.348, allocations: 0.8062 MB / 1.281 GB, free: 21.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/1.348, allocations: 8.281 kB / 1.281 GB, free: 21.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.348, allocations: 2.906 kB / 1.281 GB, free: 21.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004819/1.349, allocations: 122.7 kB / 1.281 GB, free: 21.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005341/1.35, allocations: 132.7 kB / 1.281 GB, free: 21.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/1.352, allocations: 3.083 MB / 1.284 GB, free: 19.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006975/1.353, allocations: 59.67 kB / 1.284 GB, free: 19.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/1.353, allocations: 28.39 kB / 1.284 GB, free: 19.17 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.0002738/1.353, allocations: 200.9 kB / 1.285 GB, free: 19.05 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/1.353, allocations: 52.88 kB / 1.285 GB, free: 19.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/1.355, allocations: 0.7952 MB / 1.286 GB, free: 18.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.355, allocations: 7.312 kB / 1.286 GB, free: 18.91 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/1.355, allocations: 0 / 1.286 GB, free: 18.91 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/1.355, allocations: 10.77 kB / 1.286 GB, free: 18.91 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002753/1.358, allocations: 1.604 MB / 1.287 GB, free: 18.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.358, allocations: 4 kB / 1.287 GB, free: 18.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004762/1.358, allocations: 109 kB / 1.287 GB, free: 18.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002367/1.358, allocations: 71.31 kB / 1.287 GB, free: 18.44 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/1.358, allocations: 19.22 kB / 1.287 GB, free: 18.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/1.36, allocations: 1.6 MB / 1.289 GB, free: 17.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.36, allocations: 4.688 kB / 1.289 GB, free: 17.11 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/1.361, allocations: 1.034 MB / 1.29 GB, free: 16.81 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/1.362, allocations: 138.6 kB / 1.29 GB, free: 16.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/1.362, allocations: 16.61 kB / 1.29 GB, free: 16.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005328/1.362, allocations: 54.66 kB / 1.29 GB, free: 16.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.908e-05/1.362, allocations: 50.55 kB / 1.29 GB, free: 16.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-05/1.362, allocations: 22.14 kB / 1.29 GB, free: 16.68 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003778/1.363, allocations: 355.4 kB / 1.29 GB, free: 16.59 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.363, allocations: 0 / 1.29 GB, free: 16.59 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005121/1.368, allocations: 1.39 MB / 1.292 GB, free: 16.57 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.009767/1.378, allocations: 0.757 MB / 1.293 GB, free: 16.45 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001935/1.38, allocations: 0.8143 MB / 1.293 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.38, allocations: 6.172 kB / 1.293 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007048/1.38, allocations: 395.1 kB / 1.294 GB, free: 16.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/1.382, allocations: 336 kB / 1.294 GB, free: 16.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/1.384, allocations: 1.478 MB / 1.296 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/1.385, allocations: 0.8792 MB / 1.296 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006482/1.385, allocations: 148.7 kB / 1.297 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/1.385, allocations: 67.28 kB / 1.297 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of SimCode: time 6.42e-07/1.385, allocations: 2.906 kB / 1.297 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of Templates: time 0.09234/1.478, allocations: 63.01 MB / 1.358 GB, free: 6.613 MB / 1.029 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)