Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.StratifiedNonUniformInitial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial",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.0007428/0.0007427, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0009255/0.0009255, allocations: 172.7 kB / 15.95 MB, free: 208 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.334/1.334, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9466/0.9466, allocations: 143.4 MB / 434.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003223, allocations: 12 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1671, allocations: 83.41 MB / 0.5975 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.3548/0.5218, allocations: 45.33 MB / 0.6418 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01404/0.5359, allocations: 12.98 MB / 0.6545 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002433/0.5384, allocations: 56.44 kB / 0.6545 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.54, allocations: 0.5721 MB / 0.6551 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004752/0.5448, allocations: 1.789 MB / 0.6568 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.5474, allocations: 0.9425 MB / 0.6577 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0215/0.5689, allocations: 21.74 MB / 0.679 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01086/0.5798, allocations: 6.53 MB / 0.6854 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01254/0.5924, allocations: 4.779 MB / 0.69 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01291/0.6053, allocations: 4.926 MB / 0.6948 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002916/0.6083, allocations: 302.6 kB / 0.6951 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007882/0.6162, allocations: 0.7447 MB / 0.6958 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.004054/0.6203, allocations: 1.362 MB / 0.6972 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.005343/0.6256, allocations: 1.475 MB / 0.6986 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01343/0.6391, allocations: 10.06 MB / 0.7084 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.6391, allocations: 0 / 0.7084 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6391, allocations: 0 / 0.7084 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004904/0.6396, allocations: 0 / 0.7084 GB, free: 10.49 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: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01883/0.6585, allocations: 6.313 MB / 0.7146 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.6585, allocations: 12.03 kB / 0.7146 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002905/0.6615, allocations: 0.7718 MB / 0.7154 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003803/0.6653, allocations: 0.7804 MB / 0.7161 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01472/0.68, allocations: 6.118 MB / 0.7221 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005847/0.6806, allocations: 415 kB / 0.7225 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002021/0.6827, allocations: 0.5428 MB / 0.723 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01908/0.7018, allocations: 8.029 MB / 0.7309 GB, free: 3.129 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002754/0.7021, allocations: 19.78 kB / 0.7309 GB, free: 3.109 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00152/0.7036, allocations: 236 kB / 0.7311 GB, free: 2.879 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/0.7038, allocations: 167.9 kB / 0.7313 GB, free: 2.715 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01378/0.7176, allocations: 6.485 MB / 0.7376 GB, free: 12.22 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.04888/0.7665, allocations: 31.17 MB / 0.768 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006229/0.7728, allocations: 3.637 MB / 0.7716 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004321/0.7772, allocations: 2.879 MB / 0.7744 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009842/0.7782, allocations: 0.8398 MB / 0.7752 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.219e-05/0.7783, allocations: 68.67 kB / 0.7753 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 4.95e-06/0.7783, allocations: 7.875 kB / 0.7753 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.01155/0.7899, allocations: 5.743 MB / 0.7809 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.7899, allocations: 77.52 kB / 0.781 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009469/0.7994, allocations: 4.989 MB / 0.7859 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.00059/0.8, allocations: 81.7 kB / 0.7859 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002795/0.8028, allocations: 2.868 MB / 0.7887 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001371/0.8042, allocations: 0.9437 MB / 0.7897 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003502/0.8046, allocations: 72 kB / 0.7897 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0003028/0.8049, allocations: 457.9 kB / 0.7902 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002906/0.8078, allocations: 1.662 MB / 0.7918 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003817/0.8116, allocations: 2.916 MB / 0.7946 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003644/0.8153, allocations: 2.269 MB / 0.7969 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-05/0.8153, allocations: 16 kB / 0.7969 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009926/0.8253, allocations: 5.406 MB / 0.8021 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.305e-05/0.8253, allocations: 20 kB / 0.8022 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.748e-05/0.8254, allocations: 40 kB / 0.8022 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.8264, allocations: 431.6 kB / 0.8026 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/0.8295, allocations: 0.8541 MB / 0.8034 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006759/0.8362, allocations: 5.258 MB / 0.8086 GB, free: 476 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004956/0.8412, allocations: 0.6434 MB / 0.8092 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005558/0.8418, allocations: 180 kB / 0.8094 GB, free: 15.64 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (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 (447): * Single equations (assignments): 445 * 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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004361/0.8462, allocations: 2.285 MB / 0.8116 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001624/0.8478, allocations: 494.1 kB / 0.8121 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007768/0.8556, allocations: 4.17 MB / 0.8162 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.07e-05/0.8556, allocations: 24 kB / 0.8162 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/0.8557, allocations: 8 kB / 0.8162 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00527/0.8609, allocations: 3.618 MB / 0.8197 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0192/0.8801, allocations: 10.19 MB / 0.8297 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/0.8802, allocations: 15.94 kB / 0.8297 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002064/0.8823, allocations: 0.4995 MB / 0.8302 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008243/0.8831, allocations: 367.2 kB / 0.8305 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002422/0.8834, allocations: 87.83 kB / 0.8306 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005336/0.8887, allocations: 5.204 MB / 0.8357 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.8887, allocations: 4 kB / 0.8357 GB, free: 4.062 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00977/0.8985, allocations: 6.223 MB / 0.8418 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003613/0.9021, allocations: 1.17 MB / 0.8429 GB, free: 12.47 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001613/0.9038, allocations: 59.98 kB / 0.843 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003924/0.9077, allocations: 337.2 kB / 0.8433 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003177/0.908, allocations: 169.7 kB / 0.8435 GB, free: 11.92 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003612/0.9084, allocations: 131.9 kB / 0.8436 GB, free: 11.79 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007025/0.9154, allocations: 3.644 MB / 0.8471 GB, free: 8.164 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9155, allocations: 4 kB / 0.8471 GB, free: 8.16 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006416/0.9219, allocations: 1.773 MB / 0.8489 GB, free: 6.383 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.3255/1.247, allocations: 7.134 MB / 0.8558 GB, free: 188.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006411/1.254, allocations: 4.232 MB / 0.86 GB, free: 188 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/1.254, allocations: 3 kB / 0.86 GB, free: 188 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002644/1.257, allocations: 2.036 MB / 0.862 GB, free: 187.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01389/1.27, allocations: 3.279 MB / 0.8652 GB, free: 187.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1223/1.393, allocations: 45.99 MB / 0.9101 GB, free: 161.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006863/1.4, allocations: 4.299 MB / 0.9143 GB, free: 160 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007473/1.407, allocations: 1.838 MB / 0.9161 GB, free: 159.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005279/1.412, allocations: 2.442 MB / 0.9185 GB, free: 157.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.302e-06/1.412, allocations: 1.031 kB / 0.9185 GB, free: 157.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1973/1.61, allocations: 160.3 MB / 1.075 GB, free: 15.42 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001495/1.61, allocations: 270.2 kB / 1.075 GB, free: 15.06 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.987/6.597, allocations: 0 / 1.075 GB, free: 15.06 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) Environment - environmentSimulation: