Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_latest_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_latest_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.001125/0.001125, allocations: 110 kB / 16.37 MB, free: 6.469 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.001026/0.001026, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.435/2.435, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.001261, allocations: 62.78 kB / 0.8774 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2816, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.6294/0.9111, allocations: 162.7 MB / 1.186 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01118/0.9223, allocations: 8.87 MB / 1.194 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006877/0.923, allocations: 18.59 kB / 1.194 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009635/0.924, allocations: 342.7 kB / 1.195 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002684/0.9267, allocations: 1.094 MB / 1.196 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00512/0.9319, allocations: 2.143 MB / 1.198 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001709/0.9336, allocations: 1.382 MB / 1.199 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006012/0.9342, allocations: 430.4 kB / 1.2 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004599/0.9388, allocations: 2.079 MB / 1.202 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002764/0.9416, allocations: 1.308 MB / 1.203 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.9417, allocations: 52.25 kB / 1.203 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005227/0.9469, allocations: 2.899 MB / 1.206 GB, free: 2.832 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.9471, allocations: 156.5 kB / 1.206 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000418/0.9476, allocations: 342.4 kB / 1.206 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002838/0.9504, allocations: 2.222 MB / 1.208 GB, free: 1.047 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9504, allocations: 3.938 kB / 1.208 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9504, allocations: 0 / 1.208 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.9505, allocations: 0 / 1.208 GB, free: 1.043 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.00169/0.9522, allocations: 1.003 MB / 1.209 GB, free: 268 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.9522, allocations: 10.19 kB / 1.209 GB, free: 268 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.9533, allocations: 140.9 kB / 1.209 GB, free: 200 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006347/0.9539, allocations: 445.5 kB / 1.21 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.954, allocations: 37.12 kB / 1.21 GB, free: 15.78 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-05/0.9541, allocations: 51.16 kB / 1.21 GB, free: 15.77 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.9552, allocations: 0.6651 MB / 1.211 GB, free: 15.3 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.9552, allocations: 6.281 kB / 1.211 GB, free: 15.3 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.828e-05/0.9553, allocations: 21.47 kB / 1.211 GB, free: 15.28 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.9553, allocations: 18.91 kB / 1.211 GB, free: 15.28 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009702/0.9562, allocations: 487 kB / 1.211 GB, free: 15.05 MB / 0.92 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.003099/0.9594, allocations: 2.985 MB / 1.214 GB, free: 12.25 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005719/0.9599, allocations: 267.8 kB / 1.214 GB, free: 12.12 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.9603, allocations: 171.9 kB / 1.214 GB, free: 12.03 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01741/0.9777, allocations: 5.811 MB / 1.22 GB, free: 6.652 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.9778, allocations: 38.56 kB / 1.22 GB, free: 6.605 MB / 0.92 GB Notification: Performance of pre-optimization done (n=36): time 2.294e-06/0.9778, allocations: 0 / 1.22 GB, free: 6.605 MB / 0.92 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.08612/1.064, allocations: 31.9 MB / 1.251 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/1.064, allocations: 141 kB / 1.251 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005102/1.065, allocations: 369.6 kB / 1.252 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.892e-05/1.065, allocations: 33.7 kB / 1.252 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/1.065, allocations: 292.2 kB / 1.252 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/1.065, allocations: 185.3 kB / 1.252 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/1.065, allocations: 110.1 kB / 1.252 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.065, allocations: 362.8 kB / 1.253 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005653/1.066, allocations: 240.9 kB / 1.253 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006622/1.067, allocations: 372.5 kB / 1.253 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/1.068, allocations: 0.5903 MB / 1.254 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/1.068, allocations: 0 / 1.254 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001999/1.07, allocations: 0.7936 MB / 1.255 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/1.07, allocations: 10.02 kB / 1.255 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.07, allocations: 7.938 kB / 1.255 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005297/1.07, allocations: 121.6 kB / 1.255 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/1.071, allocations: 132.2 kB / 1.255 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003156/1.074, allocations: 3.421 MB / 1.258 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006387/1.075, allocations: 48.06 kB / 1.258 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-05/1.075, allocations: 23.98 kB / 1.258 GB, free: 15.04 MB / 0.9669 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.0002961/1.075, allocations: 193.6 kB / 1.259 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/1.075, allocations: 51.44 kB / 1.259 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/1.077, allocations: 0.7859 MB / 1.259 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/1.077, allocations: 4 kB / 1.259 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/1.077, allocations: 0 / 1.259 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/1.077, allocations: 8.031 kB / 1.259 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/1.08, allocations: 1.61 MB / 1.261 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.08, allocations: 0 / 1.261 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005302/1.081, allocations: 108.2 kB / 1.261 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002576/1.081, allocations: 72.8 kB / 1.261 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.232e-05/1.081, allocations: 16 kB / 1.261 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/1.083, allocations: 1.763 MB / 1.263 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/1.083, allocations: 11.92 kB / 1.263 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/1.085, allocations: 1.028 MB / 1.264 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/1.085, allocations: 132.5 kB / 1.264 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/1.086, allocations: 19.92 kB / 1.264 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005405/1.086, allocations: 23.98 kB / 1.264 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.184e-05/1.086, allocations: 43.89 kB / 1.264 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.517e-05/1.086, allocations: 28.19 kB / 1.264 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004751/1.087, allocations: 362.8 kB / 1.264 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.8e-07/1.087, allocations: 0 / 1.264 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.004337/1.091, allocations: 1.386 MB / 1.266 GB, free: 7.07 MB / 0.9669 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.008059/1.099, allocations: 0.7561 MB / 1.267 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001952/1.101, allocations: 0.8203 MB / 1.267 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.101, allocations: 0 / 1.267 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007936/1.102, allocations: 388.2 kB / 1.268 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/1.104, allocations: 328.2 kB / 1.268 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/1.106, allocations: 1.199 MB / 1.269 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/1.106, allocations: 0.8751 MB / 1.27 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005473/1.107, allocations: 150.2 kB / 1.27 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/1.107, allocations: 63.42 kB / 1.27 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of SimCode: time 4.91e-07/1.107, allocations: 3.938 kB / 1.27 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of Templates: time 0.08369/1.191, allocations: 63.99 MB / 1.333 GB, free: 3.113 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1)