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.0009191/0.0009191, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006711/0.006711, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.494/1.494, 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.952/2.952, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006352/0.0006353, allocations: 15.56 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3283, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1687/0.497, allocations: 159 MB / 1.229 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.5084, allocations: 8.741 MB / 1.238 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000763/0.5092, allocations: 11.94 kB / 1.238 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.5104, allocations: 298.4 kB / 1.238 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002035/0.5124, allocations: 0.6481 MB / 1.239 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005168/0.5176, allocations: 1.768 MB / 1.241 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002217/0.5198, allocations: 1.801 MB / 1.242 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006211/0.5205, allocations: 360.5 kB / 1.243 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003234/0.5237, allocations: 1.28 MB / 1.244 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007135/0.5244, allocations: 438.2 kB / 1.244 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.175e-05/0.5245, allocations: 24 kB / 1.244 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006435/0.531, allocations: 3.523 MB / 1.248 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.5312, allocations: 135.4 kB / 1.248 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000517/0.5318, allocations: 336.2 kB / 1.248 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005331/0.5371, allocations: 2.517 MB / 1.251 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.5371, allocations: 0 / 1.251 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.056e-06/0.5372, allocations: 4 kB / 1.251 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.5372, 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.00269/0.5399, allocations: 0.9005 MB / 1.252 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.547e-05/0.54, allocations: 12.03 kB / 1.252 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.5412, allocations: 139.2 kB / 1.252 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006619/0.5419, allocations: 417.6 kB / 1.252 GB, free: 448 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.788e-05/0.542, allocations: 37.31 kB / 1.252 GB, free: 408 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-05/0.5421, allocations: 52 kB / 1.252 GB, free: 356 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5858/1.128, allocations: 0.6578 MB / 1.253 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/1.128, allocations: 3.938 kB / 1.253 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/1.128, allocations: 27.16 kB / 1.253 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/1.128, allocations: 15.7 kB / 1.253 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/1.129, allocations: 482.3 kB / 1.253 GB, free: 182.4 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.01676/1.146, allocations: 6.511 MB / 1.26 GB, free: 180 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/1.146, allocations: 174.8 kB / 1.26 GB, free: 180 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/1.147, allocations: 126.8 kB / 1.26 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/1.159, allocations: 3.855 MB / 1.264 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.678e-05/1.159, allocations: 37.91 kB / 1.264 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 2.054e-06/1.159, allocations: 2.625 kB / 1.264 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.0819/1.241, allocations: 29.14 MB / 1.292 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/1.241, allocations: 132.5 kB / 1.292 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/1.241, allocations: 459.6 kB / 1.293 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/1.241, allocations: 36.89 kB / 1.293 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/1.241, allocations: 313 kB / 1.293 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.76e-05/1.241, allocations: 137 kB / 1.293 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/1.241, allocations: 47.08 kB / 1.293 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.956e-05/1.242, allocations: 361.1 kB / 1.294 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003738/1.242, allocations: 186.6 kB / 1.294 GB, free: 169 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/1.242, allocations: 353.3 kB / 1.294 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008532/1.243, allocations: 0.531 MB / 1.295 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.243, allocations: 4 kB / 1.295 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001688/1.245, allocations: 0.705 MB / 1.295 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.245, allocations: 8 kB / 1.295 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.245, allocations: 4.656 kB / 1.295 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000461/1.245, allocations: 114.7 kB / 1.296 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/1.246, allocations: 122.1 kB / 1.296 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/1.248, allocations: 3.076 MB / 1.299 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000565/1.249, allocations: 45.14 kB / 1.299 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/1.249, allocations: 27.98 kB / 1.299 GB, free: 164.1 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.0002261/1.249, allocations: 193.6 kB / 1.299 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/1.249, allocations: 57.12 kB / 1.299 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/1.25, allocations: 0.6611 MB / 1.3 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/1.25, allocations: 4 kB / 1.3 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/1.25, allocations: 3.938 kB / 1.3 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/1.25, allocations: 7.922 kB / 1.3 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/1.252, allocations: 1.207 MB / 1.301 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/1.252, allocations: 4 kB / 1.301 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/1.253, allocations: 67.84 kB / 1.301 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002371/1.253, allocations: 77.11 kB / 1.301 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/1.253, allocations: 16 kB / 1.301 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/1.254, allocations: 1.565 MB / 1.303 GB, free: 160 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.254, allocations: 4 kB / 1.303 GB, free: 160 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/1.255, allocations: 0.7439 MB / 1.303 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/1.256, allocations: 152.4 kB / 1.303 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.539e-05/1.256, allocations: 12 kB / 1.303 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/1.256, allocations: 31.94 kB / 1.303 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/1.256, allocations: 40.41 kB / 1.304 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/1.256, allocations: 12 kB / 1.304 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003616/1.257, allocations: 358.8 kB / 1.304 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.257, allocations: 1.031 kB / 1.304 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001676/1.258, allocations: 0.5623 MB / 1.304 GB, free: 158 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.001856/1.26, allocations: 0.5636 MB / 1.305 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001356/1.261, allocations: 0.6677 MB / 1.306 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.262, allocations: 0 / 1.306 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004824/1.262, allocations: 292.1 kB / 1.306 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/1.264, allocations: 296.5 kB / 1.306 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/1.265, allocations: 1.389 MB / 1.308 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/1.266, allocations: 0.8745 MB / 1.308 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004873/1.266, allocations: 114.5 kB / 1.308 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/1.266, allocations: 47.42 kB / 1.309 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/1.266, allocations: 0 / 1.309 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.02826/1.295, allocations: 22.33 MB / 1.33 GB, free: 131.6 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)