Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_dev_IDEAS_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.008055/0.008055, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.002002/0.002002, allocations: 197 kB / 16.67 MB, free: 5.977 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9526/0.9526, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 59.91 kB / 0.5851 GB, free: 3.891 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4981/0.4995, allocations: 80.91 MB / 0.6641 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05582/0.5554, allocations: 49.29 MB / 0.7123 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0249/0.5803, allocations: 13.8 MB / 0.7258 GB, free: 2.379 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003486/0.5839, allocations: 67.62 kB / 0.7258 GB, free: 2.312 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003018/0.587, allocations: 0.8031 MB / 0.7266 GB, free: 1.504 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008747/0.5958, allocations: 2.246 MB / 0.7288 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004259/0.6001, allocations: 1.314 MB / 0.7301 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01944/0.6195, allocations: 19.58 MB / 0.7492 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01355/0.6331, allocations: 9.914 MB / 0.7589 GB, free: 276 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01608/0.6493, allocations: 6.611 MB / 0.7653 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0114/0.6607, allocations: 5.762 MB / 0.771 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002864/0.6636, allocations: 0.8477 MB / 0.7718 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007362/0.671, allocations: 1.608 MB / 0.7734 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004022/0.675, allocations: 2.111 MB / 0.7754 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01095/0.686, allocations: 4.299 MB / 0.7796 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01886/0.7049, allocations: 12.07 MB / 0.7914 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.705, allocations: 0 / 0.7914 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.022e-06/0.705, allocations: 0 / 0.7914 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0004751/0.7055, allocations: 0 / 0.7914 GB, free: 14.9 MB / 0.6231 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.02139/0.7269, allocations: 7.741 MB / 0.799 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.7269, allocations: 11.97 kB / 0.799 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002719/0.7297, allocations: 0.7603 MB / 0.7997 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004168/0.7338, allocations: 0.7814 MB / 0.8005 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01447/0.7483, allocations: 6.322 MB / 0.8067 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004271/0.7488, allocations: 415.1 kB / 0.8071 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002073/0.7509, allocations: 0.5389 MB / 0.8076 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02133/0.7722, allocations: 8.065 MB / 0.8155 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002327/0.7725, allocations: 23.86 kB / 0.8155 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002119/0.7746, allocations: 232 kB / 0.8157 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002622/0.7749, allocations: 163.9 kB / 0.8159 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0166/0.7915, allocations: 6.528 MB / 0.8222 GB, free: 14.93 MB / 0.6544 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.05248/0.8441, allocations: 31.2 MB / 0.8527 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006695/0.8508, allocations: 3.645 MB / 0.8563 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00476/0.8556, allocations: 2.802 MB / 0.859 GB, free: 7.449 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/0.8568, allocations: 0.8202 MB / 0.8598 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/0.8569, allocations: 68.67 kB / 0.8599 GB, free: 6.383 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=267): time 6.532e-06/0.857, allocations: 0 / 0.8599 GB, free: 6.383 MB / 0.6856 GB Notification: Performance of matching and sorting (n=267): time 0.01294/0.8699, allocations: 5.763 MB / 0.8655 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.87, allocations: 77.52 kB / 0.8656 GB, free: 440 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3931/1.263, allocations: 5.231 MB / 0.8707 GB, free: 175.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0009017/1.264, allocations: 81.19 kB / 0.8707 GB, free: 175.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002517/1.267, allocations: 2.875 MB / 0.8736 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001449/1.268, allocations: 0.9324 MB / 0.8745 GB, free: 172.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001314/1.269, allocations: 0.7166 MB / 0.8752 GB, free: 172.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.13e-05/1.269, allocations: 302.1 kB / 0.8755 GB, free: 172.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003103/1.273, allocations: 1.673 MB / 0.8771 GB, free: 171.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003421/1.276, allocations: 2.935 MB / 0.88 GB, free: 169.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005722/1.282, allocations: 4.97 MB / 0.8848 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.593e-05/1.282, allocations: 11.44 kB / 0.8848 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009262/1.291, allocations: 5.437 MB / 0.8901 GB, free: 164.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.073e-05/1.291, allocations: 21.88 kB / 0.8901 GB, free: 164.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.198e-05/1.291, allocations: 40.45 kB / 0.8902 GB, free: 164.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/1.292, allocations: 420 kB / 0.8906 GB, free: 164.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0029/1.295, allocations: 0.8626 MB / 0.8914 GB, free: 164 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005005/1.3, allocations: 5.692 MB / 0.897 GB, free: 159.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004827/1.305, allocations: 0.5186 MB / 0.8975 GB, free: 158.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003953/1.305, allocations: 177.6 kB / 0.8977 GB, free: 158.9 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004142/1.31, allocations: 2.289 MB / 0.8999 GB, free: 157.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001539/1.311, allocations: 488.4 kB / 0.9004 GB, free: 157.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006714/1.318, allocations: 4.179 MB / 0.9044 GB, free: 154.9 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.817e-05/1.318, allocations: 35.48 kB / 0.9045 GB, free: 154.9 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/1.318, allocations: 7.906 kB / 0.9045 GB, free: 154.9 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004223/1.322, allocations: 3.628 MB / 0.908 GB, free: 152.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/1.339, allocations: 10.26 MB / 0.918 GB, free: 146.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/1.339, allocations: 8 kB / 0.9181 GB, free: 146.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001919/1.341, allocations: 0.4992 MB / 0.9185 GB, free: 145.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007538/1.341, allocations: 379.6 kB / 0.9189 GB, free: 145.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/1.342, allocations: 75.95 kB / 0.919 GB, free: 145.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004091/1.346, allocations: 5.639 MB / 0.9245 GB, free: 139.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.346, allocations: 7.938 kB / 0.9245 GB, free: 139.2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00813/1.354, allocations: 6.261 MB / 0.9306 GB, free: 132.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004668/1.359, allocations: 1.088 MB / 0.9317 GB, free: 131.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001665/1.36, allocations: 67.22 kB / 0.9317 GB, free: 131.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002942/1.363, allocations: 171.7 kB / 0.9319 GB, free: 131.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003435/1.364, allocations: 177.6 kB / 0.9321 GB, free: 131.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002265/1.364, allocations: 127.9 kB / 0.9322 GB, free: 131.1 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.005106/1.369, allocations: 3.835 MB / 0.9359 GB, free: 127.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.1e-07/1.369, allocations: 0 / 0.9359 GB, free: 127.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0052/1.374, allocations: 1.808 MB / 0.9377 GB, free: 125.5 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008126/1.382, allocations: 7.179 MB / 0.9447 GB, free: 118.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006085/1.388, allocations: 4.277 MB / 0.9489 GB, free: 113.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/1.388, allocations: 4 kB / 0.9489 GB, free: 113.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002195/1.391, allocations: 2.04 MB / 0.9509 GB, free: 111.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02182/1.413, allocations: 3.459 MB / 0.9543 GB, free: 108.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06906/1.482, allocations: 46.94 MB / 1 GB, free: 59.92 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002822/1.484, allocations: 4.299 MB / 1.004 GB, free: 55.59 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.004798/1.489, allocations: 1.84 MB / 1.006 GB, free: 53.75 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002992/1.492, allocations: 2.452 MB / 1.008 GB, free: 51.3 MB / 0.6856 GB Notification: Performance of SimCode: time 1.012e-06/1.492, allocations: 0 / 1.008 GB, free: 51.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2361/1.728, allocations: 156.5 MB / 1.161 GB, free: 7.805 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.09/21.82, allocations: 0 / 1.161 GB, free: 7.805 MB / 0.795 GB (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)