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.001335/0.001335, 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.002671/0.002671, allocations: 199.2 kB / 16.26 MB, free: 6.625 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.501/1.501, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.797/2.797, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.7 kB / 0.9115 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3353, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1644/0.4998, allocations: 161.1 MB / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01011/0.51, allocations: 8.229 MB / 1.233 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006376/0.5106, allocations: 15.88 kB / 1.233 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009897/0.5117, allocations: 306.4 kB / 1.233 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001843/0.5135, allocations: 0.661 MB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004882/0.5184, allocations: 1.911 MB / 1.236 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001679/0.5201, allocations: 1.368 MB / 1.237 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006382/0.5208, allocations: 433.4 kB / 1.238 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002976/0.5238, allocations: 1.374 MB / 1.239 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005767/0.5244, allocations: 454.2 kB / 1.239 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.585e-05/0.5244, allocations: 52 kB / 1.239 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005676/0.5301, allocations: 3.543 MB / 1.243 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.5303, allocations: 155.4 kB / 1.243 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004041/0.5308, allocations: 350.5 kB / 1.243 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003327/0.5341, allocations: 2.561 MB / 1.246 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5341, allocations: 0 / 1.246 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5341, allocations: 3.938 kB / 1.246 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.5341, allocations: 0 / 1.246 GB, free: 3.648 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.001856/0.536, allocations: 1.021 MB / 1.247 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.536, allocations: 8.031 kB / 1.247 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.5372, allocations: 143.1 kB / 1.247 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005099/0.5377, allocations: 417.6 kB / 1.247 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.5377, allocations: 37.31 kB / 1.247 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.307e-05/0.5378, allocations: 52 kB / 1.248 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.539, allocations: 0.6565 MB / 1.248 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.539, allocations: 7.891 kB / 1.248 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.067e-05/0.5391, allocations: 31.94 kB / 1.248 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.5391, allocations: 16 kB / 1.248 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009495/0.54, allocations: 459.6 kB / 1.249 GB, free: 0.6797 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.5747/1.115, allocations: 6.463 MB / 1.255 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/1.115, allocations: 163 kB / 1.255 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/1.115, allocations: 125 kB / 1.255 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/1.126, allocations: 3.808 MB / 1.259 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/1.126, allocations: 45.61 kB / 1.259 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 2.635e-06/1.126, allocations: 0 / 1.259 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.07938/1.206, allocations: 30.34 MB / 1.289 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/1.206, allocations: 132.5 kB / 1.289 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004534/1.206, allocations: 455.6 kB / 1.289 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/1.206, allocations: 37.45 kB / 1.289 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/1.206, allocations: 313.3 kB / 1.29 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.355e-05/1.206, allocations: 140.7 kB / 1.29 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/1.207, allocations: 103.5 kB / 1.29 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.17e-05/1.207, allocations: 359.8 kB / 1.29 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/1.207, allocations: 180.8 kB / 1.29 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004308/1.208, allocations: 355.1 kB / 1.291 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007334/1.208, allocations: 0.5189 MB / 1.291 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.208, allocations: 0 / 1.291 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001462/1.21, allocations: 0.6947 MB / 1.292 GB, free: 170 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/1.21, allocations: 8 kB / 1.292 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/1.21, allocations: 4 kB / 1.292 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004452/1.21, allocations: 121.4 kB / 1.292 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/1.211, allocations: 120.1 kB / 1.292 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/1.213, allocations: 3.413 MB / 1.295 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005563/1.214, allocations: 39.53 kB / 1.295 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/1.214, allocations: 27.86 kB / 1.295 GB, free: 166.3 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.0002192/1.214, allocations: 197.9 kB / 1.296 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/1.214, allocations: 55.34 kB / 1.296 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/1.215, allocations: 0.6507 MB / 1.296 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/1.215, allocations: 7.172 kB / 1.296 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/1.215, allocations: 4 kB / 1.296 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.215, allocations: 3.984 kB / 1.296 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/1.217, allocations: 1.199 MB / 1.298 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/1.217, allocations: 4 kB / 1.298 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/1.217, allocations: 65.45 kB / 1.298 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002276/1.218, allocations: 65.12 kB / 1.298 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/1.218, allocations: 20 kB / 1.298 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/1.219, allocations: 1.737 MB / 1.299 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.219, allocations: 4 kB / 1.299 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/1.22, allocations: 0.7286 MB / 1.3 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.255e-05/1.22, allocations: 128.5 kB / 1.3 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.604e-05/1.22, allocations: 15.94 kB / 1.3 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/1.221, allocations: 31.91 kB / 1.3 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/1.221, allocations: 39.91 kB / 1.3 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/1.221, allocations: 16 kB / 1.3 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003294/1.221, allocations: 354.8 kB / 1.301 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.221, allocations: 0 / 1.301 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001515/1.223, allocations: 0.5584 MB / 1.301 GB, free: 160.4 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.001809/1.225, allocations: 0.5598 MB / 1.302 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001271/1.226, allocations: 0.6699 MB / 1.302 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.226, allocations: 0 / 1.302 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004576/1.226, allocations: 278.9 kB / 1.303 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/1.228, allocations: 324 kB / 1.303 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/1.229, allocations: 1.333 MB / 1.304 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/1.229, allocations: 0.8589 MB / 1.305 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004613/1.23, allocations: 111.3 kB / 1.305 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.552e-05/1.23, allocations: 43.44 kB / 1.305 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/1.23, allocations: 4 kB / 1.305 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.02566/1.256, allocations: 22.86 MB / 1.328 GB, free: 133.5 MB / 0.9981 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)