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.01326/0.01326, allocations: 99.31 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.002378/0.002378, allocations: 186.3 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 2.54/2.54, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.213/1.213, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 58.38 kB / 0.5808 GB, free: 1.121 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2898, allocations: 80.21 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.112/0.4019, allocations: 55.98 MB / 0.7139 GB, free: 5.828 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04508/0.447, allocations: 17.93 MB / 0.7314 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006756/0.4539, allocations: 75.56 kB / 0.7314 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005431/0.4593, allocations: 0.8924 MB / 0.7323 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01683/0.4763, allocations: 2.499 MB / 0.7347 GB, free: 368 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008477/0.4848, allocations: 1.538 MB / 0.7363 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.03449/0.5194, allocations: 21.21 MB / 0.757 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02609/0.5455, allocations: 10.71 MB / 0.7674 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02943/0.575, allocations: 7.24 MB / 0.7745 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02116/0.5963, allocations: 6.381 MB / 0.7807 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.007232/0.6036, allocations: 0.9414 MB / 0.7817 GB, free: 176 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01506/0.6187, allocations: 1.694 MB / 0.7833 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.008781/0.6276, allocations: 2.333 MB / 0.7856 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01964/0.6473, allocations: 4.707 MB / 0.7902 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.03324/0.6806, allocations: 13.19 MB / 0.8031 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.248e-05/0.6808, allocations: 0 / 0.8031 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.228e-06/0.6808, allocations: 4 kB / 0.8031 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0008607/0.6817, allocations: 0 / 0.8031 GB, free: 10.17 MB / 0.6387 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.04293/0.7247, allocations: 8.522 MB / 0.8114 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001015/0.7248, allocations: 8.031 kB / 0.8114 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00639/0.7312, allocations: 0.8422 MB / 0.8122 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8632/1.594, allocations: 0.8515 MB / 0.8131 GB, free: 139.6 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02956/1.624, allocations: 6.701 MB / 0.8196 GB, free: 137.7 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001643/1.626, allocations: 461.4 kB / 0.82 GB, free: 137.5 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005255/1.631, allocations: 0.5944 MB / 0.8206 GB, free: 137.3 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04094/1.672, allocations: 9.025 MB / 0.8294 GB, free: 133.5 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00062/1.673, allocations: 26.25 kB / 0.8295 GB, free: 133.5 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003996/1.677, allocations: 266.2 kB / 0.8297 GB, free: 133.3 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006311/1.678, allocations: 175.9 kB / 0.8299 GB, free: 133.3 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02371/1.701, allocations: 7.444 MB / 0.8371 GB, free: 129.5 MB / 0.6387 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.08498/1.786, allocations: 35.99 MB / 0.8723 GB, free: 92.59 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/1.797, allocations: 4.285 MB / 0.8765 GB, free: 88.33 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006968/1.804, allocations: 3.3 MB / 0.8797 GB, free: 85.04 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001778/1.806, allocations: 0.9556 MB / 0.8806 GB, free: 83.91 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006308/1.812, allocations: 2.384 MB / 0.883 GB, free: 81.49 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005037/1.817, allocations: 367.8 kB / 0.8833 GB, free: 81.13 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=317): time 3.343e-05/1.817, allocations: 0 / 0.8833 GB, free: 81.13 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317): time 0.0212/1.838, allocations: 7.14 MB / 0.8903 GB, free: 73.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/1.838, allocations: 85.91 kB / 0.8904 GB, free: 73.8 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01716/1.856, allocations: 5.662 MB / 0.8959 GB, free: 68.16 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001196/1.857, allocations: 89.7 kB / 0.896 GB, free: 68.07 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.004212/1.861, allocations: 3.196 MB / 0.8991 GB, free: 64.86 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002757/1.864, allocations: 1.119 MB / 0.9002 GB, free: 63.75 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002256/1.866, allocations: 0.8541 MB / 0.901 GB, free: 62.88 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.619e-05/1.866, allocations: 309.1 kB / 0.9013 GB, free: 62.58 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00474/1.871, allocations: 2.16 MB / 0.9034 GB, free: 60.41 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005974/1.877, allocations: 3.697 MB / 0.907 GB, free: 56.01 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/1.888, allocations: 6.327 MB / 0.9132 GB, free: 48.96 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.268e-05/1.889, allocations: 16 kB / 0.9132 GB, free: 48.95 MB / 0.6387 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01987/1.908, allocations: 6.78 MB / 0.9199 GB, free: 42.12 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/1.909, allocations: 49.7 kB / 0.9199 GB, free: 42.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001154/1.909, allocations: 48 kB / 0.92 GB, free: 42.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/1.91, allocations: 445.3 kB / 0.9204 GB, free: 41.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005962/1.916, allocations: 1.002 MB / 0.9214 GB, free: 40.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007914/1.924, allocations: 5.692 MB / 0.9269 GB, free: 34.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009401/1.934, allocations: 291.3 kB / 0.9272 GB, free: 34.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00135/1.935, allocations: 220 kB / 0.9274 GB, free: 34.11 MB / 0.6387 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.008292/1.943, allocations: 2.484 MB / 0.9298 GB, free: 31.61 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003097/1.947, allocations: 0.5286 MB / 0.9303 GB, free: 31.08 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01513/1.962, allocations: 5.27 MB / 0.9355 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.305e-05/1.962, allocations: 28 kB / 0.9355 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/1.962, allocations: 4 kB / 0.9355 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009466/1.971, allocations: 4.532 MB / 0.9399 GB, free: 21.11 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04428/2.016, allocations: 11.98 MB / 0.9516 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.023e-05/2.016, allocations: 0 / 0.9516 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005259/2.021, allocations: 0.6438 MB / 0.9523 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001607/2.023, allocations: 372.3 kB / 0.9526 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00107/2.024, allocations: 83.95 kB / 0.9527 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008886/2.033, allocations: 5.616 MB / 0.9582 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/2.033, allocations: 0 / 0.9582 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02882/2.062, allocations: 7.762 MB / 0.9658 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008642/2.07, allocations: 1.154 MB / 0.9669 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005115/2.076, allocations: 67.98 kB / 0.967 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009875/2.086, allocations: 198.2 kB / 0.9672 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001654/2.087, allocations: 206.1 kB / 0.9674 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001491/2.089, allocations: 139.9 kB / 0.9675 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.01751/2.106, allocations: 3.967 MB / 0.9714 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.266e-06/2.107, allocations: 0 / 0.9714 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0175/2.124, allocations: 2.002 MB / 0.9733 GB, free: 2.426 MB / 0.6544 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.02837/2.153, allocations: 8.721 MB / 0.9818 GB, free: 9.641 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01436/2.167, allocations: 5.443 MB / 0.9871 GB, free: 4.148 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.569e-05/2.167, allocations: 8.062 kB / 0.9872 GB, free: 4.141 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006555/2.174, allocations: 2.541 MB / 0.9896 GB, free: 1.57 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02359/2.197, allocations: 3.386 MB / 0.9929 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1766/2.374, allocations: 52.33 MB / 1.044 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01589/2.39, allocations: 4.628 MB / 1.049 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.01203/2.402, allocations: 2.081 MB / 1.051 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009305/2.412, allocations: 2.674 MB / 1.053 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of SimCode: time 3.006e-06/2.412, allocations: 0 / 1.053 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.004/3.415, allocations: 162.5 MB / 1.212 GB, free: 205.7 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.1/37.52, allocations: 14.02 kB / 1.212 GB, free: 205.7 MB / 0.795 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)