Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",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.006766/0.006766, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001804/0.001804, allocations: 194 kB / 16.67 MB, free: 5.969 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8218/0.8218, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002791/0.002791, allocations: 68.92 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1524, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05573/0.2082, allocations: 55.99 MB / 0.7139 GB, free: 2.586 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0221/0.2303, allocations: 17.92 MB / 0.7314 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.2323, allocations: 71.62 kB / 0.7314 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.2344, allocations: 0.8963 MB / 0.7323 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005747/0.2402, allocations: 2.503 MB / 0.7347 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003153/0.2433, allocations: 1.532 MB / 0.7362 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.2996/0.5429, allocations: 21.21 MB / 0.757 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0119/0.5548, allocations: 10.7 MB / 0.7674 GB, free: 20.56 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01271/0.5676, allocations: 7.186 MB / 0.7744 GB, free: 19.93 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009311/0.5769, allocations: 6.368 MB / 0.7806 GB, free: 18.94 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001514/0.5784, allocations: 0.9362 MB / 0.7816 GB, free: 18.94 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00447/0.5829, allocations: 1.705 MB / 0.7832 GB, free: 18.94 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001626/0.5845, allocations: 2.343 MB / 0.7855 GB, free: 18.65 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005365/0.5899, allocations: 4.71 MB / 0.7901 GB, free: 17.54 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.6007, allocations: 13.23 MB / 0.803 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.6007, allocations: 0 / 0.803 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.986e-06/0.6007, allocations: 0 / 0.803 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002598/0.601, allocations: 0 / 0.803 GB, free: 12.9 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.01679/0.6178, allocations: 8.735 MB / 0.8116 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.6178, allocations: 12.03 kB / 0.8116 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001384/0.6192, allocations: 0.8344 MB / 0.8124 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002654/0.6219, allocations: 0.8981 MB / 0.8133 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01247/0.6343, allocations: 6.746 MB / 0.8199 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003696/0.6348, allocations: 458.9 kB / 0.8203 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001406/0.6362, allocations: 0.5973 MB / 0.8209 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01655/0.6527, allocations: 9.019 MB / 0.8297 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001937/0.653, allocations: 30.48 kB / 0.8297 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001089/0.6541, allocations: 259 kB / 0.83 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/0.6543, allocations: 180 kB / 0.8301 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01449/0.6688, allocations: 7.45 MB / 0.8374 GB, free: 12.74 MB / 0.6231 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.05398/0.7228, allocations: 36.06 MB / 0.8726 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007361/0.7302, allocations: 4.281 MB / 0.8768 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005387/0.7356, allocations: 3.307 MB / 0.88 GB, free: 15.71 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001441/0.7371, allocations: 0.9481 MB / 0.881 GB, free: 14.59 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004496/0.7416, allocations: 2.393 MB / 0.8833 GB, free: 12.17 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002439/0.744, allocations: 380 kB / 0.8837 GB, free: 11.8 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 8.225e-06/0.7441, allocations: 0 / 0.8837 GB, free: 11.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.01442/0.7585, allocations: 7.154 MB / 0.8906 GB, free: 4.57 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.7586, allocations: 89.84 kB / 0.8907 GB, free: 4.469 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01062/0.7692, allocations: 5.67 MB / 0.8963 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005819/0.7698, allocations: 93.55 kB / 0.8964 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.003676/0.7735, allocations: 3.273 MB / 0.8996 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001673/0.7752, allocations: 1.175 MB / 0.9007 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001831/0.7771, allocations: 0.8585 MB / 0.9015 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.7772, allocations: 309 kB / 0.9018 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00365/0.7808, allocations: 2.16 MB / 0.9039 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004864/0.7857, allocations: 3.692 MB / 0.9075 GB, free: 2.566 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008809/0.7945, allocations: 6.323 MB / 0.9137 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.99e-05/0.7946, allocations: 16 kB / 0.9137 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01201/0.8066, allocations: 6.793 MB / 0.9204 GB, free: 5.176 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.013e-05/0.8067, allocations: 57.7 kB / 0.9204 GB, free: 5.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.978e-05/0.8068, allocations: 56.14 kB / 0.9205 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.8079, allocations: 439.7 kB / 0.9209 GB, free: 4.625 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003605/0.8115, allocations: 1.003 MB / 0.9219 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006368/0.8179, allocations: 5.699 MB / 0.9274 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004377/0.8223, allocations: 295.2 kB / 0.9277 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005872/0.8229, allocations: 216 kB / 0.9279 GB, free: 13.28 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.004502/0.8274, allocations: 2.479 MB / 0.9304 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00167/0.8291, allocations: 0.5551 MB / 0.9309 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009513/0.8386, allocations: 5.263 MB / 0.936 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.745e-05/0.8387, allocations: 36 kB / 0.9361 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/0.8387, allocations: 4 kB / 0.9361 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006902/0.8456, allocations: 4.535 MB / 0.9405 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02302/0.8686, allocations: 11.98 MB / 0.9522 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.8687, allocations: 4 kB / 0.9522 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002765/0.8714, allocations: 0.6463 MB / 0.9528 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009024/0.8724, allocations: 375.5 kB / 0.9532 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002897/0.8727, allocations: 83.95 kB / 0.9533 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006106/0.8788, allocations: 5.612 MB / 0.9588 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.8788, allocations: 10.62 kB / 0.9588 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01272/0.8915, allocations: 7.783 MB / 0.9664 GB, free: 5.535 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003022/0.8946, allocations: 1.188 MB / 0.9675 GB, free: 4.324 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001272/0.8959, allocations: 67.45 kB / 0.9676 GB, free: 4.262 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003375/0.8992, allocations: 203.8 kB / 0.9678 GB, free: 4.062 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004582/0.8997, allocations: 196.9 kB / 0.968 GB, free: 3.871 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003832/0.9001, allocations: 135.9 kB / 0.9681 GB, free: 3.738 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.007222/0.9073, allocations: 3.963 MB / 0.972 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9074, allocations: 0 / 0.972 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.006226/0.9136, allocations: 2.023 MB / 0.9739 GB, free: 13.77 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.01396/0.9276, allocations: 8.746 MB / 0.9825 GB, free: 5.004 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.008786/0.9364, allocations: 5.446 MB / 0.9878 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.9364, allocations: 6.625 kB / 0.9878 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003946/0.9404, allocations: 2.542 MB / 0.9903 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01594/0.9563, allocations: 3.387 MB / 0.9936 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08622/1.043, allocations: 52.56 MB / 1.045 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2592/1.302, allocations: 4.633 MB / 1.049 GB, free: 308.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00582/1.308, allocations: 2.076 MB / 1.051 GB, free: 308.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00341/1.311, allocations: 2.671 MB / 1.054 GB, free: 308.8 MB / 0.8262 GB Notification: Performance of SimCode: time 1.022e-06/1.311, allocations: 1.094 kB / 1.054 GB, free: 308.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.135/2.446, allocations: 159.8 MB / 1.21 GB, free: 181.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.53/23.98, allocations: 13.08 kB / 1.21 GB, free: 181.2 MB / 0.8262 GB (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)