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.00169/0.00169, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001901/0.001901, allocations: 191.2 kB / 16.25 MB, free: 6.633 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.476/1.476, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.949/2.949, allocations: 482.4 MB / 0.7543 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 65.27 kB / 0.9233 GB, free: 29.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3429, allocations: 162.2 MB / 1.082 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1875/0.5304, allocations: 160.6 MB / 1.239 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01238/0.5428, allocations: 9.002 MB / 1.247 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007374/0.5436, allocations: 11.94 kB / 1.247 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.5446, allocations: 294.4 kB / 1.248 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002737/0.5474, allocations: 1.003 MB / 1.249 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004917/0.5523, allocations: 1.904 MB / 1.25 GB, free: 280 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.7039/1.256, allocations: 1.372 MB / 1.252 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/1.257, allocations: 426.6 kB / 1.252 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006432/1.264, allocations: 2.009 MB / 1.254 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003275/1.267, allocations: 1.32 MB / 1.255 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002352/1.267, allocations: 52.56 kB / 1.256 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006705/1.274, allocations: 2.825 MB / 1.258 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003993/1.275, allocations: 161.8 kB / 1.258 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008596/1.275, allocations: 347.8 kB / 1.259 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006125/1.282, allocations: 2.208 MB / 1.261 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/1.282, allocations: 2.781 kB / 1.261 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.084e-06/1.282, allocations: 0 / 1.261 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.332e-05/1.282, allocations: 0.7812 kB / 1.261 GB, free: 8.82 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.004651/1.286, allocations: 1.003 MB / 1.262 GB, free: 24.24 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/1.286, allocations: 10.59 kB / 1.262 GB, free: 24.24 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/1.288, allocations: 151.4 kB / 1.262 GB, free: 24.2 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007752/1.289, allocations: 414.3 kB / 1.262 GB, free: 23.95 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.988e-05/1.289, allocations: 40.28 kB / 1.262 GB, free: 23.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/1.289, allocations: 50.64 kB / 1.263 GB, free: 23.95 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/1.29, allocations: 0.6686 MB / 1.263 GB, free: 23.79 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/1.29, allocations: 4.484 kB / 1.263 GB, free: 23.79 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.152e-05/1.29, allocations: 26.44 kB / 1.263 GB, free: 23.79 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/1.29, allocations: 18.31 kB / 1.263 GB, free: 23.79 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/1.292, allocations: 496.4 kB / 1.264 GB, free: 23.79 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.004187/1.296, allocations: 2.983 MB / 1.267 GB, free: 21.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/1.296, allocations: 271.7 kB / 1.267 GB, free: 21.72 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003577/1.297, allocations: 166 kB / 1.267 GB, free: 21.71 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02028/1.317, allocations: 5.752 MB / 1.273 GB, free: 20.46 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.495e-05/1.317, allocations: 41.73 kB / 1.273 GB, free: 20.42 MB / 1.014 GB Notification: Performance of pre-optimization done (n=36): time 2.595e-06/1.317, allocations: 0 / 1.273 GB, free: 20.42 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.08731/1.405, allocations: 31.61 MB / 1.304 GB, free: 16.93 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/1.405, allocations: 136.3 kB / 1.304 GB, free: 16.77 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004657/1.405, allocations: 371.9 kB / 1.304 GB, free: 16.66 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.11e-05/1.405, allocations: 41.7 kB / 1.304 GB, free: 16.63 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/1.405, allocations: 284.8 kB / 1.304 GB, free: 16.46 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/1.406, allocations: 188.1 kB / 1.305 GB, free: 16.34 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/1.406, allocations: 111.6 kB / 1.305 GB, free: 16.32 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000173/1.406, allocations: 354 kB / 1.305 GB, free: 16.01 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004902/1.406, allocations: 235.4 kB / 1.305 GB, free: 16.01 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005511/1.407, allocations: 378.9 kB / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009828/1.408, allocations: 0.5928 MB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.408, allocations: 0 / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001779/1.41, allocations: 0.7918 MB / 1.307 GB, free: 15.64 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.41, allocations: 7.625 kB / 1.307 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.41, allocations: 7.531 kB / 1.307 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004824/1.41, allocations: 123.9 kB / 1.307 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000551/1.411, allocations: 128.4 kB / 1.307 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/1.414, allocations: 3.429 MB / 1.311 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007099/1.415, allocations: 64.69 kB / 1.311 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.825e-05/1.415, allocations: 25.2 kB / 1.311 GB, free: 12.62 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.0003485/1.415, allocations: 196 kB / 1.311 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/1.416, allocations: 43.69 kB / 1.311 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/1.417, allocations: 0.7982 MB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/1.417, allocations: 2.094 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/1.417, allocations: 2.625 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/1.417, allocations: 3.328 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/1.42, allocations: 1.595 MB / 1.313 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.42, allocations: 2.281 kB / 1.313 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004854/1.421, allocations: 106.4 kB / 1.313 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002417/1.421, allocations: 70.41 kB / 1.313 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/1.421, allocations: 17.16 kB / 1.313 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/1.423, allocations: 1.773 MB / 1.315 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.423, allocations: 5.281 kB / 1.315 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/1.425, allocations: 1.024 MB / 1.316 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/1.425, allocations: 140.6 kB / 1.316 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/1.425, allocations: 15.84 kB / 1.316 GB, free: 9.961 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000556/1.426, allocations: 48.59 kB / 1.316 GB, free: 9.957 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.77e-05/1.426, allocations: 40.72 kB / 1.316 GB, free: 9.957 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/1.426, allocations: 26.19 kB / 1.316 GB, free: 9.957 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000419/1.426, allocations: 358.9 kB / 1.317 GB, free: 9.863 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.426, allocations: 0 / 1.317 GB, free: 9.863 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005681/1.432, allocations: 1.391 MB / 1.318 GB, free: 9.809 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.009351/1.441, allocations: 0.7512 MB / 1.319 GB, free: 9.645 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002032/1.443, allocations: 0.841 MB / 1.32 GB, free: 9.395 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.443, allocations: 3.844 kB / 1.32 GB, free: 9.395 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007119/1.444, allocations: 383.7 kB / 1.32 GB, free: 9.281 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/1.446, allocations: 344.2 kB / 1.32 GB, free: 9.223 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/1.448, allocations: 1.401 MB / 1.322 GB, free: 8.402 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/1.449, allocations: 0.8814 MB / 1.323 GB, free: 7.691 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006871/1.449, allocations: 143.4 kB / 1.323 GB, free: 7.645 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/1.449, allocations: 64.2 kB / 1.323 GB, free: 7.641 MB / 1.014 GB Notification: Performance of SimCode: time 6.01e-07/1.449, allocations: 5.203 kB / 1.323 GB, free: 7.637 MB / 1.014 GB Notification: Performance of Templates: time 0.1016/1.551, allocations: 63.69 MB / 1.385 GB, free: 1.879 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1)