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.001149/0.001149, allocations: 108 kB / 15.6 MB, free: 132 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.001155/0.001155, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7722/0.7722, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 64.78 kB / 0.5019 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4199, allocations: 80.21 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05359/0.4736, allocations: 55.98 MB / 0.6349 GB, free: 9.422 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02632/0.4999, allocations: 17.94 MB / 0.6524 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004056/0.5041, allocations: 75.56 kB / 0.6524 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003108/0.5073, allocations: 0.9002 MB / 0.6533 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009567/0.5168, allocations: 2.495 MB / 0.6558 GB, free: 3.938 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004566/0.5214, allocations: 1.529 MB / 0.6573 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02152/0.543, allocations: 21.2 MB / 0.678 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01362/0.5566, allocations: 10.7 MB / 0.6884 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0154/0.5721, allocations: 7.144 MB / 0.6954 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01144/0.5836, allocations: 6.378 MB / 0.7016 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.003127/0.5867, allocations: 0.9375 MB / 0.7025 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0071/0.5939, allocations: 1.698 MB / 0.7042 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.005822/0.5997, allocations: 2.341 MB / 0.7065 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01209/0.6118, allocations: 4.707 MB / 0.7111 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01688/0.6288, allocations: 13.05 MB / 0.7238 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.6288, allocations: 0 / 0.7238 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6288, allocations: 4 kB / 0.7238 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004349/0.6293, allocations: 0 / 0.7238 GB, free: 14.02 MB / 0.5606 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.02371/0.653, allocations: 8.522 MB / 0.7321 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.6531, allocations: 11.97 kB / 0.7322 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002382/0.6555, allocations: 0.8461 MB / 0.733 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003278/0.6588, allocations: 0.8509 MB / 0.7338 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01335/0.6721, allocations: 6.426 MB / 0.7401 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004681/0.6726, allocations: 460.2 kB / 0.7405 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002024/0.6747, allocations: 0.6015 MB / 0.7411 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02182/0.6965, allocations: 9.028 MB / 0.7499 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002941/0.6968, allocations: 23.78 kB / 0.75 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002315/0.6992, allocations: 260 kB / 0.7502 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002617/0.6995, allocations: 172 kB / 0.7504 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01755/0.717, allocations: 7.453 MB / 0.7576 GB, free: 10.88 MB / 0.5919 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.05954/0.7766, allocations: 36.25 MB / 0.793 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007618/0.7843, allocations: 4.276 MB / 0.7972 GB, free: 300 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005468/0.7897, allocations: 3.312 MB / 0.8005 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001499/0.7913, allocations: 0.9544 MB / 0.8014 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004795/0.7961, allocations: 2.39 MB / 0.8037 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002534/0.7987, allocations: 367.8 kB / 0.8041 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=317): time 9.177e-06/0.7987, allocations: 3.938 kB / 0.8041 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317): time 0.01555/0.8143, allocations: 7.129 MB / 0.811 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.8143, allocations: 85.91 kB / 0.8111 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2617/1.076, allocations: 5.663 MB / 0.8166 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007146/1.077, allocations: 91.06 kB / 0.8167 GB, free: 201.3 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002733/1.08, allocations: 3.191 MB / 0.8199 GB, free: 199.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001312/1.081, allocations: 1.119 MB / 0.8209 GB, free: 198.7 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001301/1.082, allocations: 0.8575 MB / 0.8218 GB, free: 198.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.289e-05/1.082, allocations: 307.4 kB / 0.8221 GB, free: 198 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003461/1.086, allocations: 2.162 MB / 0.8242 GB, free: 197.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003808/1.089, allocations: 3.699 MB / 0.8278 GB, free: 194.6 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00709/1.097, allocations: 6.32 MB / 0.834 GB, free: 190.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.243e-05/1.097, allocations: 14.47 kB / 0.834 GB, free: 190.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01112/1.108, allocations: 6.778 MB / 0.8406 GB, free: 188.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.334e-05/1.108, allocations: 52.77 kB / 0.8407 GB, free: 188.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001017/1.108, allocations: 53.38 kB / 0.8407 GB, free: 188.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/1.109, allocations: 434.1 kB / 0.8411 GB, free: 188.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003142/1.112, allocations: 1.008 MB / 0.8421 GB, free: 188 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004339/1.117, allocations: 5.703 MB / 0.8477 GB, free: 183.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004036/1.121, allocations: 278 kB / 0.8479 GB, free: 183.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003466/1.121, allocations: 216.9 kB / 0.8481 GB, free: 183.6 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.00336/1.124, allocations: 2.491 MB / 0.8506 GB, free: 182.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001181/1.125, allocations: 0.526 MB / 0.8511 GB, free: 182.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006962/1.132, allocations: 5.261 MB / 0.8562 GB, free: 179.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/1.132, allocations: 35.16 kB / 0.8563 GB, free: 179.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/1.133, allocations: 11.86 kB / 0.8563 GB, free: 179.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005135/1.138, allocations: 4.532 MB / 0.8607 GB, free: 175 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01606/1.154, allocations: 12.04 MB / 0.8725 GB, free: 162.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.447e-06/1.154, allocations: 2.844 kB / 0.8725 GB, free: 162.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00251/1.156, allocations: 0.6434 MB / 0.8731 GB, free: 162.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006913/1.157, allocations: 372.9 kB / 0.8734 GB, free: 161.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001802/1.157, allocations: 79.95 kB / 0.8735 GB, free: 161.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004127/1.161, allocations: 5.633 MB / 0.879 GB, free: 155.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.161, allocations: 0 / 0.879 GB, free: 155.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009411/1.171, allocations: 7.753 MB / 0.8866 GB, free: 148.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003141/1.174, allocations: 1.155 MB / 0.8877 GB, free: 146.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001165/1.175, allocations: 71.27 kB / 0.8878 GB, free: 146.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003073/1.178, allocations: 198.3 kB / 0.888 GB, free: 146.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004321/1.179, allocations: 202.2 kB / 0.8882 GB, free: 146.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002644/1.179, allocations: 143.9 kB / 0.8883 GB, free: 146.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004577/1.183, allocations: 3.959 MB / 0.8922 GB, free: 142.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.3e-07/1.184, allocations: 0 / 0.8922 GB, free: 142.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005083/1.189, allocations: 2.005 MB / 0.8941 GB, free: 140.4 MB / 0.6387 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.00997/1.199, allocations: 8.722 MB / 0.9026 GB, free: 131.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01795/1.217, allocations: 11.63 MB / 0.914 GB, free: 120 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/1.217, allocations: 4 kB / 0.914 GB, free: 120 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002791/1.219, allocations: 2.541 MB / 0.9165 GB, free: 117.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01357/1.233, allocations: 3.389 MB / 0.9198 GB, free: 114.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06446/1.297, allocations: 64.76 MB / 0.983 GB, free: 43.64 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003059/1.301, allocations: 4.63 MB / 0.9876 GB, free: 38.98 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005501/1.306, allocations: 2.08 MB / 0.9896 GB, free: 36.92 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002949/1.309, allocations: 2.667 MB / 0.9922 GB, free: 34.25 MB / 0.6387 GB Notification: Performance of SimCode: time 8.31e-07/1.309, allocations: 4 kB / 0.9922 GB, free: 34.25 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5074/1.816, allocations: 165.6 MB / 1.154 GB, free: 171 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/14.32, allocations: 5.5 kB / 1.154 GB, free: 171 MB / 0.6856 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.csv --start-time 0 --stop-time 14400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 5.76 IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)