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.001806/0.001806, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.00218/0.00218, allocations: 195 kB / 16.25 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.469/1.469, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.811/2.811, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 71.89 kB / 0.8688 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7478/0.7498, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.2008/0.9506, allocations: 160.6 MB / 1.174 GB, free: 1.52 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01699/0.9677, allocations: 9.015 MB / 1.182 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.969, allocations: 19.88 kB / 1.182 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.9705, allocations: 302.4 kB / 1.183 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00375/0.9743, allocations: 0.996 MB / 1.184 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005994/0.9803, allocations: 1.902 MB / 1.186 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002049/0.9823, allocations: 1.384 MB / 1.187 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006864/0.983, allocations: 429.4 kB / 1.187 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005527/0.9886, allocations: 2.008 MB / 1.189 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002575/0.9912, allocations: 1.323 MB / 1.191 GB, free: 108 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.9913, allocations: 52 kB / 1.191 GB, free: 56 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005251/0.9966, allocations: 2.825 MB / 1.193 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.9968, allocations: 151.5 kB / 1.194 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004874/0.9973, allocations: 358.4 kB / 1.194 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003705/1.001, allocations: 2.221 MB / 1.196 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.001, allocations: 0 / 1.196 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.563e-06/1.001, allocations: 0 / 1.196 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.061e-05/1.001, allocations: 0 / 1.196 GB, free: 10.5 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.00205/1.003, allocations: 1.01 MB / 1.197 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/1.003, allocations: 8.031 kB / 1.197 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/1.004, allocations: 147.3 kB / 1.197 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/1.005, allocations: 421.5 kB / 1.198 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.023e-05/1.005, allocations: 41.31 kB / 1.198 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.026e-05/1.005, allocations: 52 kB / 1.198 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/1.006, allocations: 0.672 MB / 1.198 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/1.006, allocations: 0 / 1.198 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.247e-05/1.006, allocations: 24 kB / 1.198 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/1.007, allocations: 15.94 kB / 1.198 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/1.008, allocations: 495.5 kB / 1.199 GB, free: 7.504 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.003721/1.011, allocations: 2.994 MB / 1.202 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000627/1.012, allocations: 270.4 kB / 1.202 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/1.012, allocations: 160.8 kB / 1.202 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01751/1.03, allocations: 5.758 MB / 1.208 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.652e-05/1.03, allocations: 42.55 kB / 1.208 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=36): time 2.544e-06/1.03, allocations: 4 kB / 1.208 GB, free: 13.8 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.09219/1.122, allocations: 31.63 MB / 1.239 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/1.122, allocations: 137 kB / 1.239 GB, free: 14 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006023/1.123, allocations: 373.6 kB / 1.239 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.698e-05/1.123, allocations: 33.7 kB / 1.239 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/1.123, allocations: 296.2 kB / 1.24 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/1.123, allocations: 177.3 kB / 1.24 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/1.124, allocations: 114.1 kB / 1.24 GB, free: 13 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001967/1.124, allocations: 354.8 kB / 1.24 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006135/1.125, allocations: 237 kB / 1.24 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000751/1.125, allocations: 380.4 kB / 1.241 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/1.127, allocations: 0.5903 MB / 1.241 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.465e-06/1.127, allocations: 4 kB / 1.241 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002238/1.129, allocations: 0.7937 MB / 1.242 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/1.129, allocations: 11.94 kB / 1.242 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/1.129, allocations: 4 kB / 1.242 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005833/1.13, allocations: 125.7 kB / 1.242 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006128/1.13, allocations: 127.9 kB / 1.242 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003939/1.134, allocations: 3.429 MB / 1.246 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/1.135, allocations: 59.94 kB / 1.246 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-05/1.135, allocations: 28 kB / 1.246 GB, free: 6.477 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.000368/1.135, allocations: 193.6 kB / 1.246 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/1.136, allocations: 47.44 kB / 1.246 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/1.138, allocations: 0.7875 MB / 1.247 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/1.138, allocations: 16.02 kB / 1.247 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/1.138, allocations: 0 / 1.247 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/1.138, allocations: 0 / 1.247 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003804/1.142, allocations: 1.61 MB / 1.248 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/1.142, allocations: 12.02 kB / 1.248 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005473/1.142, allocations: 99.88 kB / 1.248 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000285/1.143, allocations: 72.75 kB / 1.249 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.744e-05/1.143, allocations: 19.98 kB / 1.249 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/1.145, allocations: 1.763 MB / 1.25 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/1.145, allocations: 12.06 kB / 1.25 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/1.147, allocations: 1.026 MB / 1.251 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/1.147, allocations: 132.4 kB / 1.251 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/1.148, allocations: 15.94 kB / 1.251 GB, free: 352 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006766/1.148, allocations: 55.92 kB / 1.252 GB, free: 296 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/1.148, allocations: 39.89 kB / 1.252 GB, free: 256 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.836e-05/1.148, allocations: 31.92 kB / 1.252 GB, free: 224 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.6551/1.804, allocations: 349 kB / 1.252 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.61e-07/1.804, allocations: 0 / 1.252 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006015/1.81, allocations: 1.389 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.009155/1.819, allocations: 0.7525 MB / 1.254 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002434/1.821, allocations: 0.8415 MB / 1.255 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.821, allocations: 0.75 kB / 1.255 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008717/1.822, allocations: 390.3 kB / 1.255 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/1.824, allocations: 333.4 kB / 1.256 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/1.827, allocations: 1.409 MB / 1.257 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/1.827, allocations: 0.8759 MB / 1.258 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008045/1.828, allocations: 141.5 kB / 1.258 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/1.828, allocations: 63.94 kB / 1.258 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of SimCode: time 7.71e-07/1.828, allocations: 0 / 1.258 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.1013/1.93, allocations: 63.88 MB / 1.32 GB, free: 182.1 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)