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.7475/0.7475, allocations: 127.4 MB / 134.9 MB, free: 3.715 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.001209/0.001209, allocations: 180.9 kB / 164.7 MB, free: 6.508 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.824/1.824, 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.001188/0.001187, allocations: 86.42 kB / 476.7 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.985e-05/1.987e-05, allocations: 4 kB / 0.5467 GB, free: 60.41 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1927, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.303/1.496, allocations: 367.6 MB / 0.9806 GB, free: 152.1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003651/1.496, allocations: 89.95 kB / 0.9807 GB, free: 152 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.786/9.282, allocations: 2.087 GB / 3.067 GB, free: 65.57 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.404e-06/9.282, allocations: 0 / 3.067 GB, free: 65.57 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.001113/9.283, allocations: 186.4 kB / 3.068 GB, free: 65.54 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02316/9.306, allocations: 6.086 MB / 3.073 GB, free: 61.75 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/9.306, allocations: 7.031 kB / 3.073 GB, free: 61.75 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005837/9.312, allocations: 0.8423 MB / 3.074 GB, free: 61.33 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02258/9.335, allocations: 8.602 MB / 3.083 GB, free: 56.12 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004761/9.335, allocations: 196.3 kB / 3.083 GB, free: 56.12 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003107/9.338, allocations: 359.8 kB / 3.083 GB, free: 56.07 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01679/9.355, allocations: 6.318 MB / 3.089 GB, free: 49.74 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0259/9.381, allocations: 7.282 MB / 3.097 GB, free: 42.16 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000404/9.382, allocations: 15.88 kB / 3.097 GB, free: 42.15 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00237/9.384, allocations: 8 kB / 3.097 GB, free: 42.14 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001855/9.384, allocations: 180 kB / 3.097 GB, free: 41.96 MB / 0.6667 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.05606/9.44, allocations: 32.88 MB / 3.129 GB, free: 7.758 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006577/9.447, allocations: 4.186 MB / 3.133 GB, free: 3.598 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004502/9.451, allocations: 3.044 MB / 3.136 GB, free: 0.5508 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000915/9.452, allocations: 477.8 kB / 3.136 GB, free: 24 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004405/9.457, allocations: 2.086 MB / 3.138 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003686/9.461, allocations: 356.3 kB / 3.139 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=322): time 1.34e-05/9.461, allocations: 0 / 3.139 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=322): time 0.0112/9.472, allocations: 4.508 MB / 3.143 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/9.472, allocations: 85.94 kB / 3.143 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01/9.482, allocations: 4.128 MB / 3.147 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007323/9.483, allocations: 29.7 kB / 3.147 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.003736/9.486, allocations: 3.128 MB / 3.15 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001744/9.488, allocations: 1.094 MB / 3.151 GB, free: 472 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/9.488, allocations: 0 / 3.151 GB, free: 472 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.5089/9.997, allocations: 493.6 kB / 3.152 GB, free: 88.59 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005146/10, allocations: 1.924 MB / 3.154 GB, free: 88.58 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005366/10.01, allocations: 3.461 MB / 3.157 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005737/10.01, allocations: 2.97 MB / 3.16 GB, free: 86.68 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-05/10.01, allocations: 17.78 kB / 3.16 GB, free: 86.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=576) (initialization): time 0.01265/10.03, allocations: 6.215 MB / 3.166 GB, free: 86.54 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.326e-05/10.03, allocations: 55.7 kB / 3.166 GB, free: 86.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/10.03, allocations: 51.41 kB / 3.166 GB, free: 86.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/10.03, allocations: 435.7 kB / 3.167 GB, free: 86.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003989/10.03, allocations: 1.046 MB / 3.168 GB, free: 86.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005963/10.04, allocations: 5.135 MB / 3.173 GB, free: 83.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00668/10.04, allocations: 342.4 kB / 3.173 GB, free: 83.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009185/10.05, allocations: 224 kB / 3.173 GB, free: 83.97 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 () * 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.001005/10.05, allocations: 247.5 kB / 3.173 GB, free: 83.87 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0101/10.06, allocations: 4.519 MB / 3.178 GB, free: 83.67 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001519/10.06, allocations: 459.9 kB / 3.178 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008475/10.07, allocations: 4.95 MB / 3.183 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.893e-05/10.07, allocations: 30.81 kB / 3.183 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/10.07, allocations: 5.844 kB / 3.183 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006321/10.07, allocations: 4.382 MB / 3.187 GB, free: 82.74 MB / 0.6823 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 postOpt removeSimpleEquations (simulation): time 0.02117/10.09, allocations: 10.78 MB / 3.198 GB, free: 82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/10.09, allocations: 2.625 kB / 3.198 GB, free: 82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002729/10.1, allocations: 0.6153 MB / 3.199 GB, free: 82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007858/10.1, allocations: 357.1 kB / 3.199 GB, free: 81.99 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002257/10.1, allocations: 44.91 kB / 3.199 GB, free: 81.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005005/10.1, allocations: 5.054 MB / 3.204 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/10.1, allocations: 3.438 kB / 3.204 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/10.12, allocations: 7.282 MB / 3.211 GB, free: 78.74 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006177/10.12, allocations: 1.134 MB / 3.212 GB, free: 78.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002835/10.12, allocations: 16.44 kB / 3.212 GB, free: 78.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006296/10.13, allocations: 322.8 kB / 3.212 GB, free: 78.39 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007985/10.13, allocations: 210.2 kB / 3.213 GB, free: 78.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005248/10.13, allocations: 106.3 kB / 3.213 GB, free: 78.39 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.007827/10.14, allocations: 3.132 MB / 3.216 GB, free: 78.21 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.81e-07/10.14, allocations: 0 / 3.216 GB, free: 78.21 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.01259/10.15, allocations: 1.975 MB / 3.218 GB, free: 78.06 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) * 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.0155/10.17, allocations: 8.666 MB / 3.226 GB, free: 76.74 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008227/10.18, allocations: 4.866 MB / 3.231 GB, free: 76.42 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.82e-06/10.18, allocations: 0 / 3.231 GB, free: 76.42 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003286/10.18, allocations: 2.301 MB / 3.233 GB, free: 76.18 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01314/10.19, allocations: 2.456 MB / 3.236 GB, free: 76.13 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03607/10.23, allocations: 13.27 MB / 3.249 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006893/10.24, allocations: 4.697 MB / 3.253 GB, free: 73.08 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00789/10.24, allocations: 1.827 MB / 3.255 GB, free: 73.03 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005913/10.25, allocations: 2.616 MB / 3.257 GB, free: 73.02 MB / 0.6823 GB Notification: Performance of SimCode: time 2.244e-06/10.25, allocations: 0 / 3.257 GB, free: 73.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2392/10.49, allocations: 142 MB / 3.396 GB, free: 11.99 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/10.49, allocations: 182 kB / 3.396 GB, free: 11.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.346/16.83, allocations: 0 / 3.396 GB, free: 11.8 MB / 0.698 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)