Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7784/0.7784, allocations: 128.7 MB / 143.7 MB, free: 2.324 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001329/0.001329, allocations: 186.2 kB / 173.7 MB, free: 6.137 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.4 MB / 409 MB, free: 10.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 101 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003448, allocations: 9.281 kB / 0.5604 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1714, allocations: 76.77 MB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.239/1.411, allocations: 388.4 MB / 1.015 GB, free: 170 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/1.411, allocations: 98.48 kB / 1.015 GB, free: 170 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.933/4.345, allocations: 0.9366 GB / 1.951 GB, free: 52.46 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.024e-06/4.345, allocations: 0 / 1.951 GB, free: 52.46 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002586/4.345, allocations: 79.86 kB / 1.951 GB, free: 52.38 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.006092/4.351, allocations: 3.138 MB / 1.955 GB, free: 49.18 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/4.351, allocations: 8.031 kB / 1.955 GB, free: 49.17 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004445/4.351, allocations: 336.8 kB / 1.955 GB, free: 48.83 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008149/4.352, allocations: 344.1 kB / 1.955 GB, free: 48.49 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005397/4.358, allocations: 3.37 MB / 1.958 GB, free: 45.07 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.11e-05/4.358, allocations: 176.6 kB / 1.959 GB, free: 44.89 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002895/4.358, allocations: 239.9 kB / 1.959 GB, free: 44.66 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005016/4.363, allocations: 3.062 MB / 1.962 GB, free: 41.45 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.216e-05/4.363, allocations: 7.922 kB / 1.962 GB, free: 41.45 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002155/4.363, allocations: 100 kB / 1.962 GB, free: 41.35 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.02e-05/4.363, allocations: 63.98 kB / 1.962 GB, free: 41.29 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004043/4.368, allocations: 2.457 MB / 1.964 GB, free: 38.81 MB / 0.6667 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.01415/4.382, allocations: 13.01 MB / 1.977 GB, free: 24.88 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002751/4.384, allocations: 1.695 MB / 1.979 GB, free: 23.15 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006308/4.385, allocations: 0.7126 MB / 1.979 GB, free: 22.29 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/4.385, allocations: 47.56 kB / 1.98 GB, free: 22.24 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001809/4.387, allocations: 223.4 kB / 1.98 GB, free: 22.02 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=123): time 4.178e-06/4.387, allocations: 0 / 1.98 GB, free: 22.02 MB / 0.6667 GB Notification: Performance of matching and sorting (n=123): time 0.009148/4.396, allocations: 3.384 MB / 1.983 GB, free: 18.59 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/4.396, allocations: 141.5 kB / 1.983 GB, free: 18.42 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002932/4.399, allocations: 1.822 MB / 1.985 GB, free: 16.56 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002138/4.399, allocations: 61.69 kB / 1.985 GB, free: 16.49 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001172/4.401, allocations: 1.242 MB / 1.986 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.00039/4.401, allocations: 433.9 kB / 1.987 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.813e-05/4.401, allocations: 36 kB / 1.987 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001282/4.401, allocations: 381.9 kB / 1.987 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/4.402, allocations: 0.7144 MB / 1.988 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/4.404, allocations: 1.272 MB / 1.989 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/4.405, allocations: 0.9433 MB / 1.99 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/4.405, allocations: 8 kB / 1.99 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.003782/4.409, allocations: 2.418 MB / 1.992 GB, free: 8.777 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.00132/4.41, allocations: 6.146 MB / 1.998 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-05/4.41, allocations: 16 kB / 1.998 GB, free: 2.102 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002619/4.413, allocations: 0.5323 MB / 1.999 GB, free: 1.562 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/4.414, allocations: 351.4 kB / 1.999 GB, free: 1.219 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4242/4.838, allocations: 3.325 MB / 2.002 GB, free: 107.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002913/4.841, allocations: 228.5 kB / 2.003 GB, free: 107.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/4.841, allocations: 82.25 kB / 2.003 GB, free: 107.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/4.841, allocations: 6.781 kB / 2.003 GB, free: 107.9 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003455/4.845, allocations: 2.109 MB / 2.005 GB, free: 107.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/4.845, allocations: 19.41 kB / 2.005 GB, free: 107.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005859/4.846, allocations: 240.2 kB / 2.005 GB, free: 107.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/4.847, allocations: 372.8 kB / 2.005 GB, free: 107.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00375/4.851, allocations: 4.208 MB / 2.009 GB, free: 105.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/4.853, allocations: 204.4 kB / 2.01 GB, free: 105.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/4.853, allocations: 82.94 kB / 2.01 GB, free: 105.2 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 176 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.00201/4.855, allocations: 1.001 MB / 2.011 GB, free: 105 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003916/4.855, allocations: 204.9 kB / 2.011 GB, free: 105 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004731/4.86, allocations: 2.164 MB / 2.013 GB, free: 104.9 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/4.86, allocations: 15.19 kB / 2.013 GB, free: 104.9 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/4.86, allocations: 10.33 kB / 2.013 GB, free: 104.9 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003215/4.863, allocations: 1.731 MB / 2.015 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007679/4.871, allocations: 4.461 MB / 2.019 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/4.871, allocations: 0 / 2.019 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008524/4.872, allocations: 192.8 kB / 2.019 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002276/4.874, allocations: 494.5 kB / 2.02 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.694e-05/4.874, allocations: 29.78 kB / 2.02 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003499/4.878, allocations: 3.259 MB / 2.023 GB, free: 102.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/4.878, allocations: 0 / 2.023 GB, free: 102.5 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004112/4.882, allocations: 2.91 MB / 2.026 GB, free: 102.3 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/4.883, allocations: 0.4935 MB / 2.026 GB, free: 102.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/4.884, allocations: 32.69 kB / 2.026 GB, free: 102.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/4.885, allocations: 194 kB / 2.027 GB, free: 102.1 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/4.885, allocations: 94.94 kB / 2.027 GB, free: 102.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/4.885, allocations: 49.23 kB / 2.027 GB, free: 102.1 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002174/4.887, allocations: 1.429 MB / 2.028 GB, free: 101.9 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.9e-07/4.887, allocations: 3.75 kB / 2.028 GB, free: 101.9 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005231/4.893, allocations: 1.484 MB / 2.029 GB, free: 101.8 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (onOffBot.y,onOffMid.y,onOffHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.00601/4.899, allocations: 3.934 MB / 2.033 GB, free: 101 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006339/4.905, allocations: 3.414 MB / 2.037 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/4.905, allocations: 0 / 2.037 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002138/4.907, allocations: 1.088 MB / 2.038 GB, free: 100.4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004792/4.912, allocations: 1.125 MB / 2.039 GB, free: 100.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/4.925, allocations: 17.93 MB / 2.056 GB, free: 87.09 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/4.927, allocations: 2.187 MB / 2.058 GB, free: 86.35 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003161/4.93, allocations: 0.9334 MB / 2.059 GB, free: 86.33 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/4.931, allocations: 1.004 MB / 2.06 GB, free: 86.32 MB / 0.6667 GB Notification: Performance of SimCode: time 1.322e-06/4.931, allocations: 0 / 2.06 GB, free: 86.32 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1051/5.036, allocations: 68.02 MB / 2.127 GB, free: 83.25 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/5.037, allocations: 274.2 kB / 2.127 GB, free: 82.89 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.278/9.315, allocations: 0 / 2.127 GB, free: 82.89 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)