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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001717/0.001716, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001777/0.001777, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.443/2.443, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 68.28 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3114, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.7504/1.062, allocations: 162.7 MB / 1.178 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01227/1.074, allocations: 8.865 MB / 1.186 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/1.075, allocations: 18.19 kB / 1.186 GB, free: 4.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/1.076, allocations: 342.9 kB / 1.187 GB, free: 4.035 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003703/1.08, allocations: 1.102 MB / 1.188 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006694/1.087, allocations: 2.125 MB / 1.19 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002595/1.09, allocations: 1.381 MB / 1.191 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009229/1.091, allocations: 445.6 kB / 1.192 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006031/1.097, allocations: 2.083 MB / 1.194 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003392/1.1, allocations: 1.301 MB / 1.195 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/1.1, allocations: 52.81 kB / 1.195 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006123/1.106, allocations: 2.893 MB / 1.198 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002807/1.107, allocations: 149.8 kB / 1.198 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006557/1.107, allocations: 352.3 kB / 1.198 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003896/1.111, allocations: 2.229 MB / 1.2 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.111, allocations: 0 / 1.2 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.914e-06/1.111, allocations: 4 kB / 1.2 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.602e-05/1.111, allocations: 0 / 1.2 GB, free: 11.05 MB / 0.9044 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.001965/1.113, allocations: 0.9905 MB / 1.201 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/1.113, allocations: 18.91 kB / 1.201 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/1.114, allocations: 146 kB / 1.202 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006846/1.115, allocations: 438.1 kB / 1.202 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/1.115, allocations: 44.38 kB / 1.202 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.664e-05/1.115, allocations: 48.5 kB / 1.202 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/1.116, allocations: 0.6609 MB / 1.203 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/1.116, allocations: 2.906 kB / 1.203 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.153e-05/1.116, allocations: 27.47 kB / 1.203 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/1.117, allocations: 16.19 kB / 1.203 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000993/1.118, allocations: 491.7 kB / 1.203 GB, free: 9.062 MB / 0.9044 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.003752/1.121, allocations: 2.989 MB / 1.206 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006152/1.122, allocations: 268.5 kB / 1.206 GB, free: 6.129 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/1.122, allocations: 169.2 kB / 1.207 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01701/1.139, allocations: 5.81 MB / 1.212 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.178e-05/1.139, allocations: 38.56 kB / 1.212 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=36): time 2.325e-06/1.139, allocations: 0 / 1.212 GB, free: 2.117 MB / 0.9044 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.08461/1.224, allocations: 31.9 MB / 1.243 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/1.224, allocations: 136.9 kB / 1.244 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00054/1.225, allocations: 373.6 kB / 1.244 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.498e-05/1.225, allocations: 37.7 kB / 1.244 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/1.225, allocations: 288.2 kB / 1.244 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/1.225, allocations: 181.3 kB / 1.244 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/1.225, allocations: 114.1 kB / 1.244 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001617/1.226, allocations: 354.8 kB / 1.245 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005224/1.226, allocations: 241 kB / 1.245 GB, free: 452 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006362/1.227, allocations: 372.5 kB / 1.245 GB, free: 32 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/1.228, allocations: 0.5942 MB / 1.246 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.228, allocations: 4 kB / 1.246 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001868/1.23, allocations: 0.7857 MB / 1.247 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/1.23, allocations: 8 kB / 1.247 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.23, allocations: 8.312 kB / 1.247 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000502/1.23, allocations: 125.6 kB / 1.247 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/1.231, allocations: 131.8 kB / 1.247 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00376/1.235, allocations: 3.433 MB / 1.25 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007817/1.235, allocations: 35.91 kB / 1.25 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.889e-05/1.235, allocations: 27.98 kB / 1.25 GB, free: 10.54 MB / 0.9512 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.0003966/1.236, allocations: 199.8 kB / 1.251 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/1.236, allocations: 51.38 kB / 1.251 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/1.238, allocations: 0.7881 MB / 1.251 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/1.238, allocations: 12 kB / 1.251 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.238, allocations: 4 kB / 1.251 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/1.238, allocations: 3.984 kB / 1.251 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003443/1.242, allocations: 1.608 MB / 1.253 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/1.242, allocations: 4 kB / 1.253 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/1.242, allocations: 99.88 kB / 1.253 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003283/1.242, allocations: 72.73 kB / 1.253 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.651e-05/1.243, allocations: 16 kB / 1.253 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/1.245, allocations: 1.775 MB / 1.255 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/1.245, allocations: 4 kB / 1.255 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/1.247, allocations: 1.023 MB / 1.256 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/1.247, allocations: 128.4 kB / 1.256 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/1.247, allocations: 19.94 kB / 1.256 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004905/1.248, allocations: 32.03 kB / 1.256 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/1.248, allocations: 43.89 kB / 1.256 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.434e-05/1.248, allocations: 23.98 kB / 1.256 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005787/1.249, allocations: 358.8 kB / 1.257 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.1e-07/1.249, allocations: 0 / 1.257 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.006301/1.255, allocations: 1.386 MB / 1.258 GB, free: 2.574 MB / 0.9512 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.00833/1.263, allocations: 0.7534 MB / 1.259 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001979/1.265, allocations: 0.8347 MB / 1.259 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.265, allocations: 4 kB / 1.259 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000709/1.266, allocations: 375.3 kB / 1.26 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/1.268, allocations: 334 kB / 1.26 GB, free: 260 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/1.27, allocations: 1.193 MB / 1.261 GB, free: 15 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/1.27, allocations: 0.8789 MB / 1.262 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005223/1.271, allocations: 142.3 kB / 1.262 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/1.271, allocations: 71.42 kB / 1.262 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of SimCode: time 9.02e-07/1.271, allocations: 0 / 1.262 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of Templates: time 0.09665/1.367, allocations: 64 MB / 1.325 GB, free: 14.61 MB / 1.029 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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1)