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: translateModel(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 99.08 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.001517/0.001517, allocations: 177.3 kB / 15.94 MB, free: 228 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.351/1.351, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9538/0.9538, allocations: 143.3 MB / 434.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003087, allocations: 8 kB / 0.5158 GB, free: 11.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1591, allocations: 83.41 MB / 0.5973 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.2996/0.4588, allocations: 41.19 MB / 0.6375 GB, free: 19.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01351/0.4724, allocations: 11.98 MB / 0.6492 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.4742, allocations: 62.94 kB / 0.6492 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002436/0.4767, allocations: 0.746 MB / 0.65 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006521/0.4832, allocations: 1.994 MB / 0.6519 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003663/0.4869, allocations: 1.425 MB / 0.6533 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01132/0.4982, allocations: 10.55 MB / 0.6636 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009209/0.5075, allocations: 6.532 MB / 0.67 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009057/0.5166, allocations: 4.004 MB / 0.6739 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008219/0.5248, allocations: 3.424 MB / 0.6773 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00156/0.5264, allocations: 301.9 kB / 0.6775 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007762/0.5342, allocations: 0.797 MB / 0.6783 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002522/0.5367, allocations: 1.31 MB / 0.6796 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003917/0.5406, allocations: 1.479 MB / 0.681 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01469/0.5553, allocations: 10.02 MB / 0.6908 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.5554, allocations: 1.156 kB / 0.6908 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5554, allocations: 0 / 0.6908 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004174/0.5558, allocations: 0 / 0.6908 GB, free: 7.84 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.01712/0.573, allocations: 6.293 MB / 0.697 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.573, allocations: 9.531 kB / 0.697 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004386/0.5774, allocations: 0.7937 MB / 0.6978 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01348/0.5909, allocations: 5.69 MB / 0.7033 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003345/0.5913, allocations: 426.9 kB / 0.7037 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001442/0.5927, allocations: 0.5428 MB / 0.7042 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01561/0.6083, allocations: 7.983 MB / 0.712 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001224/0.6085, allocations: 23.77 kB / 0.7121 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007169/0.6092, allocations: 240 kB / 0.7123 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001587/0.6094, allocations: 156 kB / 0.7124 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01189/0.6213, allocations: 6.489 MB / 0.7188 GB, free: 15.24 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.04492/0.6662, allocations: 31.43 MB / 0.7495 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005907/0.6722, allocations: 3.637 MB / 0.753 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/0.6732, allocations: 0.8358 MB / 0.7538 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.094e-05/0.6733, allocations: 72.61 kB / 0.7539 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=267): time 4.759e-06/0.6733, allocations: 4 kB / 0.7539 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=267): time 0.01155/0.6849, allocations: 5.796 MB / 0.7596 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.685, allocations: 81.45 kB / 0.7596 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009333/0.6943, allocations: 5.403 MB / 0.7649 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0007739/0.6951, allocations: 81.7 kB / 0.765 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002769/0.6979, allocations: 2.868 MB / 0.7678 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001827/0.6997, allocations: 0.932 MB / 0.7687 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002678/0.7, allocations: 76 kB / 0.7688 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0004791/0.7005, allocations: 461.9 kB / 0.7692 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002872/0.7034, allocations: 1.686 MB / 0.7709 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003679/0.7071, allocations: 2.92 MB / 0.7737 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003752/0.7108, allocations: 2.293 MB / 0.776 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.309e-05/0.7109, allocations: 15.94 kB / 0.776 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01001/0.7209, allocations: 5.457 MB / 0.7813 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.721, allocations: 25.56 kB / 0.7813 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.993e-05/0.721, allocations: 40 kB / 0.7814 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009944/0.722, allocations: 419.7 kB / 0.7818 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003281/0.7253, allocations: 0.8579 MB / 0.7826 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005897/0.7312, allocations: 5.325 MB / 0.7878 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005921/0.7372, allocations: 0.6852 MB / 0.7885 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005877/0.7378, allocations: 180 kB / 0.7887 GB, free: 4.617 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.004927/0.7427, allocations: 2.288 MB / 0.7909 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001552/0.7443, allocations: 490.1 kB / 0.7914 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007572/0.7519, allocations: 4.212 MB / 0.7955 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.091e-05/0.7519, allocations: 24 kB / 0.7955 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.752, allocations: 4 kB / 0.7955 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005637/0.7576, allocations: 3.663 MB / 0.7991 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02086/0.7785, allocations: 10.15 MB / 0.809 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.7786, allocations: 4 kB / 0.809 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00242/0.781, allocations: 0.5032 MB / 0.8095 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009567/0.782, allocations: 371.8 kB / 0.8098 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002848/0.7823, allocations: 67.97 kB / 0.8099 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00584/0.7881, allocations: 5.277 MB / 0.815 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.7881, allocations: 4.938 kB / 0.815 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01105/0.7992, allocations: 6.911 MB / 0.8218 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0043/0.8035, allocations: 1.259 MB / 0.823 GB, free: 476 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001655/0.8052, allocations: 59.98 kB / 0.8231 GB, free: 416 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004364/0.8096, allocations: 344.2 kB / 0.8234 GB, free: 80 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003704/0.81, allocations: 181.7 kB / 0.8236 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003371/0.8103, allocations: 127.9 kB / 0.8237 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.007192/0.8175, allocations: 3.972 MB / 0.8276 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.954e-06/0.8176, allocations: 0 / 0.8276 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.007978/0.8255, allocations: 1.804 MB / 0.8293 GB, free: 10.01 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.001525/0.8271, allocations: 494.4 kB / 0.8298 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0077/0.8348, allocations: 4.282 MB / 0.834 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/0.8349, allocations: 4 kB / 0.834 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003376/0.8382, allocations: 2.047 MB / 0.836 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0167/0.855, allocations: 3.238 MB / 0.8392 GB, free: 15.96 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02456/0.8796, allocations: 14.65 MB / 0.8535 GB, free: 1.227 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2505/1.13, allocations: 4.418 MB / 0.8578 GB, free: 193.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006087/1.136, allocations: 1.888 MB / 0.8596 GB, free: 193.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/1.138, allocations: 414 kB / 0.86 GB, free: 193.7 MB / 0.67 GB Notification: Performance of SimCode: time 9.32e-07/1.138, allocations: 0 / 0.86 GB, free: 193.7 MB / 0.67 GB Notification: Performance of Templates: time 0.1443/1.282, allocations: 109.2 MB / 0.9666 GB, free: 129.1 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile Environment - environmentSimulation: (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) Environment - environmentSimulation: