Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IBPSA_latest_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.002004/0.002004, allocations: 97.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 176.2 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.939/2.939, allocations: 223.2 MB / 240.5 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.08/1.08, allocations: 113.7 MB / 405.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007768/0.0007767, allocations: 9.562 kB / 493 MB, free: 8.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3281, allocations: 77.12 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.8063/1.135, allocations: 41.16 MB / 0.5969 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.04087/1.176, allocations: 11.96 MB / 0.6086 GB, free: 7.062 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007314/1.183, allocations: 62.25 kB / 0.6087 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0079/1.191, allocations: 0.7457 MB / 0.6094 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02124/1.212, allocations: 1.99 MB / 0.6113 GB, free: 5.301 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0117/1.224, allocations: 1.427 MB / 0.6127 GB, free: 4.621 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.03538/1.26, allocations: 10.56 MB / 0.623 GB, free: 15.06 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02984/1.29, allocations: 6.532 MB / 0.6294 GB, free: 11.85 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02732/1.317, allocations: 4.001 MB / 0.6333 GB, free: 9.676 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.019/1.336, allocations: 3.428 MB / 0.6367 GB, free: 7.672 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004802/1.341, allocations: 307.7 kB / 0.637 GB, free: 7.668 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01478/1.356, allocations: 0.7972 MB / 0.6377 GB, free: 7.035 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006933/1.363, allocations: 1.308 MB / 0.639 GB, free: 5.723 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01079/1.374, allocations: 1.479 MB / 0.6405 GB, free: 4.234 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02284/1.397, allocations: 9.419 MB / 0.6497 GB, free: 10.8 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/1.397, allocations: 0 / 0.6497 GB, free: 10.8 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.629e-06/1.397, allocations: 0 / 0.6497 GB, free: 10.8 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005941/1.398, allocations: 4 kB / 0.6497 GB, free: 10.8 MB / 478.1 MB 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.02949/1.427, allocations: 6.296 MB / 0.6558 GB, free: 4.426 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.39e-05/1.427, allocations: 8.031 kB / 0.6558 GB, free: 4.418 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005814/1.433, allocations: 0.7601 MB / 0.6566 GB, free: 3.648 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009036/1.442, allocations: 0.7843 MB / 0.6573 GB, free: 2.855 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02346/1.466, allocations: 5.662 MB / 0.6629 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008538/1.467, allocations: 415 kB / 0.6633 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003805/1.47, allocations: 0.5505 MB / 0.6638 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03937/1.51, allocations: 7.979 MB / 0.6716 GB, free: 3.957 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003903/1.51, allocations: 23.86 kB / 0.6716 GB, free: 3.934 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003795/1.514, allocations: 240 kB / 0.6718 GB, free: 3.699 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003633/1.514, allocations: 163.9 kB / 0.672 GB, free: 3.539 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02798/1.542, allocations: 6.485 MB / 0.6783 GB, free: 13.04 MB / 0.4981 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.09533/1.638, allocations: 31.41 MB / 0.709 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01289/1.651, allocations: 3.634 MB / 0.7126 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001992/1.653, allocations: 0.8436 MB / 0.7134 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/1.653, allocations: 68.67 kB / 0.7134 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=267): time 1.096e-05/1.653, allocations: 0 / 0.7134 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.02136/1.675, allocations: 5.79 MB / 0.7191 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/1.675, allocations: 81.47 kB / 0.7192 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01828/1.693, allocations: 5.407 MB / 0.7245 GB, free: 11.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001319/1.694, allocations: 77.7 kB / 0.7245 GB, free: 11.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.006013/1.7, allocations: 2.868 MB / 0.7273 GB, free: 8.699 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003169/1.704, allocations: 0.9359 MB / 0.7282 GB, free: 7.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004409/1.704, allocations: 72 kB / 0.7283 GB, free: 7.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0005297/1.705, allocations: 457.9 kB / 0.7288 GB, free: 7.227 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004706/1.709, allocations: 1.686 MB / 0.7304 GB, free: 5.539 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006679/1.716, allocations: 2.924 MB / 0.7333 GB, free: 2.066 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006641/1.723, allocations: 2.293 MB / 0.7355 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.559e-05/1.723, allocations: 12 kB / 0.7355 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.02037/1.743, allocations: 5.448 MB / 0.7408 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/1.743, allocations: 28.95 kB / 0.7409 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001161/1.744, allocations: 40 kB / 0.7409 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/1.745, allocations: 418.5 kB / 0.7413 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005918/1.751, allocations: 0.858 MB / 0.7421 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/1.762, allocations: 5.35 MB / 0.7474 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0109/1.772, allocations: 0.682 MB / 0.748 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001604/1.774, allocations: 180 kB / 0.7482 GB, free: 2.422 MB / 0.5606 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.009813/1.784, allocations: 2.285 MB / 0.7504 GB, free: 128 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003112/1.787, allocations: 482.2 kB / 0.7509 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/1.801, allocations: 4.206 MB / 0.755 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.131e-05/1.801, allocations: 27.95 kB / 0.755 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.818e-05/1.801, allocations: 4 kB / 0.755 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009969/1.811, allocations: 3.663 MB / 0.7586 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0415/1.853, allocations: 10.12 MB / 0.7685 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.198e-05/1.853, allocations: 4 kB / 0.7685 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004117/1.857, allocations: 0.5116 MB / 0.769 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001597/1.858, allocations: 369.3 kB / 0.7693 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006902/1.859, allocations: 75.95 kB / 0.7694 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/1.87, allocations: 5.264 MB / 0.7745 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/1.87, allocations: 8.062 kB / 0.7746 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02381/1.894, allocations: 6.915 MB / 0.7813 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009519/1.904, allocations: 1.252 MB / 0.7825 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003968/1.908, allocations: 59.98 kB / 0.7826 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01039/1.918, allocations: 346.5 kB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00161/1.92, allocations: 173.6 kB / 0.7831 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001157/1.921, allocations: 131.8 kB / 0.7832 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.01812/1.939, allocations: 3.98 MB / 0.7871 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.393e-06/1.939, allocations: 0 / 0.7871 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.02008/1.959, allocations: 1.796 MB / 0.7889 GB, free: 7.832 MB / 0.6075 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.0271/1.987, allocations: 8.661 MB / 0.7973 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01815/2.005, allocations: 4.281 MB / 0.8015 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.888e-05/2.005, allocations: 3.781 kB / 0.8015 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.008274/2.013, allocations: 2.057 MB / 0.8035 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03456/2.048, allocations: 3.235 MB / 0.8067 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9416/2.989, allocations: 73.36 MB / 0.8783 GB, free: 172.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01271/3.002, allocations: 4.412 MB / 0.8826 GB, free: 171.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.01318/3.016, allocations: 1.892 MB / 0.8845 GB, free: 171.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008077/3.024, allocations: 2.441 MB / 0.8868 GB, free: 169.4 MB / 0.6387 GB Notification: Performance of SimCode: time 2.224e-06/3.024, allocations: 0 / 0.8868 GB, free: 169.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4068/3.431, allocations: 161.3 MB / 1.044 GB, free: 18.05 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003808/3.431, allocations: 251.6 kB / 1.045 GB, free: 17.71 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/13.66, allocations: 3.625 kB / 1.045 GB, free: 17.71 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) Environment - environmentSimulation: