Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 249.5 MB / 257 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 176.8 kB / 316.3 MB, free: 3.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.3 MB / 0.5671 GB, free: 15.92 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007642/0.0007641, allocations: 94.41 kB / 0.6714 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.929e-05/1.931e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2025, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.451/1.653, allocations: 420 MB / 1.295 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/1.653, allocations: 95.19 kB / 1.296 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.932/4.586, allocations: 0.9409 GB / 2.236 GB, free: 15 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.916e-06/4.586, allocations: 4 kB / 2.236 GB, free: 15 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003607/4.586, allocations: 79.92 kB / 2.236 GB, free: 14.92 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.007444/4.594, allocations: 2.683 MB / 2.239 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/4.594, allocations: 12.55 kB / 2.239 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/4.595, allocations: 352 kB / 2.239 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005557/4.601, allocations: 3.018 MB / 2.242 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.921e-05/4.601, allocations: 72 kB / 2.242 GB, free: 8.676 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003126/4.601, allocations: 140 kB / 2.243 GB, free: 8.539 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003453/4.604, allocations: 2.207 MB / 2.245 GB, free: 6.324 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003684/4.608, allocations: 2.632 MB / 2.247 GB, free: 3.559 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.168e-05/4.608, allocations: 7.906 kB / 2.247 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/4.608, allocations: 0 / 2.247 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.431e-05/4.609, allocations: 71.98 kB / 2.247 GB, free: 3.48 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.6353/5.244, allocations: 12.53 MB / 2.26 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/5.247, allocations: 1.565 MB / 2.261 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00186/5.249, allocations: 1.095 MB / 2.262 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007054/5.249, allocations: 0.7135 MB / 2.263 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/5.25, allocations: 48.06 kB / 2.263 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002036/5.252, allocations: 200.8 kB / 2.263 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=126): time 4.448e-06/5.252, allocations: 1.312 kB / 2.263 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=126): time 0.003642/5.255, allocations: 1.631 MB / 2.265 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/5.255, allocations: 144 kB / 2.265 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003021/5.258, allocations: 1.726 MB / 2.267 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001796/5.259, allocations: 33.08 kB / 2.267 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001349/5.26, allocations: 1.25 MB / 2.268 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000458/5.26, allocations: 425.1 kB / 2.268 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-05/5.26, allocations: 2.031 kB / 2.268 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000138/5.261, allocations: 370.5 kB / 2.269 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/5.262, allocations: 0.6571 MB / 2.269 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/5.263, allocations: 1.174 MB / 2.27 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/5.265, allocations: 0.9148 MB / 2.271 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/5.265, allocations: 5.719 kB / 2.271 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004435/5.269, allocations: 2.173 MB / 2.273 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001216/5.271, allocations: 5.682 MB / 2.279 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.133e-05/5.271, allocations: 15.47 kB / 2.279 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/5.272, allocations: 406.3 kB / 2.279 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/5.274, allocations: 359.9 kB / 2.28 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003273/5.277, allocations: 2.977 MB / 2.283 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002801/5.28, allocations: 196.5 kB / 2.283 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/5.28, allocations: 80.39 kB / 2.283 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/5.28, allocations: 11.59 kB / 2.283 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003966/5.284, allocations: 1.904 MB / 2.285 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.191e-05/5.284, allocations: 14.41 kB / 2.285 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005842/5.285, allocations: 211.1 kB / 2.285 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/5.286, allocations: 376.8 kB / 2.285 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003687/5.29, allocations: 3.768 MB / 2.289 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/5.292, allocations: 183.6 kB / 2.289 GB, free: 155 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002074/5.293, allocations: 80.42 kB / 2.289 GB, free: 155 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,nor.y,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005922/5.293, allocations: 150.8 kB / 2.289 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003366/5.297, allocations: 1.626 MB / 2.291 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003756/5.297, allocations: 197.3 kB / 2.291 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003742/5.301, allocations: 1.865 MB / 2.293 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.055e-05/5.301, allocations: 12.22 kB / 2.293 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/5.301, allocations: 11.11 kB / 2.293 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0024/5.303, allocations: 1.494 MB / 2.294 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008619/5.312, allocations: 4.106 MB / 2.298 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/5.312, allocations: 9.625 kB / 2.298 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008609/5.313, allocations: 214.4 kB / 2.299 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001132/5.314, allocations: 373.5 kB / 2.299 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-05/5.314, allocations: 21.8 kB / 2.299 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002566/5.317, allocations: 2.936 MB / 2.302 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/5.317, allocations: 1.375 kB / 2.302 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004395/5.321, allocations: 2.855 MB / 2.305 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/5.322, allocations: 0.5043 MB / 2.305 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003062/5.323, allocations: 15.02 kB / 2.305 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/5.324, allocations: 164.9 kB / 2.305 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/5.324, allocations: 101.4 kB / 2.305 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/5.325, allocations: 51.38 kB / 2.306 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001963/5.327, allocations: 1.309 MB / 2.307 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.1e-07/5.327, allocations: 1.594 kB / 2.307 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005141/5.332, allocations: 1.453 MB / 2.308 GB, free: 151.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 5 (tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffMid.y,onOffBot.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.004884/5.337, allocations: 4.175 MB / 2.312 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005197/5.342, allocations: 3.097 MB / 2.315 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/5.342, allocations: 3.938 kB / 2.315 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001242/5.343, allocations: 0.9244 MB / 2.316 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006151/5.349, allocations: 1.072 MB / 2.317 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/5.36, allocations: 4.921 MB / 2.322 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/5.361, allocations: 2.206 MB / 2.324 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004004/5.365, allocations: 1.358 MB / 2.326 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/5.367, allocations: 0.9814 MB / 2.327 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.072e-06/5.367, allocations: 0 / 2.327 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/5.476, allocations: 65.97 MB / 2.391 GB, free: 145 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/5.476, allocations: 205.7 kB / 2.391 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.082/9.557, allocations: 0 / 2.391 GB, free: 144.8 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)