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.7243/0.7243, allocations: 127.4 MB / 134.9 MB, free: 3.742 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.001111/0.001111, allocations: 180.9 kB / 164.7 MB, free: 6.535 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.493/1.493, allocations: 205.2 MB / 399.5 MB, free: 5.93 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.0008536/0.0008537, allocations: 86.34 kB / 476.7 MB, free: 8.652 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.977e-05, allocations: 0 / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1446, allocations: 76.75 MB / 0.6216 GB, free: 15.58 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.101/1.246, allocations: 387.9 MB / 1 GB, free: 132.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/1.246, allocations: 92.5 kB / 1.001 GB, free: 132.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.538/4.784, allocations: 0.9293 GB / 1.93 GB, free: 98.45 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.393e-06/4.784, allocations: 1.438 kB / 1.93 GB, free: 98.45 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002705/4.784, allocations: 78.41 kB / 1.93 GB, free: 98.43 MB / 0.6511 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.005244/4.79, allocations: 2.66 MB / 1.933 GB, free: 97.51 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/4.79, allocations: 13.19 kB / 1.933 GB, free: 97.51 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009495/4.791, allocations: 351.7 kB / 1.933 GB, free: 97.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005455/4.796, allocations: 3.344 MB / 1.936 GB, free: 96.86 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.452e-05/4.796, allocations: 75.19 kB / 1.936 GB, free: 96.86 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002783/4.797, allocations: 137.1 kB / 1.936 GB, free: 96.86 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003326/4.8, allocations: 2.181 MB / 1.938 GB, free: 96.84 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003845/4.804, allocations: 2.6 MB / 1.941 GB, free: 96.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.648e-05/4.804, allocations: 6.781 kB / 1.941 GB, free: 96.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/4.804, allocations: 0 / 1.941 GB, free: 96.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.732e-05/4.804, allocations: 73.73 kB / 1.941 GB, free: 96.5 MB / 0.6511 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.01439/4.819, allocations: 12.92 MB / 1.954 GB, free: 89.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/4.82, allocations: 1.523 MB / 1.955 GB, free: 89.67 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/4.822, allocations: 1.065 MB / 1.956 GB, free: 89.65 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005393/4.822, allocations: 0.5469 MB / 1.957 GB, free: 89.08 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/4.822, allocations: 52.47 kB / 1.957 GB, free: 89.04 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001538/4.824, allocations: 193 kB / 1.957 GB, free: 88.98 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=121): time 3.948e-06/4.824, allocations: 0 / 1.957 GB, free: 88.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=121): time 0.002984/4.827, allocations: 1.656 MB / 1.959 GB, free: 88.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/4.827, allocations: 146 kB / 1.959 GB, free: 88.64 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/4.829, allocations: 1.689 MB / 1.96 GB, free: 88.42 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/4.829, allocations: 33.45 kB / 1.96 GB, free: 88.39 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009493/4.83, allocations: 1.247 MB / 1.962 GB, free: 87.85 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/4.831, allocations: 413.5 kB / 1.962 GB, free: 87.59 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.716e-05/4.831, allocations: 1.812 kB / 1.962 GB, free: 87.59 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001167/4.831, allocations: 377.7 kB / 1.962 GB, free: 87.29 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007703/4.832, allocations: 0.6466 MB / 1.963 GB, free: 87.28 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/4.833, allocations: 1.195 MB / 1.964 GB, free: 86.64 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/4.834, allocations: 0.9033 MB / 1.965 GB, free: 86.62 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/4.834, allocations: 7.531 kB / 1.965 GB, free: 86.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.003048/4.837, allocations: 2.179 MB / 1.967 GB, free: 86.44 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001195/4.838, allocations: 6.125 MB / 1.973 GB, free: 80.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/4.838, allocations: 17.97 kB / 1.973 GB, free: 80.01 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002363/4.841, allocations: 485.5 kB / 1.974 GB, free: 79.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/4.842, allocations: 369.9 kB / 1.974 GB, free: 79.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003437/4.845, allocations: 3.15 MB / 1.977 GB, free: 78.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/4.847, allocations: 191.7 kB / 1.977 GB, free: 78.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/4.847, allocations: 83.55 kB / 1.977 GB, free: 78.14 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/4.847, allocations: 4.938 kB / 1.977 GB, free: 78.14 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002685/4.85, allocations: 1.876 MB / 1.979 GB, free: 78.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/4.85, allocations: 14.56 kB / 1.979 GB, free: 78.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004305/4.85, allocations: 210.2 kB / 1.979 GB, free: 78.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/4.852, allocations: 382.9 kB / 1.98 GB, free: 78.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002929/4.855, allocations: 3.756 MB / 1.983 GB, free: 75.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/4.857, allocations: 168.4 kB / 1.984 GB, free: 75.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/4.857, allocations: 83.66 kB / 1.984 GB, free: 75.5 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (181): * Single equations (assignments): 179 * 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.0003801/4.857, allocations: 157.2 kB / 1.984 GB, free: 75.38 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002362/4.859, allocations: 1.588 MB / 1.985 GB, free: 75.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/4.86, allocations: 202.4 kB / 1.986 GB, free: 75.09 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/4.863, allocations: 1.79 MB / 1.987 GB, free: 74.97 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/4.863, allocations: 9.656 kB / 1.987 GB, free: 74.97 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/4.863, allocations: 3.844 kB / 1.987 GB, free: 74.97 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001968/4.865, allocations: 1.456 MB / 1.989 GB, free: 74.86 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006758/4.871, allocations: 3.941 MB / 1.993 GB, free: 74.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/4.871, allocations: 7.25 kB / 1.993 GB, free: 74.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000855/4.872, allocations: 206.1 kB / 1.993 GB, free: 74.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001894/4.874, allocations: 422.7 kB / 1.993 GB, free: 74.45 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-05/4.874, allocations: 22.62 kB / 1.993 GB, free: 74.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003248/4.878, allocations: 3.074 MB / 1.996 GB, free: 72.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/4.878, allocations: 3.875 kB / 1.996 GB, free: 72.63 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003601/4.881, allocations: 2.694 MB / 1.999 GB, free: 72.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/4.882, allocations: 0.4895 MB / 1.999 GB, free: 72.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/4.883, allocations: 7.781 kB / 1.999 GB, free: 72.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/4.884, allocations: 171 kB / 2 GB, free: 72.05 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/4.884, allocations: 94.95 kB / 2 GB, free: 72.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-05/4.884, allocations: 50.36 kB / 2 GB, free: 72.04 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001863/4.886, allocations: 1.281 MB / 2.001 GB, free: 71.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/4.886, allocations: 0 / 2.001 GB, free: 71.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004991/4.891, allocations: 1.422 MB / 2.002 GB, free: 71.65 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.004815/4.896, allocations: 3.826 MB / 2.006 GB, free: 70.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005348/4.901, allocations: 3.151 MB / 2.009 GB, free: 70.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/4.901, allocations: 0 / 2.009 GB, free: 70.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001881/4.903, allocations: 0.999 MB / 2.01 GB, free: 70.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005303/4.909, allocations: 1.068 MB / 2.011 GB, free: 70.03 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009264/4.918, allocations: 4.851 MB / 2.016 GB, free: 69.08 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001579/4.919, allocations: 2.189 MB / 2.018 GB, free: 68.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00393/4.923, allocations: 1.335 MB / 2.019 GB, free: 68.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/4.925, allocations: 0.9667 MB / 2.02 GB, free: 68.28 MB / 0.6511 GB Notification: Performance of SimCode: time 8.21e-07/4.925, allocations: 0 / 2.02 GB, free: 68.28 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/5.034, allocations: 65.05 MB / 2.084 GB, free: 35.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/5.034, allocations: 207.7 kB / 2.084 GB, free: 35.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.148/9.182, allocations: 0 / 2.084 GB, free: 35.21 MB / 0.6511 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)