Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008514/0.0008519, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006198/0.006199, allocations: 169 kB / 16.26 MB, free: 6.652 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.528/1.528, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.864/2.864, allocations: 473.4 MB / 0.7469 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003601, allocations: 11.41 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3522, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1763/0.5285, allocations: 159 MB / 1.229 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01404/0.5427, allocations: 8.753 MB / 1.238 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008194/0.5435, allocations: 15.94 kB / 1.238 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.5446, allocations: 294.4 kB / 1.238 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002309/0.547, allocations: 0.6454 MB / 1.239 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005115/0.5521, allocations: 1.77 MB / 1.241 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00248/0.5546, allocations: 1.801 MB / 1.242 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007187/0.5553, allocations: 360.6 kB / 1.243 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003644/0.559, allocations: 1.276 MB / 1.244 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000731/0.5597, allocations: 442.2 kB / 1.244 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.201e-05/0.5598, allocations: 24 kB / 1.244 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006799/0.5666, allocations: 3.523 MB / 1.248 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.5668, allocations: 131.4 kB / 1.248 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005074/0.5674, allocations: 340.2 kB / 1.248 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004177/0.5715, allocations: 2.513 MB / 1.251 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.5716, allocations: 0 / 1.251 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5716, allocations: 0 / 1.251 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.5716, allocations: 0 / 1.251 GB, free: 1.984 MB / 0.9981 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.0021/0.5737, allocations: 0.9045 MB / 1.252 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.5738, allocations: 8.031 kB / 1.252 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.5749, allocations: 143.1 kB / 1.252 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005809/0.5755, allocations: 417.5 kB / 1.252 GB, free: 444 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/0.5756, allocations: 37.31 kB / 1.252 GB, free: 404 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-05/0.5757, allocations: 59.98 kB / 1.252 GB, free: 344 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6406/1.216, allocations: 0.6552 MB / 1.253 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/1.216, allocations: 5.062 kB / 1.253 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.24e-05/1.216, allocations: 24.53 kB / 1.253 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/1.216, allocations: 15 kB / 1.253 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/1.218, allocations: 481 kB / 1.253 GB, free: 15.68 MB / 0.9981 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.0175/1.235, allocations: 6.511 MB / 1.26 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/1.236, allocations: 165.4 kB / 1.26 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/1.236, allocations: 132.8 kB / 1.26 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01171/1.248, allocations: 3.851 MB / 1.264 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/1.248, allocations: 37.42 kB / 1.264 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 2.515e-06/1.248, allocations: 0 / 1.264 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.0806/1.328, allocations: 29.13 MB / 1.292 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/1.329, allocations: 141.4 kB / 1.292 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004812/1.329, allocations: 459.2 kB / 1.293 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/1.329, allocations: 32.58 kB / 1.293 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/1.329, allocations: 309.8 kB / 1.293 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.667e-05/1.329, allocations: 145.5 kB / 1.293 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/1.329, allocations: 44.41 kB / 1.293 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.277e-05/1.329, allocations: 359.1 kB / 1.294 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/1.33, allocations: 188.2 kB / 1.294 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/1.33, allocations: 353 kB / 1.294 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009567/1.331, allocations: 0.5331 MB / 1.295 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.331, allocations: 0 / 1.295 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00162/1.333, allocations: 0.7098 MB / 1.295 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.333, allocations: 7.781 kB / 1.295 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/1.333, allocations: 3.438 kB / 1.295 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004776/1.333, allocations: 125.8 kB / 1.296 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00044/1.334, allocations: 115.4 kB / 1.296 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002588/1.337, allocations: 3.071 MB / 1.299 GB, free: 21.47 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005973/1.337, allocations: 40.2 kB / 1.299 GB, free: 21.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.465e-05/1.337, allocations: 27.64 kB / 1.299 GB, free: 21.46 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 58 * 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.0002822/1.337, allocations: 195.9 kB / 1.299 GB, free: 21.35 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/1.338, allocations: 53.38 kB / 1.299 GB, free: 21.32 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/1.339, allocations: 0.6623 MB / 1.3 GB, free: 21.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/1.339, allocations: 8.969 kB / 1.3 GB, free: 21.18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.339, allocations: 3.938 kB / 1.3 GB, free: 21.18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.339, allocations: 0 / 1.3 GB, free: 21.18 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/1.341, allocations: 1.225 MB / 1.301 GB, free: 20.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.341, allocations: 2.188 kB / 1.301 GB, free: 20.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/1.341, allocations: 67.17 kB / 1.301 GB, free: 20.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002413/1.342, allocations: 73.84 kB / 1.301 GB, free: 20.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/1.342, allocations: 13.78 kB / 1.301 GB, free: 20.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/1.343, allocations: 1.565 MB / 1.303 GB, free: 19.37 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.343, allocations: 12.94 kB / 1.303 GB, free: 19.36 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/1.345, allocations: 0.7431 MB / 1.303 GB, free: 19.05 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/1.345, allocations: 143.2 kB / 1.303 GB, free: 18.93 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.56e-05/1.345, allocations: 12.47 kB / 1.303 GB, free: 18.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/1.345, allocations: 32.25 kB / 1.303 GB, free: 18.93 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/1.345, allocations: 34.62 kB / 1.304 GB, free: 18.92 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/1.345, allocations: 19.67 kB / 1.304 GB, free: 18.92 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003946/1.346, allocations: 354.2 kB / 1.304 GB, free: 18.83 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.31e-07/1.346, allocations: 6.781 kB / 1.304 GB, free: 18.83 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001629/1.347, allocations: 0.5633 MB / 1.304 GB, free: 18.82 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (29): * Single equations (assignments): 28 * 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.001889/1.349, allocations: 0.5552 MB / 1.305 GB, free: 18.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001467/1.351, allocations: 0.6709 MB / 1.306 GB, free: 18.46 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.351, allocations: 2.906 kB / 1.306 GB, free: 18.46 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005656/1.351, allocations: 286.9 kB / 1.306 GB, free: 18.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/1.353, allocations: 300.1 kB / 1.306 GB, free: 18.32 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/1.355, allocations: 1.398 MB / 1.308 GB, free: 17.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/1.355, allocations: 0.862 MB / 1.308 GB, free: 16.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004906/1.356, allocations: 119.9 kB / 1.308 GB, free: 16.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/1.356, allocations: 45.19 kB / 1.309 GB, free: 16.76 MB / 1.014 GB Notification: Performance of SimCode: time 8.22e-07/1.356, allocations: 3.344 kB / 1.309 GB, free: 16.76 MB / 1.014 GB Notification: Performance of Templates: time 0.03396/1.39, allocations: 22.33 MB / 1.33 GB, free: 9.832 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile (rm -f Buildings_3.0.0_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_3.0.0_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_3.0.0_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_3.0.0_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1)