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.000703/0.000703, allocations: 92.62 kB / 15.7 MB, free: 472 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.0007584/0.0007585, allocations: 175.4 kB / 16.58 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6179/0.6179, allocations: 113.7 MB / 405.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002763/0.0002764, allocations: 12 kB / 493.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1145, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.2532/0.3677, allocations: 45.32 MB / 0.6011 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01545/0.3832, allocations: 12.94 MB / 0.6138 GB, free: 3.781 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.3851, allocations: 66.94 kB / 0.6138 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.3865, allocations: 0.5752 MB / 0.6144 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004146/0.3906, allocations: 1.797 MB / 0.6162 GB, free: 2.398 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.393, allocations: 0.941 MB / 0.6171 GB, free: 1.949 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01719/0.4102, allocations: 21.75 MB / 0.6383 GB, free: 6.367 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007359/0.4176, allocations: 6.527 MB / 0.6447 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007886/0.4255, allocations: 4.778 MB / 0.6494 GB, free: 11.92 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007766/0.4333, allocations: 4.928 MB / 0.6542 GB, free: 6.973 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009079/0.4342, allocations: 300 kB / 0.6545 GB, free: 6.68 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00365/0.4378, allocations: 0.7411 MB / 0.6552 GB, free: 5.938 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001204/0.4391, allocations: 1.358 MB / 0.6565 GB, free: 4.574 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001998/0.4411, allocations: 1.479 MB / 0.6579 GB, free: 3.086 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007459/0.4485, allocations: 9.472 MB / 0.6672 GB, free: 9.594 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4486, allocations: 0 / 0.6672 GB, free: 9.594 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4486, allocations: 0 / 0.6672 GB, free: 9.594 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001852/0.4488, allocations: 0 / 0.6672 GB, free: 9.594 MB / 494.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.009576/0.4583, allocations: 6.296 MB / 0.6733 GB, free: 3.223 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.4584, allocations: 8.031 kB / 0.6734 GB, free: 3.215 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001112/0.4595, allocations: 0.7757 MB / 0.6741 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.4614, allocations: 0.7804 MB / 0.6749 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007956/0.4693, allocations: 6.106 MB / 0.6808 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.4696, allocations: 411.1 kB / 0.6812 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006341/0.4702, allocations: 0.539 MB / 0.6818 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/0.4807, allocations: 8.026 MB / 0.6896 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.04e-05/0.4808, allocations: 23.78 kB / 0.6896 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004705/0.4813, allocations: 236 kB / 0.6898 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001383/0.4814, allocations: 172 kB / 0.69 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008878/0.4903, allocations: 6.485 MB / 0.6963 GB, free: 11.35 MB / 0.5137 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.03015/0.5205, allocations: 31.15 MB / 0.7268 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004392/0.5249, allocations: 3.638 MB / 0.7303 GB, free: 6.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003241/0.5281, allocations: 2.882 MB / 0.7331 GB, free: 3.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007761/0.5289, allocations: 0.8397 MB / 0.7339 GB, free: 2.832 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/0.529, allocations: 68.67 kB / 0.734 GB, free: 2.754 MB / 0.545 GB Notification: Performance of pre-optimization done (n=267): time 3.777e-06/0.529, allocations: 0 / 0.734 GB, free: 2.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=267): time 0.008754/0.5377, allocations: 5.743 MB / 0.7396 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.5378, allocations: 77.52 kB / 0.7397 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005877/0.5437, allocations: 4.989 MB / 0.7446 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002935/0.544, allocations: 77.7 kB / 0.7446 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00198/0.546, allocations: 2.876 MB / 0.7474 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008865/0.5469, allocations: 0.932 MB / 0.7484 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.547, allocations: 76 kB / 0.7484 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.5472, allocations: 465.9 kB / 0.7489 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002162/0.5494, allocations: 1.658 MB / 0.7505 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00278/0.5522, allocations: 2.916 MB / 0.7533 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002722/0.5549, allocations: 2.269 MB / 0.7556 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.741e-05/0.555, allocations: 12 kB / 0.7556 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007394/0.5624, allocations: 5.409 MB / 0.7608 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.5624, allocations: 20.97 kB / 0.7609 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.515e-05/0.5624, allocations: 43.94 kB / 0.7609 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007953/0.5632, allocations: 422.9 kB / 0.7613 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002543/0.5658, allocations: 0.8619 MB / 0.7622 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004598/0.5704, allocations: 5.254 MB / 0.7673 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003568/0.574, allocations: 0.6471 MB / 0.7679 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/0.5742, allocations: 187.9 kB / 0.7681 GB, free: 14.77 MB / 0.5919 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.002996/0.5772, allocations: 2.277 MB / 0.7703 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000756/0.578, allocations: 0.4904 MB / 0.7708 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005669/0.5837, allocations: 4.164 MB / 0.7749 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/0.5837, allocations: 24.19 kB / 0.7749 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.5837, allocations: 8 kB / 0.7749 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004331/0.5881, allocations: 3.617 MB / 0.7784 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/0.6018, allocations: 10.2 MB / 0.7884 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.6019, allocations: 4.562 kB / 0.7884 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001869/0.6038, allocations: 0.5032 MB / 0.7889 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007022/0.6045, allocations: 368.3 kB / 0.7892 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/0.6046, allocations: 79.95 kB / 0.7893 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004549/0.6092, allocations: 5.194 MB / 0.7944 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.6092, allocations: 4 kB / 0.7944 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008134/0.6174, allocations: 6.219 MB / 0.8005 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002299/0.6197, allocations: 1.158 MB / 0.8016 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005742/0.6203, allocations: 63.98 kB / 0.8017 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002385/0.6226, allocations: 332.7 kB / 0.802 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/0.6229, allocations: 173.7 kB / 0.8021 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002098/0.6231, allocations: 131.9 kB / 0.8023 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.004449/0.6276, allocations: 3.644 MB / 0.8058 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6276, allocations: 0 / 0.8058 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003967/0.6316, allocations: 1.781 MB / 0.8076 GB, free: 5.539 MB / 0.6231 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.008181/0.6397, allocations: 7.136 MB / 0.8145 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005496/0.6452, allocations: 4.223 MB / 0.8187 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.6453, allocations: 15.97 kB / 0.8187 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002368/0.6476, allocations: 2.024 MB / 0.8206 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01156/0.6592, allocations: 3.281 MB / 0.8239 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3437/1.003, allocations: 45.99 MB / 0.8688 GB, free: 192 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004391/1.007, allocations: 4.298 MB / 0.873 GB, free: 190.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00556/1.013, allocations: 1.839 MB / 0.8748 GB, free: 190.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003071/1.016, allocations: 2.444 MB / 0.8771 GB, free: 188.2 MB / 0.6387 GB Notification: Performance of SimCode: time 8.11e-07/1.016, allocations: 0 / 0.8771 GB, free: 188.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1587/1.175, allocations: 159.9 MB / 1.033 GB, free: 32.87 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001191/1.175, allocations: 259.5 kB / 1.034 GB, free: 32.53 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.185/5.36, allocations: 0 / 1.034 GB, free: 32.53 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: