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.001147/0.001147, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.433/1.433, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.949/2.949, allocations: 472.6 MB / 0.7451 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 64.52 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3112, allocations: 159.9 MB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1788/0.49, allocations: 163.2 MB / 1.228 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01069/0.5008, allocations: 8.123 MB / 1.235 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006408/0.5015, allocations: 15.94 kB / 1.235 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.5026, allocations: 345.8 kB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001991/0.5046, allocations: 0.7183 MB / 1.237 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004968/0.5096, allocations: 2.136 MB / 1.239 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001643/0.5112, allocations: 1.372 MB / 1.24 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007396/0.512, allocations: 445.4 kB / 1.24 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003173/0.5152, allocations: 1.412 MB / 1.242 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007756/0.5159, allocations: 442.2 kB / 1.242 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.5161, allocations: 52 kB / 1.242 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006547/0.5226, allocations: 3.527 MB / 1.246 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.5229, allocations: 155.5 kB / 1.246 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004976/0.5234, allocations: 342.5 kB / 1.246 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003788/0.5272, allocations: 2.561 MB / 1.249 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.5272, allocations: 0 / 1.249 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5272, allocations: 0 / 1.249 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.5273, allocations: 4 kB / 1.249 GB, free: 1.023 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.5557/1.083, allocations: 1.011 MB / 1.25 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.083, allocations: 9.375 kB / 1.25 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/1.084, allocations: 139.7 kB / 1.25 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000654/1.085, allocations: 415.9 kB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/1.085, allocations: 38.22 kB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.533e-05/1.085, allocations: 52.27 kB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/1.087, allocations: 0.6628 MB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/1.087, allocations: 1.656 kB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.168e-05/1.087, allocations: 22.69 kB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/1.087, allocations: 14.69 kB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/1.088, allocations: 470.6 kB / 1.251 GB, free: 185.1 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.01628/1.104, allocations: 6.48 MB / 1.258 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/1.104, allocations: 160.5 kB / 1.258 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/1.105, allocations: 121.7 kB / 1.258 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01171/1.116, allocations: 3.809 MB / 1.262 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/1.117, allocations: 41.08 kB / 1.262 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 2.234e-06/1.117, allocations: 0 / 1.262 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.08428/1.201, allocations: 30.35 MB / 1.291 GB, free: 171 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/1.201, allocations: 132.5 kB / 1.292 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004636/1.201, allocations: 464.8 kB / 1.292 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/1.201, allocations: 33.45 kB / 1.292 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/1.202, allocations: 303 kB / 1.292 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.591e-05/1.202, allocations: 144.6 kB / 1.292 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/1.202, allocations: 102.7 kB / 1.293 GB, free: 170 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.431e-05/1.202, allocations: 361.2 kB / 1.293 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/1.202, allocations: 180.7 kB / 1.293 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004315/1.203, allocations: 351.4 kB / 1.293 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007723/1.203, allocations: 0.5212 MB / 1.294 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.203, allocations: 0 / 1.294 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001536/1.205, allocations: 0.701 MB / 1.295 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/1.205, allocations: 8 kB / 1.295 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/1.205, allocations: 4.531 kB / 1.295 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004532/1.206, allocations: 123.7 kB / 1.295 GB, free: 168 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/1.206, allocations: 115.8 kB / 1.295 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/1.208, allocations: 3.413 MB / 1.298 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/1.209, allocations: 27.98 kB / 1.298 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/1.209, allocations: 20.09 kB / 1.298 GB, free: 164.2 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.0002413/1.209, allocations: 197.6 kB / 1.298 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/1.209, allocations: 59.41 kB / 1.298 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/1.21, allocations: 0.6566 MB / 1.299 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/1.21, allocations: 4 kB / 1.299 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/1.21, allocations: 0 / 1.299 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.21, allocations: 4 kB / 1.299 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/1.212, allocations: 1.194 MB / 1.3 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.212, allocations: 4 kB / 1.3 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/1.213, allocations: 75.77 kB / 1.3 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002304/1.213, allocations: 73.3 kB / 1.3 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/1.213, allocations: 12 kB / 1.3 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/1.214, allocations: 1.734 MB / 1.302 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/1.214, allocations: 9.25 kB / 1.302 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/1.215, allocations: 0.7228 MB / 1.303 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.192e-05/1.216, allocations: 124.5 kB / 1.303 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.575e-05/1.216, allocations: 12 kB / 1.303 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/1.216, allocations: 23.98 kB / 1.303 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/1.216, allocations: 35.91 kB / 1.303 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/1.216, allocations: 19.98 kB / 1.303 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003269/1.217, allocations: 358.8 kB / 1.303 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.217, allocations: 0 / 1.303 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001446/1.218, allocations: 0.5584 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.001689/1.22, allocations: 0.5636 MB / 1.304 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001279/1.221, allocations: 0.6766 MB / 1.305 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.221, allocations: 3.609 kB / 1.305 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004599/1.221, allocations: 282.9 kB / 1.305 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.001423/1.223, allocations: 307.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.00148/1.224, allocations: 1.133 MB / 1.307 GB, free: 155 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/1.225, allocations: 0.8627 MB / 1.308 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004572/1.225, allocations: 123.8 kB / 1.308 GB, free: 154 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.688e-05/1.225, allocations: 51.42 kB / 1.308 GB, free: 154 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/1.225, allocations: 0 / 1.308 GB, free: 154 MB / 0.9981 GB Notification: Performance of Templates: time 0.02603/1.251, allocations: 22.96 MB / 1.33 GB, free: 131.2 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)