Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Experimental.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_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.Experimental.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_10_Buildings.Experimental.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.001942/0.001942, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002252/0.002252, allocations: 195.4 kB / 16.14 MB, free: 6.629 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.46/1.46, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.674/2.674, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 63.89 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6163/0.6186, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1937/0.8124, allocations: 160.6 MB / 1.174 GB, free: 1.547 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01443/0.8268, allocations: 9.757 MB / 1.183 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000945/0.8278, allocations: 11.94 kB / 1.183 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.829, allocations: 294.4 kB / 1.183 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003093/0.8322, allocations: 0.9462 MB / 1.184 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006241/0.8384, allocations: 1.75 MB / 1.186 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003139/0.8416, allocations: 1.813 MB / 1.188 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008952/0.8425, allocations: 369.1 kB / 1.188 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006695/0.8492, allocations: 1.91 MB / 1.19 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003347/0.8526, allocations: 1.303 MB / 1.191 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.8528, allocations: 35.94 kB / 1.191 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006142/0.8589, allocations: 2.809 MB / 1.194 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003327/0.8593, allocations: 131.5 kB / 1.194 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006192/0.8599, allocations: 326.4 kB / 1.194 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00448/0.8644, allocations: 2.194 MB / 1.197 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.8644, allocations: 0 / 1.197 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.548e-06/0.8645, allocations: 0 / 1.197 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.8645, allocations: 7.938 kB / 1.197 GB, free: 9.852 MB / 0.9512 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.002279/0.8668, allocations: 1.014 MB / 1.198 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.8668, allocations: 8.031 kB / 1.198 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.868, allocations: 151.2 kB / 1.198 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006293/0.8686, allocations: 421.5 kB / 1.198 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/0.8687, allocations: 41.31 kB / 1.198 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-05/0.8688, allocations: 56 kB / 1.198 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.8701, allocations: 0.6682 MB / 1.199 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.8702, allocations: 3.938 kB / 1.199 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-05/0.8702, allocations: 24 kB / 1.199 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.8703, allocations: 19.94 kB / 1.199 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.8714, allocations: 487.6 kB / 1.199 GB, free: 6.848 MB / 0.9512 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.003906/0.8753, allocations: 2.986 MB / 1.202 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006602/0.876, allocations: 272.6 kB / 1.203 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000374/0.8764, allocations: 164.7 kB / 1.203 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01816/0.8945, allocations: 5.754 MB / 1.208 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.835e-05/0.8946, allocations: 42.56 kB / 1.208 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=36): time 2.034e-06/0.8947, allocations: 0 / 1.208 GB, free: 13.16 MB / 0.9669 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.08977/0.9844, allocations: 31.63 MB / 1.239 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.132e-05/0.9846, allocations: 136.9 kB / 1.239 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/0.9851, allocations: 369.6 kB / 1.24 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.174e-05/0.9851, allocations: 37.7 kB / 1.24 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.9854, allocations: 288.2 kB / 1.24 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.9855, allocations: 189.3 kB / 1.24 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.9858, allocations: 110.1 kB / 1.24 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.9859, allocations: 358.8 kB / 1.241 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005606/0.9865, allocations: 237 kB / 1.241 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007266/0.9872, allocations: 376.4 kB / 1.241 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.9884, allocations: 0.5942 MB / 1.242 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.9885, allocations: 4 kB / 1.242 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002091/0.9906, allocations: 0.7858 MB / 1.243 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.9906, allocations: 11.94 kB / 1.243 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.9906, allocations: 11.92 kB / 1.243 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005257/0.9911, allocations: 117.6 kB / 1.243 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006048/0.9918, allocations: 132.1 kB / 1.243 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003594/0.9954, allocations: 3.098 MB / 1.246 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007381/0.9961, allocations: 56.03 kB / 1.246 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.364e-05/0.9962, allocations: 24 kB / 1.246 GB, free: 6.172 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.0003595/0.9966, allocations: 193.6 kB / 1.246 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/0.9968, allocations: 55.38 kB / 1.246 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/0.9988, allocations: 0.7798 MB / 1.247 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.9988, allocations: 7.984 kB / 1.247 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.9988, allocations: 4 kB / 1.247 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.9988, allocations: 4 kB / 1.247 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003275/1.002, allocations: 1.606 MB / 1.249 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/1.002, allocations: 7.984 kB / 1.249 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005201/1.003, allocations: 103.8 kB / 1.249 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002663/1.003, allocations: 64.81 kB / 1.249 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.946e-05/1.003, allocations: 15.98 kB / 1.249 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/1.005, allocations: 1.6 MB / 1.25 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/1.005, allocations: 4.031 kB / 1.25 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/1.007, allocations: 1.026 MB / 1.251 GB, free: 404 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/1.007, allocations: 132.5 kB / 1.251 GB, free: 252 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/1.007, allocations: 15.98 kB / 1.251 GB, free: 236 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005648/1.008, allocations: 51.94 kB / 1.252 GB, free: 184 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/1.008, allocations: 47.81 kB / 1.252 GB, free: 136 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/1.008, allocations: 24 kB / 1.252 GB, free: 112 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.6618/1.67, allocations: 353.9 kB / 1.252 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.81e-07/1.67, allocations: 0 / 1.252 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004808/1.675, allocations: 1.393 MB / 1.253 GB, free: 221.5 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.008274/1.683, allocations: 0.7603 MB / 1.254 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00218/1.685, allocations: 0.8075 MB / 1.255 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/1.685, allocations: 0.875 kB / 1.255 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008065/1.686, allocations: 384.1 kB / 1.255 GB, free: 221 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/1.688, allocations: 333.5 kB / 1.256 GB, free: 221 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/1.69, allocations: 1.391 MB / 1.257 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/1.69, allocations: 0.8791 MB / 1.258 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007767/1.691, allocations: 147.4 kB / 1.258 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/1.691, allocations: 62.88 kB / 1.258 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.222e-06/1.691, allocations: 0 / 1.258 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.08366/1.775, allocations: 63.3 MB / 1.32 GB, free: 182.6 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1)