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.001116/0.001116, allocations: 99.31 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.001293/0.001293, 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.444/1.444, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.032/1.032, allocations: 143.3 MB / 434.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003355, allocations: 16 kB / 0.5159 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2122, allocations: 83.4 MB / 0.5973 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.3893/0.6015, allocations: 41.19 MB / 0.6376 GB, free: 19.54 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01417/0.6157, allocations: 11.98 MB / 0.6493 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002287/0.618, allocations: 58.19 kB / 0.6493 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0024/0.6205, allocations: 0.7512 MB / 0.6501 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006166/0.6266, allocations: 1.989 MB / 0.652 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004135/0.6308, allocations: 1.427 MB / 0.6534 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01316/0.644, allocations: 10.55 MB / 0.6637 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01134/0.6554, allocations: 6.536 MB / 0.6701 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01093/0.6663, allocations: 3.998 MB / 0.674 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009709/0.6761, allocations: 3.435 MB / 0.6773 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002618/0.6788, allocations: 302.3 kB / 0.6776 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007799/0.6866, allocations: 0.8008 MB / 0.6784 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.003664/0.6903, allocations: 1.309 MB / 0.6797 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.005647/0.696, allocations: 1.482 MB / 0.6811 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01759/0.7136, allocations: 10.01 MB / 0.6909 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.7136, allocations: 4 kB / 0.6909 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.375e-06/0.7136, allocations: 4 kB / 0.6909 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000452/0.7141, allocations: 0 / 0.6909 GB, free: 7.793 MB / 0.5137 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.01911/0.7332, allocations: 6.297 MB / 0.6971 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.494e-05/0.7333, allocations: 8.844 kB / 0.6971 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003488/0.7368, allocations: 0.7753 MB / 0.6978 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004475/0.7413, allocations: 0.7821 MB / 0.6986 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01528/0.7566, allocations: 5.693 MB / 0.7042 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004466/0.7571, allocations: 419 kB / 0.7046 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001686/0.7588, allocations: 0.539 MB / 0.7051 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01649/0.7753, allocations: 7.979 MB / 0.7129 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001298/0.7754, allocations: 27.78 kB / 0.7129 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000738/0.7762, allocations: 232 kB / 0.7131 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001603/0.7763, allocations: 160 kB / 0.7133 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01342/0.7898, allocations: 6.493 MB / 0.7196 GB, free: 14.37 MB / 0.545 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.05088/0.8407, allocations: 31.42 MB / 0.7503 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00587/0.8466, allocations: 3.636 MB / 0.7539 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.8476, allocations: 0.8436 MB / 0.7547 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.671e-05/0.8477, allocations: 76.61 kB / 0.7547 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=267): time 4.368e-06/0.8477, allocations: 0 / 0.7547 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=267): time 0.01298/0.8607, allocations: 5.792 MB / 0.7604 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.8608, allocations: 81.45 kB / 0.7605 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01087/0.8717, allocations: 5.403 MB / 0.7658 GB, free: 13 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.00099/0.8728, allocations: 81.7 kB / 0.7658 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003432/0.8762, allocations: 2.868 MB / 0.7686 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002418/0.8786, allocations: 0.9359 MB / 0.7696 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.8789, allocations: 76 kB / 0.7696 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0003085/0.8792, allocations: 457.9 kB / 0.7701 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003186/0.8824, allocations: 1.686 MB / 0.7717 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004051/0.8865, allocations: 2.92 MB / 0.7746 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003802/0.8903, allocations: 2.289 MB / 0.7768 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.71e-05/0.8903, allocations: 16 kB / 0.7768 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01046/0.9008, allocations: 5.449 MB / 0.7821 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.9009, allocations: 24 kB / 0.7822 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.389e-05/0.901, allocations: 40.16 kB / 0.7822 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009548/0.9019, allocations: 426.8 kB / 0.7826 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00326/0.9052, allocations: 0.8502 MB / 0.7834 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005655/0.9109, allocations: 5.337 MB / 0.7886 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006429/0.9173, allocations: 0.6781 MB / 0.7893 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007644/0.9181, allocations: 180 kB / 0.7895 GB, free: 3.758 MB / 0.6075 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.005343/0.9235, allocations: 2.276 MB / 0.7917 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001799/0.9253, allocations: 490.1 kB / 0.7922 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007734/0.933, allocations: 4.223 MB / 0.7963 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.188e-05/0.9331, allocations: 27.98 kB / 0.7963 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/0.9331, allocations: 4 kB / 0.7963 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005645/0.9388, allocations: 3.663 MB / 0.7999 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0243/0.9631, allocations: 10.14 MB / 0.8098 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/0.9632, allocations: 7.953 kB / 0.8098 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002278/0.9654, allocations: 0.4998 MB / 0.8103 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009193/0.9664, allocations: 361.4 kB / 0.8106 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002554/0.9667, allocations: 79.95 kB / 0.8107 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005909/0.9726, allocations: 5.276 MB / 0.8159 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.9726, allocations: 4 kB / 0.8159 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/0.9852, allocations: 6.911 MB / 0.8226 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005441/0.9906, allocations: 1.263 MB / 0.8239 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002451/0.9931, allocations: 56.36 kB / 0.8239 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00561/0.9988, allocations: 346.1 kB / 0.8242 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000533/0.9993, allocations: 177.7 kB / 0.8244 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004236/0.9998, allocations: 131.9 kB / 0.8245 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.007864/1.008, allocations: 3.98 MB / 0.8284 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.5e-07/1.008, allocations: 0 / 0.8284 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008896/1.017, allocations: 1.8 MB / 0.8302 GB, free: 9.141 MB / 0.6544 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.01282/1.029, allocations: 8.678 MB / 0.8387 GB, free: 236 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.007762/1.037, allocations: 4.281 MB / 0.8428 GB, free: 11.91 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/1.037, allocations: 4 kB / 0.8428 GB, free: 11.91 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00323/1.04, allocations: 2.064 MB / 0.8449 GB, free: 9.82 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01838/1.059, allocations: 3.23 MB / 0.848 GB, free: 6.656 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5257/1.585, allocations: 73.36 MB / 0.9196 GB, free: 150.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00875/1.593, allocations: 4.415 MB / 0.924 GB, free: 149.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.009172/1.603, allocations: 1.892 MB / 0.9258 GB, free: 149.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005697/1.608, allocations: 2.438 MB / 0.9282 GB, free: 147.2 MB / 0.67 GB Notification: Performance of SimCode: time 2.916e-06/1.608, allocations: 0 / 0.9282 GB, free: 147.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2346/1.843, allocations: 161.8 MB / 1.086 GB, free: 8.32 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/1.843, allocations: 267.9 kB / 1.086 GB, free: 7.961 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.657/7.5, allocations: 0 / 1.086 GB, free: 7.961 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: