Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001367/0.001367, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001695/0.001695, allocations: 200.8 kB / 16.14 MB, free: 6.656 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.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.814/2.814, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 61.94 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3079, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1834/0.4914, allocations: 161.2 MB / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01223/0.5036, allocations: 8.842 MB / 1.234 GB, free: 348 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007389/0.5044, allocations: 19.88 kB / 1.234 GB, free: 328 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.5056, allocations: 290.4 kB / 1.234 GB, free: 36 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002105/0.5078, allocations: 0.6449 MB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004907/0.5127, allocations: 1.77 MB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002433/0.5151, allocations: 1.801 MB / 1.238 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008643/0.516, allocations: 373.1 kB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003659/0.5197, allocations: 1.292 MB / 1.24 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.5207, allocations: 442.1 kB / 1.24 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.5209, allocations: 32 kB / 1.24 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00711/0.5281, allocations: 3.519 MB / 1.243 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002961/0.5284, allocations: 135.5 kB / 1.244 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006109/0.529, allocations: 326.4 kB / 1.244 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004092/0.5331, allocations: 2.541 MB / 1.246 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.5331, allocations: 0 / 1.246 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5331, allocations: 0 / 1.246 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.5331, allocations: 0 / 1.246 GB, free: 3.168 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.002145/0.5353, allocations: 1.014 MB / 1.247 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.5354, allocations: 15.97 kB / 1.247 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.5365, allocations: 143.1 kB / 1.248 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005714/0.5371, allocations: 413.6 kB / 1.248 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/0.5371, allocations: 41.31 kB / 1.248 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-05/0.5372, allocations: 48 kB / 1.248 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.5384, allocations: 0.6603 MB / 1.249 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.5385, allocations: 11.91 kB / 1.249 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.289e-05/0.5385, allocations: 24 kB / 1.249 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.5386, allocations: 16 kB / 1.249 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009889/0.5396, allocations: 463.5 kB / 1.249 GB, free: 208 kB / 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.5577/1.097, allocations: 6.468 MB / 1.255 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/1.098, allocations: 157.8 kB / 1.256 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/1.098, allocations: 120.7 kB / 1.256 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01109/1.109, allocations: 3.807 MB / 1.259 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/1.109, allocations: 48.2 kB / 1.259 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 2.705e-06/1.109, allocations: 0 / 1.259 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.08617/1.196, allocations: 30.35 MB / 1.289 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/1.196, allocations: 136.5 kB / 1.289 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005214/1.196, allocations: 461.6 kB / 1.29 GB, free: 172 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.164e-05/1.196, allocations: 31.83 kB / 1.29 GB, free: 172 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/1.196, allocations: 308.4 kB / 1.29 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.483e-05/1.196, allocations: 140.1 kB / 1.29 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/1.197, allocations: 102.3 kB / 1.29 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.4e-05/1.197, allocations: 367.2 kB / 1.291 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/1.197, allocations: 179.2 kB / 1.291 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004594/1.198, allocations: 351.8 kB / 1.291 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008038/1.198, allocations: 0.5218 MB / 1.292 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.198, allocations: 0 / 1.292 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001623/1.2, allocations: 0.6908 MB / 1.292 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.2, allocations: 4 kB / 1.292 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/1.2, allocations: 8.531 kB / 1.292 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004817/1.201, allocations: 124 kB / 1.292 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/1.201, allocations: 111.4 kB / 1.293 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/1.203, allocations: 3.074 MB / 1.296 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006347/1.204, allocations: 43.66 kB / 1.296 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.194e-05/1.204, allocations: 23.56 kB / 1.296 GB, free: 166.5 MB / 0.9981 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.000272/1.204, allocations: 200.5 kB / 1.296 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/1.205, allocations: 51.44 kB / 1.296 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/1.206, allocations: 0.6593 MB / 1.296 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.206, allocations: 0 / 1.296 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/1.206, allocations: 4.547 kB / 1.296 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.206, allocations: 0 / 1.296 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/1.208, allocations: 1.2 MB / 1.298 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/1.208, allocations: 8.062 kB / 1.298 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/1.208, allocations: 71.83 kB / 1.298 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002559/1.209, allocations: 68.8 kB / 1.298 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/1.209, allocations: 12 kB / 1.298 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/1.21, allocations: 1.56 MB / 1.299 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.21, allocations: 11.94 kB / 1.299 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/1.211, allocations: 0.7229 MB / 1.3 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/1.211, allocations: 124.5 kB / 1.3 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/1.212, allocations: 15.98 kB / 1.3 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004635/1.212, allocations: 23.89 kB / 1.3 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/1.212, allocations: 39.91 kB / 1.3 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/1.212, allocations: 19.98 kB / 1.3 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003779/1.213, allocations: 354.9 kB / 1.301 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.213, allocations: 0 / 1.301 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00172/1.214, allocations: 0.5623 MB / 1.301 GB, free: 160.6 MB / 0.9981 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.002356/1.217, allocations: 0.5568 MB / 1.302 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001476/1.218, allocations: 0.66 MB / 1.302 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.218, allocations: 7.547 kB / 1.302 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005244/1.219, allocations: 278.3 kB / 1.303 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/1.22, allocations: 298.3 kB / 1.303 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/1.222, allocations: 1.327 MB / 1.304 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/1.223, allocations: 0.8745 MB / 1.305 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005499/1.223, allocations: 110 kB / 1.305 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/1.223, allocations: 51.38 kB / 1.305 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.393e-06/1.223, allocations: 0 / 1.305 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03148/1.255, allocations: 22.39 MB / 1.327 GB, free: 134.2 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile (rm -f Buildings_1.6_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_1.6_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_1.6_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_1.6_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1)