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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006486/0.006486, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001384/0.001384, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.894/2.894, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 60.12 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3654, allocations: 157.4 MB / 1.208 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 1.003/1.369, allocations: 162.7 MB / 1.367 GB, free: 4.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0133/1.382, allocations: 8.852 MB / 1.375 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/1.383, allocations: 14.88 kB / 1.375 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001383/1.385, allocations: 359.7 kB / 1.376 GB, free: 14.42 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004404/1.389, allocations: 1.13 MB / 1.377 GB, free: 13.56 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007426/1.397, allocations: 2.132 MB / 1.379 GB, free: 12.04 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002688/1.399, allocations: 1.383 MB / 1.38 GB, free: 11.24 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000778/1.4, allocations: 439.9 kB / 1.381 GB, free: 10.96 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007068/1.407, allocations: 2.139 MB / 1.383 GB, free: 9.547 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004002/1.411, allocations: 1.297 MB / 1.384 GB, free: 8.684 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002995/1.412, allocations: 55.06 kB / 1.384 GB, free: 8.68 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008987/1.421, allocations: 2.892 MB / 1.387 GB, free: 7.195 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004769/1.421, allocations: 155.1 kB / 1.387 GB, free: 7.074 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00125/1.422, allocations: 347.4 kB / 1.387 GB, free: 6.867 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007051/1.429, allocations: 2.206 MB / 1.389 GB, free: 5.422 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/1.429, allocations: 0 / 1.389 GB, free: 5.422 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.465e-06/1.429, allocations: 1.062 kB / 1.389 GB, free: 5.422 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.832e-05/1.429, allocations: 0 / 1.389 GB, free: 5.422 MB / 1.076 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.003994/1.433, allocations: 1.014 MB / 1.39 GB, free: 4.633 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/1.434, allocations: 10.09 kB / 1.39 GB, free: 4.633 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/1.435, allocations: 148.5 kB / 1.391 GB, free: 4.559 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009339/1.436, allocations: 431.2 kB / 1.391 GB, free: 4.176 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/1.436, allocations: 41.94 kB / 1.391 GB, free: 4.152 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.509e-05/1.436, allocations: 54.36 kB / 1.391 GB, free: 4.133 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/1.437, allocations: 0.6614 MB / 1.392 GB, free: 3.676 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/1.437, allocations: 1.625 kB / 1.392 GB, free: 3.676 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.559e-05/1.438, allocations: 26.22 kB / 1.392 GB, free: 3.656 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/1.438, allocations: 17.12 kB / 1.392 GB, free: 3.652 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/1.439, allocations: 491 kB / 1.392 GB, free: 3.418 MB / 1.076 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.003852/1.442, allocations: 2.976 MB / 1.395 GB, free: 0.6367 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006485/1.443, allocations: 266.9 kB / 1.395 GB, free: 0.5 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/1.444, allocations: 170.9 kB / 1.396 GB, free: 420 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0184/1.462, allocations: 5.812 MB / 1.401 GB, free: 13.36 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.024e-05/1.462, allocations: 51.06 kB / 1.401 GB, free: 13.31 MB / 1.092 GB Notification: Performance of pre-optimization done (n=36): time 3.226e-06/1.462, allocations: 0 / 1.401 GB, free: 13.31 MB / 1.092 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.08276/1.545, allocations: 31.86 MB / 1.432 GB, free: 232 kB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.974e-05/1.545, allocations: 140.9 kB / 1.432 GB, free: 60 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005274/1.546, allocations: 373.5 kB / 1.433 GB, free: 15.68 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/1.546, allocations: 37.7 kB / 1.433 GB, free: 15.64 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/1.546, allocations: 292.2 kB / 1.433 GB, free: 15.35 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/1.546, allocations: 185.3 kB / 1.433 GB, free: 15.17 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/1.546, allocations: 106.2 kB / 1.433 GB, free: 15.06 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.546, allocations: 358.8 kB / 1.434 GB, free: 14.7 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005166/1.547, allocations: 233 kB / 1.434 GB, free: 14.47 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006533/1.548, allocations: 372.5 kB / 1.434 GB, free: 14.05 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/1.549, allocations: 0.5942 MB / 1.435 GB, free: 13.42 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.549, allocations: 0 / 1.435 GB, free: 13.42 MB / 1.123 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001951/1.551, allocations: 0.7975 MB / 1.436 GB, free: 12.61 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.551, allocations: 4 kB / 1.436 GB, free: 12.61 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.551, allocations: 7.938 kB / 1.436 GB, free: 12.6 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005154/1.551, allocations: 121.9 kB / 1.436 GB, free: 12.47 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005764/1.552, allocations: 127.8 kB / 1.436 GB, free: 12.35 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003315/1.555, allocations: 3.432 MB / 1.439 GB, free: 8.645 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006839/1.556, allocations: 41.02 kB / 1.439 GB, free: 8.605 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.266e-05/1.556, allocations: 20 kB / 1.439 GB, free: 8.586 MB / 1.123 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.0003236/1.556, allocations: 197.6 kB / 1.44 GB, free: 8.383 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/1.556, allocations: 55.5 kB / 1.44 GB, free: 8.328 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/1.558, allocations: 0.784 MB / 1.44 GB, free: 7.523 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/1.558, allocations: 4 kB / 1.44 GB, free: 7.52 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.558, allocations: 4 kB / 1.44 GB, free: 7.516 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.558, allocations: 4 kB / 1.44 GB, free: 7.512 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/1.561, allocations: 1.616 MB / 1.442 GB, free: 5.797 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.561, allocations: 4 kB / 1.442 GB, free: 5.793 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005292/1.562, allocations: 104 kB / 1.442 GB, free: 5.691 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002603/1.562, allocations: 64.81 kB / 1.442 GB, free: 5.625 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/1.562, allocations: 23.98 kB / 1.442 GB, free: 5.602 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/1.564, allocations: 1.772 MB / 1.444 GB, free: 3.691 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.564, allocations: 4.031 kB / 1.444 GB, free: 3.688 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/1.566, allocations: 1.02 MB / 1.445 GB, free: 2.613 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/1.566, allocations: 136.4 kB / 1.445 GB, free: 2.461 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/1.567, allocations: 19.84 kB / 1.445 GB, free: 2.441 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004947/1.567, allocations: 23.98 kB / 1.445 GB, free: 2.418 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/1.567, allocations: 48 kB / 1.445 GB, free: 2.371 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.844e-05/1.567, allocations: 20 kB / 1.445 GB, free: 2.352 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004693/1.568, allocations: 358.8 kB / 1.445 GB, free: 2 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.568, allocations: 0 / 1.445 GB, free: 2 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.005703/1.573, allocations: 1.39 MB / 1.447 GB, free: 0.6094 MB / 1.123 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.009521/1.583, allocations: 0.7652 MB / 1.448 GB, free: 15.84 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002103/1.585, allocations: 0.8117 MB / 1.448 GB, free: 15 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/1.585, allocations: 0 / 1.448 GB, free: 15 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007893/1.586, allocations: 390.8 kB / 1.449 GB, free: 14.61 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/1.588, allocations: 340.8 kB / 1.449 GB, free: 14.29 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/1.59, allocations: 1.18 MB / 1.45 GB, free: 13.04 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/1.59, allocations: 0.8828 MB / 1.451 GB, free: 12.12 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0005829/1.591, allocations: 152.3 kB / 1.451 GB, free: 11.98 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/1.591, allocations: 59.42 kB / 1.451 GB, free: 11.93 MB / 1.139 GB Notification: Performance of SimCode: time 1.022e-06/1.591, allocations: 0 / 1.451 GB, free: 11.93 MB / 1.139 GB Notification: Performance of Templates: time 0.09764/1.689, allocations: 63.91 MB / 1.514 GB, free: 12.64 MB / 1.201 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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1)