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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 99.16 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9828/0.9828, allocations: 143.3 MB / 434.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003934, allocations: 12 kB / 0.5159 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1977, allocations: 83.41 MB / 0.5974 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.3649/0.5626, allocations: 46.82 MB / 0.6431 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01851/0.5811, allocations: 15.56 MB / 0.6583 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002838/0.584, allocations: 71.03 kB / 0.6583 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002784/0.5868, allocations: 0.8071 MB / 0.6591 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007488/0.5943, allocations: 2.163 MB / 0.6612 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00486/0.5992, allocations: 1.575 MB / 0.6628 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01702/0.6163, allocations: 11.43 MB / 0.6739 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01414/0.6304, allocations: 7.156 MB / 0.6809 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01588/0.6464, allocations: 4.474 MB / 0.6853 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0126/0.659, allocations: 3.859 MB / 0.6891 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002437/0.6615, allocations: 347.1 kB / 0.6894 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008125/0.6697, allocations: 0.8402 MB / 0.6902 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.003633/0.6733, allocations: 1.466 MB / 0.6917 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.007763/0.6811, allocations: 1.611 MB / 0.6932 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01833/0.6995, allocations: 10.94 MB / 0.7039 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.6995, allocations: 0 / 0.7039 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.475e-06/0.6995, allocations: 0 / 0.7039 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004705/0.7, allocations: 0 / 0.7039 GB, free: 13.93 MB / 0.5294 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.02208/0.7221, allocations: 6.964 MB / 0.7107 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.7222, allocations: 8.031 kB / 0.7107 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003865/0.726, allocations: 0.8458 MB / 0.7115 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004568/0.7306, allocations: 0.8577 MB / 0.7124 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01667/0.7473, allocations: 6.051 MB / 0.7183 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005994/0.748, allocations: 460.2 kB / 0.7187 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002526/0.7505, allocations: 0.6015 MB / 0.7193 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02266/0.7732, allocations: 8.935 MB / 0.728 GB, free: 5.613 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001839/0.7734, allocations: 23.73 kB / 0.7281 GB, free: 5.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009958/0.7744, allocations: 260 kB / 0.7283 GB, free: 5.336 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001933/0.7746, allocations: 180 kB / 0.7285 GB, free: 5.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01735/0.792, allocations: 7.418 MB / 0.7357 GB, free: 13.73 MB / 0.5606 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.06924/0.8613, allocations: 36.25 MB / 0.7711 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007553/0.8689, allocations: 4.329 MB / 0.7753 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001556/0.8705, allocations: 0.9818 MB / 0.7763 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004404/0.8749, allocations: 2.39 MB / 0.7786 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00398/0.8789, allocations: 475.3 kB / 0.7791 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=317): time 1.185e-05/0.8789, allocations: 4 kB / 0.7791 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=317): time 0.01439/0.8933, allocations: 7.135 MB / 0.7861 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/0.8934, allocations: 97.83 kB / 0.7862 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01083/0.9043, allocations: 5.834 MB / 0.7919 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0009697/0.9053, allocations: 89.7 kB / 0.7919 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.003979/0.9093, allocations: 3.2 MB / 0.7951 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.002191/0.9115, allocations: 1.113 MB / 0.7962 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003831/0.9119, allocations: 92 kB / 0.7962 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0003709/0.9123, allocations: 491.6 kB / 0.7967 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003955/0.9162, allocations: 2.167 MB / 0.7988 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00504/0.9213, allocations: 3.677 MB / 0.8024 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005303/0.9266, allocations: 2.923 MB / 0.8053 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3e-05/0.9267, allocations: 12 kB / 0.8053 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01366/0.9404, allocations: 6.771 MB / 0.8119 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.617e-05/0.9405, allocations: 51.27 kB / 0.8119 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.497e-05/0.9406, allocations: 48 kB / 0.812 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.9417, allocations: 443.5 kB / 0.8124 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004447/0.9461, allocations: 1.065 MB / 0.8135 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006033/0.9522, allocations: 5.318 MB / 0.8186 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007553/0.9598, allocations: 486.7 kB / 0.8191 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/0.961, allocations: 216 kB / 0.8193 GB, free: 4.652 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * 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 (540): * Single equations (assignments): 537 * 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.006692/0.9678, allocations: 2.487 MB / 0.8217 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001961/0.9697, allocations: 0.5249 MB / 0.8223 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/0.9798, allocations: 5.279 MB / 0.8274 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.555e-05/0.9799, allocations: 35.98 kB / 0.8274 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.9799, allocations: 4 kB / 0.8275 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007368/0.9873, allocations: 4.556 MB / 0.8319 GB, free: 7.594 MB / 0.6544 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.0272/1.015, allocations: 12.18 MB / 0.8438 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/1.015, allocations: 4 kB / 0.8438 GB, free: 11.19 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002872/1.017, allocations: 0.6204 MB / 0.8444 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009095/1.018, allocations: 367.2 kB / 0.8448 GB, free: 10.21 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003272/1.019, allocations: 87.95 kB / 0.8448 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00571/1.024, allocations: 5.239 MB / 0.85 GB, free: 4.621 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/1.025, allocations: 4.641 kB / 0.85 GB, free: 4.617 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3793/1.404, allocations: 7.771 MB / 0.8576 GB, free: 189.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00508/1.409, allocations: 1.311 MB / 0.8588 GB, free: 189.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001998/1.411, allocations: 68.75 kB / 0.8589 GB, free: 189.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005271/1.416, allocations: 440.9 kB / 0.8593 GB, free: 189.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000561/1.417, allocations: 206.8 kB / 0.8595 GB, free: 189.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004104/1.417, allocations: 141.1 kB / 0.8597 GB, free: 189.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007659/1.425, allocations: 4.091 MB / 0.8636 GB, free: 189.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 6.51e-07/1.425, allocations: 0.8438 kB / 0.8636 GB, free: 189.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009121/1.434, allocations: 2.01 MB / 0.8656 GB, free: 189.1 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (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,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 (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01424/1.448, allocations: 8.915 MB / 0.8743 GB, free: 185.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009305/1.458, allocations: 5.389 MB / 0.8796 GB, free: 183.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/1.458, allocations: 4.5 kB / 0.8796 GB, free: 183.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004985/1.463, allocations: 2.522 MB / 0.882 GB, free: 182.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01867/1.481, allocations: 3.169 MB / 0.8851 GB, free: 182.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1971/1.679, allocations: 84.8 MB / 0.968 GB, free: 118.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004343/1.683, allocations: 4.747 MB / 0.9726 GB, free: 115.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006703/1.69, allocations: 2.07 MB / 0.9746 GB, free: 114.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004108/1.694, allocations: 2.668 MB / 0.9772 GB, free: 111.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.684e-06/1.694, allocations: 0 / 0.9772 GB, free: 111.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5922/2.286, allocations: 171 MB / 1.144 GB, free: 210 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/2.286, allocations: 262.4 kB / 1.144 GB, free: 209.6 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.848/8.135, allocations: 0 / 1.144 GB, free: 209.6 MB / 0.7012 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) Environment - environmentSimulation: