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.001222/0.001222, 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.001254/0.001254, allocations: 192.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.462/1.462, 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.95/2.95, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 69.41 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.304, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1766/0.4807, allocations: 161.1 MB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0113/0.492, allocations: 8.838 MB / 1.234 GB, free: 308 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007966/0.4929, allocations: 11.94 kB / 1.234 GB, free: 296 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.4941, allocations: 298.5 kB / 1.234 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.496, allocations: 0.6414 MB / 1.234 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004754/0.5008, allocations: 1.774 MB / 1.236 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002007/0.5028, allocations: 1.793 MB / 1.238 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006089/0.5034, allocations: 369.1 kB / 1.238 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003273/0.5067, allocations: 1.292 MB / 1.24 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006635/0.5074, allocations: 450.1 kB / 1.24 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.793e-05/0.5075, allocations: 28 kB / 1.24 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006326/0.5138, allocations: 3.527 MB / 1.243 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002616/0.5141, allocations: 139.4 kB / 1.244 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005085/0.5147, allocations: 314.5 kB / 1.244 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004003/0.5187, allocations: 2.541 MB / 1.246 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.5187, allocations: 4 kB / 1.246 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5187, allocations: 0 / 1.246 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.5187, allocations: 0 / 1.246 GB, free: 3.133 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.002038/0.5208, allocations: 1.021 MB / 1.247 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.5208, allocations: 8.031 kB / 1.247 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.522, allocations: 143.1 kB / 1.248 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005718/0.5226, allocations: 405.7 kB / 1.248 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/0.5226, allocations: 45.25 kB / 1.248 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.604e-05/0.5227, allocations: 55.98 kB / 1.248 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.5239, allocations: 0.6564 MB / 1.249 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.5239, allocations: 3.906 kB / 1.249 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.519e-05/0.524, allocations: 32 kB / 1.249 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.524, allocations: 12 kB / 1.249 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009548/0.525, allocations: 471.5 kB / 1.249 GB, free: 168 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.5925/1.118, allocations: 6.463 MB / 1.255 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005043/1.118, allocations: 164.2 kB / 1.256 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/1.118, allocations: 121 kB / 1.256 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01341/1.132, allocations: 3.806 MB / 1.259 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/1.132, allocations: 45.33 kB / 1.259 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 2.475e-06/1.132, allocations: 2.375 kB / 1.259 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.08624/1.218, allocations: 30.34 MB / 1.289 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/1.218, allocations: 136.4 kB / 1.289 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000566/1.219, allocations: 457.7 kB / 1.29 GB, free: 172 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.562e-05/1.219, allocations: 32.52 kB / 1.29 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/1.219, allocations: 310.7 kB / 1.29 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.901e-05/1.219, allocations: 143.2 kB / 1.29 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/1.219, allocations: 104.6 kB / 1.29 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/1.219, allocations: 361.8 kB / 1.291 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003799/1.22, allocations: 180.8 kB / 1.291 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/1.22, allocations: 356.9 kB / 1.291 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007545/1.221, allocations: 0.5164 MB / 1.292 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/1.221, allocations: 0 / 1.292 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001638/1.223, allocations: 0.6956 MB / 1.292 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.223, allocations: 8 kB / 1.292 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/1.223, allocations: 4 kB / 1.292 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004974/1.223, allocations: 122.7 kB / 1.292 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004351/1.224, allocations: 115.2 kB / 1.293 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/1.226, allocations: 3.069 MB / 1.296 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006262/1.227, allocations: 46.31 kB / 1.296 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/1.227, allocations: 23.62 kB / 1.296 GB, free: 166.4 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.000275/1.227, allocations: 191.5 kB / 1.296 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/1.227, allocations: 55.34 kB / 1.296 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/1.229, allocations: 0.6523 MB / 1.296 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/1.229, allocations: 4 kB / 1.296 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/1.229, allocations: 0 / 1.296 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.229, allocations: 4 kB / 1.296 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/1.231, allocations: 1.192 MB / 1.298 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/1.231, allocations: 4 kB / 1.298 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/1.231, allocations: 75.92 kB / 1.298 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002491/1.231, allocations: 68.56 kB / 1.298 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/1.231, allocations: 15.98 kB / 1.298 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/1.233, allocations: 1.563 MB / 1.299 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.233, allocations: 7.938 kB / 1.299 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/1.234, allocations: 0.7322 MB / 1.3 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/1.234, allocations: 124.5 kB / 1.3 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/1.234, allocations: 8 kB / 1.3 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/1.235, allocations: 31.91 kB / 1.3 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.339e-05/1.235, allocations: 39.91 kB / 1.3 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/1.235, allocations: 16 kB / 1.3 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003625/1.235, allocations: 358.8 kB / 1.301 GB, free: 161 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.235, allocations: 0 / 1.301 GB, free: 161 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00164/1.237, allocations: 0.5584 MB / 1.301 GB, free: 160.5 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.00233/1.239, allocations: 0.562 MB / 1.302 GB, free: 160 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001418/1.241, allocations: 0.6577 MB / 1.302 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.241, allocations: 7.609 kB / 1.302 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000487/1.241, allocations: 278.4 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.001629/1.243, allocations: 300.7 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.001716/1.244, allocations: 1.332 MB / 1.304 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/1.245, allocations: 0.8667 MB / 1.305 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005155/1.245, allocations: 106.2 kB / 1.305 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/1.245, allocations: 55.3 kB / 1.305 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/1.245, allocations: 0 / 1.305 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03043/1.276, allocations: 22.4 MB / 1.327 GB, free: 134.1 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)