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.7432/0.7432, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001494, allocations: 183.6 kB / 169.7 MB, free: 1.738 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.845/1.845, allocations: 205.1 MB / 404.5 MB, free: 1.586 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.0009808/0.0009809, allocations: 86.47 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.376e-05/4.433e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1713, allocations: 76.76 MB / 0.6282 GB, free: 9.926 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.251/1.422, allocations: 368 MB / 0.9876 GB, free: 166.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/1.423, allocations: 87.95 kB / 0.9877 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.819/9.242, allocations: 2.098 GB / 3.085 GB, free: 78.01 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.763e-06/9.242, allocations: 0 / 3.085 GB, free: 78.01 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.001128/9.243, allocations: 185.9 kB / 3.086 GB, free: 77.98 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.02354/9.267, allocations: 6.088 MB / 3.091 GB, free: 74.18 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/9.267, allocations: 10.22 kB / 3.091 GB, free: 74.18 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004184/9.271, allocations: 0.8338 MB / 3.092 GB, free: 73.58 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006081/9.277, allocations: 0.8319 MB / 3.093 GB, free: 73.17 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0209/9.298, allocations: 8.615 MB / 3.102 GB, free: 67.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005187/9.298, allocations: 460.8 kB / 3.102 GB, free: 67.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002883/9.301, allocations: 0.5941 MB / 3.103 GB, free: 67.55 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02496/9.326, allocations: 8.153 MB / 3.11 GB, free: 59.24 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004288/9.327, allocations: 23.73 kB / 3.111 GB, free: 59.22 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002394/9.329, allocations: 254.9 kB / 3.111 GB, free: 58.97 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002363/9.33, allocations: 184 kB / 3.111 GB, free: 58.79 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01928/9.349, allocations: 6.702 MB / 3.117 GB, free: 52.09 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 preOpt removeSimpleEquations (simulation): time 0.06092/9.41, allocations: 33.59 MB / 3.15 GB, free: 17.26 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006005/9.416, allocations: 4.181 MB / 3.154 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004007/9.42, allocations: 3.421 MB / 3.158 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/9.421, allocations: 0.9618 MB / 3.159 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002915/9.424, allocations: 2.193 MB / 3.161 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003622/9.428, allocations: 479.3 kB / 3.161 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=325): time 1.27e-05/9.428, allocations: 0 / 3.161 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of matching and sorting (n=325): time 0.007144/9.435, allocations: 4.485 MB / 3.166 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/9.435, allocations: 89.91 kB / 3.166 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5471/9.982, allocations: 4.999 MB / 3.171 GB, free: 86.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.001053/9.983, allocations: 83.86 kB / 3.171 GB, free: 86.45 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.005011/9.988, allocations: 3.115 MB / 3.174 GB, free: 85.94 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.002294/9.99, allocations: 1.146 MB / 3.175 GB, free: 85.37 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003443/9.991, allocations: 90.06 kB / 3.175 GB, free: 85.37 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0003249/9.991, allocations: 0.4919 MB / 3.175 GB, free: 85.06 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003207/9.994, allocations: 2.016 MB / 3.177 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003751/9.998, allocations: 3.578 MB / 3.181 GB, free: 83.17 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004414/10, allocations: 2.804 MB / 3.184 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.407e-05/10, allocations: 14.31 kB / 3.184 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=576) (initialization): time 0.01355/10.02, allocations: 6.499 MB / 3.19 GB, free: 82.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.179e-05/10.02, allocations: 54.17 kB / 3.19 GB, free: 82.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/10.02, allocations: 50.84 kB / 3.19 GB, free: 82.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/10.02, allocations: 432.8 kB / 3.19 GB, free: 82.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004571/10.02, allocations: 1.05 MB / 3.192 GB, free: 82.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006621/10.03, allocations: 5.301 MB / 3.197 GB, free: 79.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007728/10.04, allocations: 432.8 kB / 3.197 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/10.04, allocations: 225.6 kB / 3.197 GB, free: 79.89 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.001274/10.04, allocations: 398.1 kB / 3.198 GB, free: 79.78 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001928/10.04, allocations: 0.5111 MB / 3.198 GB, free: 79.51 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/10.05, allocations: 5.376 MB / 3.203 GB, free: 79.25 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.211e-05/10.05, allocations: 34.47 kB / 3.203 GB, free: 79.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/10.05, allocations: 2.344 kB / 3.203 GB, free: 79.25 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005863/10.06, allocations: 4.273 MB / 3.208 GB, free: 78.79 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.02308/10.08, allocations: 11.47 MB / 3.219 GB, free: 77.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/10.08, allocations: 0 / 3.219 GB, free: 77.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002577/10.08, allocations: 0.6158 MB / 3.219 GB, free: 77.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007886/10.09, allocations: 367 kB / 3.22 GB, free: 77.97 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002471/10.09, allocations: 83.75 kB / 3.22 GB, free: 77.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004546/10.09, allocations: 5.209 MB / 3.225 GB, free: 75.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/10.09, allocations: 0 / 3.225 GB, free: 75.27 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/10.1, allocations: 7.327 MB / 3.232 GB, free: 74.59 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004674/10.11, allocations: 1.205 MB / 3.233 GB, free: 74.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00193/10.11, allocations: 69.12 kB / 3.233 GB, free: 74.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004657/10.11, allocations: 381.9 kB / 3.234 GB, free: 74.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000426/10.11, allocations: 198.7 kB / 3.234 GB, free: 74.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002735/10.11, allocations: 108.4 kB / 3.234 GB, free: 74.21 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00689/10.12, allocations: 3.932 MB / 3.238 GB, free: 74.01 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.41e-07/10.12, allocations: 2.297 kB / 3.238 GB, free: 74.01 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.008753/10.13, allocations: 2.016 MB / 3.24 GB, free: 73.85 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.01461/10.14, allocations: 8.717 MB / 3.248 GB, free: 72.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009625/10.15, allocations: 5.122 MB / 3.253 GB, free: 72.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/10.15, allocations: 3.344 kB / 3.253 GB, free: 72.14 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004/10.16, allocations: 2.393 MB / 3.256 GB, free: 71.87 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01789/10.17, allocations: 3.134 MB / 3.259 GB, free: 71.82 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04287/10.22, allocations: 13.79 MB / 3.272 GB, free: 69.57 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008004/10.23, allocations: 4.701 MB / 3.277 GB, free: 68.72 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.009988/10.24, allocations: 2.001 MB / 3.279 GB, free: 68.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007435/10.24, allocations: 2.654 MB / 3.281 GB, free: 68.58 MB / 0.6823 GB Notification: Performance of SimCode: time 1.443e-06/10.24, allocations: 3.281 kB / 3.281 GB, free: 68.58 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8066/11.05, allocations: 172.5 MB / 3.45 GB, free: 97.77 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/11.05, allocations: 230.2 kB / 3.45 GB, free: 97.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.081/18.13, allocations: 0 / 3.45 GB, free: 97.52 MB / 0.7136 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)