Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.Validation.StratifiedLoadingUnloading,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",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.7568/0.7568, allocations: 128.7 MB / 143.7 MB, free: 2.32 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.0012/0.001201, allocations: 178.4 kB / 173.7 MB, free: 6.129 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.719/1.719, allocations: 205.4 MB / 409 MB, free: 10.5 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.001103/0.001103, allocations: 85.81 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003548, allocations: 9.281 kB / 0.5604 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1654, allocations: 76.77 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.138/1.303, allocations: 368.1 MB / 0.9948 GB, free: 241 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/1.304, allocations: 94.95 kB / 0.9949 GB, free: 241 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.607/8.911, allocations: 2.103 GB / 3.098 GB, free: 65.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.124e-06/8.911, allocations: 0 / 3.098 GB, free: 65.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.001078/8.912, allocations: 189.4 kB / 3.098 GB, free: 65.04 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02612/8.938, allocations: 7.187 MB / 3.105 GB, free: 62.55 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/8.938, allocations: 8.906 kB / 3.105 GB, free: 62.55 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004295/8.942, allocations: 0.8388 MB / 3.106 GB, free: 62.48 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005416/8.948, allocations: 0.828 MB / 3.107 GB, free: 62.08 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02065/8.969, allocations: 8.642 MB / 3.115 GB, free: 61.21 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004964/8.969, allocations: 463.8 kB / 3.116 GB, free: 61.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002781/8.972, allocations: 0.5975 MB / 3.116 GB, free: 61.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02151/8.993, allocations: 8.266 MB / 3.124 GB, free: 60.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002275/8.994, allocations: 28.78 kB / 3.124 GB, free: 60.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001208/8.995, allocations: 255 kB / 3.125 GB, free: 60.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001753/8.995, allocations: 173.3 kB / 3.125 GB, free: 60.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01649/9.012, allocations: 6.881 MB / 3.132 GB, free: 60.25 MB / 0.6823 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.06438/9.076, allocations: 33.6 MB / 3.164 GB, free: 45.91 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007748/9.084, allocations: 4.275 MB / 3.169 GB, free: 45.85 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001255/9.085, allocations: 0.9607 MB / 3.17 GB, free: 44.91 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00455/9.09, allocations: 2.268 MB / 3.172 GB, free: 44.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004217/9.094, allocations: 477 kB / 3.172 GB, free: 44.58 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=325): time 2.469e-05/9.094, allocations: 1.781 kB / 3.172 GB, free: 44.58 MB / 0.6823 GB Notification: Performance of matching and sorting (n=325): time 0.01373/9.108, allocations: 7.029 MB / 3.179 GB, free: 43.95 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/9.108, allocations: 89.16 kB / 3.179 GB, free: 43.88 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008433/9.116, allocations: 5.051 MB / 3.184 GB, free: 43.54 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0008724/9.117, allocations: 85.77 kB / 3.184 GB, free: 43.51 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0031/9.12, allocations: 3.117 MB / 3.187 GB, free: 42.28 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001633/9.122, allocations: 1.137 MB / 3.188 GB, free: 41.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/9.122, allocations: 89.25 kB / 3.188 GB, free: 41.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002316/9.122, allocations: 496.2 kB / 3.189 GB, free: 41.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003001/9.125, allocations: 2.094 MB / 3.191 GB, free: 41.24 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003664/9.129, allocations: 3.663 MB / 3.194 GB, free: 39.36 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003873/9.133, allocations: 2.864 MB / 3.197 GB, free: 39.28 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-05/9.133, allocations: 14.5 kB / 3.197 GB, free: 39.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=576) (initialization): time 0.01112/9.144, allocations: 6.668 MB / 3.204 GB, free: 38.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.734e-05/9.144, allocations: 52.73 kB / 3.204 GB, free: 38.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.478e-05/9.144, allocations: 54.77 kB / 3.204 GB, free: 38.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009184/9.145, allocations: 441 kB / 3.204 GB, free: 38.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003749/9.149, allocations: 1.038 MB / 3.205 GB, free: 38.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005114/9.154, allocations: 5.396 MB / 3.211 GB, free: 35.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006932/9.161, allocations: 436.2 kB / 3.211 GB, free: 35.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009894/9.162, allocations: 220.1 kB / 3.211 GB, free: 35.26 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 544 * Array equations: 0 * Algorithm blocks: 1 * 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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00615/9.168, allocations: 2.46 MB / 3.214 GB, free: 34.27 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002343/9.171, allocations: 0.5157 MB / 3.214 GB, free: 34 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0105/9.181, allocations: 5.515 MB / 3.22 GB, free: 31.89 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/9.181, allocations: 32.5 kB / 3.22 GB, free: 31.89 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/9.181, allocations: 3.25 kB / 3.22 GB, free: 31.89 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005473/9.187, allocations: 4.416 MB / 3.224 GB, free: 30.07 MB / 0.6823 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 postOpt removeSimpleEquations (simulation): time 0.0282/9.215, allocations: 11.48 MB / 3.235 GB, free: 25.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/9.215, allocations: 5.875 kB / 3.235 GB, free: 25.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00295/9.218, allocations: 0.6102 MB / 3.236 GB, free: 25.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008229/9.219, allocations: 366 kB / 3.236 GB, free: 25.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004887/9.219, allocations: 82.42 kB / 3.236 GB, free: 25.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004769/9.224, allocations: 5.318 MB / 3.241 GB, free: 21.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/9.224, allocations: 0 / 3.241 GB, free: 21.64 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01191/9.236, allocations: 7.531 MB / 3.249 GB, free: 18.53 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004797/9.241, allocations: 1.212 MB / 3.25 GB, free: 17.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002099/9.243, allocations: 69.33 kB / 3.25 GB, free: 17.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005206/9.248, allocations: 383 kB / 3.25 GB, free: 17.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005362/9.249, allocations: 199.4 kB / 3.25 GB, free: 17.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004225/9.249, allocations: 109.8 kB / 3.251 GB, free: 17.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.008741/9.258, allocations: 3.98 MB / 3.254 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.41e-07/9.258, allocations: 0 / 3.254 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.009915/9.268, allocations: 2.02 MB / 3.256 GB, free: 13.73 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 20 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,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,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (298): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01592/9.284, allocations: 8.953 MB / 3.265 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009121/9.293, allocations: 5.273 MB / 3.27 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/9.293, allocations: 4.125 kB / 3.27 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004948/9.298, allocations: 2.495 MB / 3.273 GB, free: 15.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01744/9.316, allocations: 3.129 MB / 3.276 GB, free: 13.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6006/9.916, allocations: 84.92 MB / 3.359 GB, free: 38.31 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006971/9.923, allocations: 4.705 MB / 3.363 GB, free: 37.46 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00951/9.933, allocations: 2.038 MB / 3.365 GB, free: 37.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006355/9.939, allocations: 2.646 MB / 3.368 GB, free: 37.41 MB / 0.7136 GB Notification: Performance of SimCode: time 1.854e-06/9.939, allocations: 0.7812 kB / 3.368 GB, free: 37.41 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2956/10.23, allocations: 171.6 MB / 3.536 GB, free: 4.828 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/10.24, allocations: 261.5 kB / 3.536 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.453/17.69, allocations: 0 / 3.536 GB, free: 4.484 MB / 0.7292 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)