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.004817/0.004817, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001822/0.001822, allocations: 198.7 kB / 16.67 MB, free: 5.934 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.295/1.295, 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/package.mo): time 0.7238/0.7238, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 63.91 kB / 0.5809 GB, free: 8.051 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3354, allocations: 80.21 MB / 0.6592 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04765/0.3831, allocations: 55.97 MB / 0.7138 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02082/0.404, allocations: 17.94 MB / 0.7314 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/0.4061, allocations: 75.56 kB / 0.7314 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.4081, allocations: 0.9158 MB / 0.7323 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005359/0.4134, allocations: 2.616 MB / 0.7349 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003004/0.4165, allocations: 1.527 MB / 0.7364 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0176/0.4341, allocations: 21.25 MB / 0.7571 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01089/0.445, allocations: 10.71 MB / 0.7676 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01135/0.4564, allocations: 7.253 MB / 0.7747 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008329/0.4647, allocations: 6.378 MB / 0.7809 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001387/0.4661, allocations: 0.9375 MB / 0.7818 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003898/0.47, allocations: 1.698 MB / 0.7835 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002011/0.472, allocations: 2.337 MB / 0.7858 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005722/0.4778, allocations: 4.715 MB / 0.7904 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01208/0.4899, allocations: 13.23 MB / 0.8033 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4899, allocations: 0 / 0.8033 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4899, allocations: 0 / 0.8033 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002382/0.4901, allocations: 3.984 kB / 0.8033 GB, free: 2.156 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.01467/0.5048, allocations: 8.725 MB / 0.8118 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.5049, allocations: 12.03 kB / 0.8118 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001072/0.5059, allocations: 0.8383 MB / 0.8126 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002344/0.5083, allocations: 0.8864 MB / 0.8135 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01118/0.5195, allocations: 6.75 MB / 0.8201 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002728/0.5198, allocations: 456.2 kB / 0.8205 GB, free: 332 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008697/0.5206, allocations: 0.6054 MB / 0.8211 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/0.5339, allocations: 9.021 MB / 0.8299 GB, free: 6.375 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001205/0.534, allocations: 19.83 kB / 0.8299 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005828/0.5346, allocations: 260 kB / 0.8302 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001487/0.5347, allocations: 183.8 kB / 0.8304 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01104/0.5458, allocations: 7.449 MB / 0.8376 GB, free: 14.46 MB / 0.67 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.5543/1.1, allocations: 36.05 MB / 0.8729 GB, free: 164.1 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006709/1.107, allocations: 4.283 MB / 0.877 GB, free: 163.9 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004329/1.111, allocations: 3.3 MB / 0.8803 GB, free: 162.8 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/1.112, allocations: 0.9556 MB / 0.8812 GB, free: 161.8 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003237/1.115, allocations: 2.382 MB / 0.8835 GB, free: 161 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00201/1.117, allocations: 381.1 kB / 0.8839 GB, free: 161 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=317): time 5.621e-06/1.117, allocations: 3.25 kB / 0.8839 GB, free: 161 MB / 0.6857 GB Notification: Performance of matching and sorting (n=317): time 0.01121/1.129, allocations: 7.153 MB / 0.8909 GB, free: 158.6 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/1.129, allocations: 92.42 kB / 0.891 GB, free: 158.6 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006927/1.136, allocations: 5.673 MB / 0.8965 GB, free: 155.8 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.0003444/1.136, allocations: 91.11 kB / 0.8966 GB, free: 155.7 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.002149/1.138, allocations: 3.274 MB / 0.8998 GB, free: 153.2 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008923/1.139, allocations: 1.168 MB / 0.9009 GB, free: 152.4 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/1.14, allocations: 0.862 MB / 0.9018 GB, free: 151.9 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.698e-05/1.14, allocations: 305.9 kB / 0.9021 GB, free: 151.6 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002785/1.143, allocations: 2.162 MB / 0.9042 GB, free: 150.5 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003235/1.146, allocations: 3.695 MB / 0.9078 GB, free: 147.4 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005862/1.152, allocations: 6.323 MB / 0.9139 GB, free: 142.9 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.896e-05/1.152, allocations: 15.31 kB / 0.914 GB, free: 142.9 MB / 0.6857 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008332/1.16, allocations: 6.801 MB / 0.9206 GB, free: 139.4 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/1.161, allocations: 63.14 kB / 0.9207 GB, free: 139.3 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.855e-05/1.161, allocations: 49.66 kB / 0.9207 GB, free: 139.3 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008007/1.161, allocations: 432.7 kB / 0.9211 GB, free: 139.1 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003185/1.165, allocations: 0.9987 MB / 0.9221 GB, free: 138.9 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004155/1.169, allocations: 5.704 MB / 0.9277 GB, free: 134.2 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004104/1.173, allocations: 287.3 kB / 0.9279 GB, free: 134 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003041/1.173, allocations: 219.1 kB / 0.9282 GB, free: 133.9 MB / 0.6857 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.003189/1.176, allocations: 2.486 MB / 0.9306 GB, free: 131.4 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009586/1.177, allocations: 0.559 MB / 0.9311 GB, free: 130.8 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006459/1.184, allocations: 5.264 MB / 0.9363 GB, free: 125.5 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/1.184, allocations: 32 kB / 0.9363 GB, free: 125.5 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/1.184, allocations: 4 kB / 0.9363 GB, free: 125.5 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004951/1.189, allocations: 4.534 MB / 0.9407 GB, free: 120.9 MB / 0.6857 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/1.205, allocations: 11.99 MB / 0.9524 GB, free: 108.8 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/1.205, allocations: 4 kB / 0.9524 GB, free: 108.8 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002537/1.207, allocations: 0.6438 MB / 0.9531 GB, free: 108.2 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006719/1.208, allocations: 367.4 kB / 0.9534 GB, free: 107.8 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/1.208, allocations: 83.95 kB / 0.9535 GB, free: 107.8 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003997/1.212, allocations: 5.639 MB / 0.959 GB, free: 101.9 MB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.212, allocations: 4.562 kB / 0.959 GB, free: 101.9 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008862/1.221, allocations: 7.783 MB / 0.9666 GB, free: 93.98 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002548/1.223, allocations: 1.181 MB / 0.9678 GB, free: 92.78 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006927/1.224, allocations: 71.98 kB / 0.9678 GB, free: 92.71 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002669/1.227, allocations: 195.8 kB / 0.968 GB, free: 92.52 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003201/1.227, allocations: 198.2 kB / 0.9682 GB, free: 92.33 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002305/1.227, allocations: 135.9 kB / 0.9683 GB, free: 92.2 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.004344/1.232, allocations: 3.971 MB / 0.9722 GB, free: 88.25 MB / 0.6857 GB Notification: Performance of sort global known variables: time 2.21e-07/1.232, allocations: 4 kB / 0.9722 GB, free: 88.24 MB / 0.6857 GB Notification: Performance of remove unused functions: time 0.00433/1.236, allocations: 2.016 MB / 0.9742 GB, free: 86.36 MB / 0.6857 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.00919/1.245, allocations: 8.739 MB / 0.9827 GB, free: 77.6 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.006129/1.251, allocations: 5.448 MB / 0.988 GB, free: 72.1 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/1.251, allocations: 8.125 kB / 0.988 GB, free: 72.09 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.002644/1.254, allocations: 2.541 MB / 0.9905 GB, free: 69.52 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01223/1.266, allocations: 3.39 MB / 0.9938 GB, free: 66.35 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05588/1.322, allocations: 52.56 MB / 1.045 GB, free: 11.7 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002993/1.325, allocations: 4.624 MB / 1.05 GB, free: 7.035 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.004983/1.33, allocations: 2.077 MB / 1.052 GB, free: 4.98 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002964/1.333, allocations: 2.67 MB / 1.054 GB, free: 2.309 MB / 0.6857 GB Notification: Performance of SimCode: time 8.81e-07/1.333, allocations: 0 / 1.054 GB, free: 2.309 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5015/1.835, allocations: 159.8 MB / 1.21 GB, free: 261.7 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.32/21.15, allocations: 8.656 kB / 1.21 GB, free: 261.6 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 & 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)