Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008154/0.0008154, allocations: 105.9 kB / 18.93 MB, free: 1.266 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009407/0.0009407, allocations: 214.3 kB / 22.26 MB, free: 3.848 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9265/0.9265, allocations: 230.6 MB / 256 MB, free: 3.574 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8276/0.8276, allocations: 203.8 MB / 0.5042 GB, free: 0.7031 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 67.89 kB / 0.7182 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5354/0.5365, allocations: 102 MB / 0.8179 GB, free: 25.05 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04392/0.5804, allocations: 57.28 MB / 0.8738 GB, free: 368 kB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02118/0.6016, allocations: 18.22 MB / 0.8916 GB, free: 1.883 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003245/0.6048, allocations: 100.8 kB / 0.8917 GB, free: 1.832 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003102/0.6079, allocations: 0.9228 MB / 0.8926 GB, free: 1.035 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008807/0.6167, allocations: 2.68 MB / 0.8952 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003956/0.6207, allocations: 1.616 MB / 0.8968 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01896/0.6397, allocations: 21.84 MB / 0.9181 GB, free: 12.38 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0108/0.6505, allocations: 7.103 MB / 0.925 GB, free: 5.16 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01338/0.6639, allocations: 7.553 MB / 0.9324 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01045/0.6743, allocations: 6.584 MB / 0.9388 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.003124/0.6774, allocations: 0.9375 MB / 0.9398 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006636/0.6841, allocations: 1.772 MB / 0.9415 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.004062/0.6881, allocations: 2.437 MB / 0.9439 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.009918/0.698, allocations: 4.727 MB / 0.9485 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.01681/0.7149, allocations: 13.32 MB / 0.9615 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.7149, allocations: 0 / 0.9615 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7149, allocations: 0 / 0.9615 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0005096/0.7154, allocations: 0 / 0.9615 GB, free: 15.75 MB / 0.7448 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.01931/0.7347, allocations: 8.642 MB / 0.9699 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.7347, allocations: 13.47 kB / 0.97 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003135/0.7379, allocations: 0.8461 MB / 0.9708 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004734/0.7426, allocations: 0.9566 MB / 0.9717 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01275/0.7553, allocations: 6.779 MB / 0.9783 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003398/0.7557, allocations: 464.1 kB / 0.9788 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001993/0.7577, allocations: 0.5976 MB / 0.9794 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02083/0.7785, allocations: 9.044 MB / 0.9882 GB, free: 3.918 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002859/0.7788, allocations: 15.88 kB / 0.9882 GB, free: 3.902 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001827/0.7806, allocations: 260 kB / 0.9885 GB, free: 3.648 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001568/0.7808, allocations: 191.8 kB / 0.9886 GB, free: 3.461 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01387/0.7947, allocations: 7.461 MB / 0.9959 GB, free: 11.99 MB / 0.7761 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.04456/0.8392, allocations: 36 MB / 1.031 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005125/0.8443, allocations: 4.009 MB / 1.035 GB, free: 1.902 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003617/0.848, allocations: 3.033 MB / 1.038 GB, free: 14.87 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005833/0.8485, allocations: 218.2 kB / 1.038 GB, free: 14.65 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003029/0.8516, allocations: 2.394 MB / 1.041 GB, free: 12.22 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001885/0.8535, allocations: 393.1 kB / 1.041 GB, free: 11.84 MB / 0.823 GB Notification: Performance of pre-optimization done (n=317): time 9.538e-06/0.8535, allocations: 0 / 1.041 GB, free: 11.84 MB / 0.823 GB Notification: Performance of matching and sorting (n=317): time 0.01035/0.8638, allocations: 6.996 MB / 1.048 GB, free: 4.789 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.8639, allocations: 85.84 kB / 1.048 GB, free: 4.691 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00804/0.8719, allocations: 5.682 MB / 1.053 GB, free: 15.03 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0007522/0.8727, allocations: 93.7 kB / 1.053 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.003006/0.8757, allocations: 3.263 MB / 1.057 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001627/0.8773, allocations: 1.174 MB / 1.058 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/0.8785, allocations: 0.8624 MB / 1.059 GB, free: 9.586 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.8785, allocations: 309 kB / 1.059 GB, free: 9.281 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003129/0.8817, allocations: 2.163 MB / 1.061 GB, free: 7.109 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003721/0.8854, allocations: 3.689 MB / 1.065 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007175/0.8926, allocations: 6.327 MB / 1.071 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-05/0.8926, allocations: 16 kB / 1.071 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01019/0.9028, allocations: 6.79 MB / 1.077 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.371e-05/0.9029, allocations: 49.7 kB / 1.077 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.986e-05/0.9029, allocations: 52 kB / 1.078 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007429/0.9037, allocations: 433.2 kB / 1.078 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002993/0.9067, allocations: 1.014 MB / 1.079 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00431/0.911, allocations: 5.486 MB / 1.084 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003813/0.9148, allocations: 295.6 kB / 1.085 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008048/0.9156, allocations: 216 kB / 1.085 GB, free: 13.06 MB / 0.8698 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.004517/0.9201, allocations: 2.479 MB / 1.087 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001519/0.9216, allocations: 0.5513 MB / 1.088 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007318/0.9289, allocations: 5.261 MB / 1.093 GB, free: 4.711 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.27e-05/0.929, allocations: 39.98 kB / 1.093 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.929, allocations: 4 kB / 1.093 GB, free: 4.668 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005745/0.9347, allocations: 4.524 MB / 1.097 GB, free: 36 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01857/0.9533, allocations: 12.02 MB / 1.109 GB, free: 3.871 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.9533, allocations: 0 / 1.109 GB, free: 3.871 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/0.9549, allocations: 0.6438 MB / 1.11 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005931/0.9555, allocations: 369.3 kB / 1.11 GB, free: 2.859 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002493/0.9557, allocations: 83.95 kB / 1.11 GB, free: 2.777 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7042/1.66, allocations: 5.401 MB / 1.115 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.66, allocations: 2.812 kB / 1.115 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/1.671, allocations: 7.778 MB / 1.123 GB, free: 244.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003053/1.674, allocations: 1.141 MB / 1.124 GB, free: 244.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009627/1.675, allocations: 65.14 kB / 1.124 GB, free: 244.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002507/1.678, allocations: 200.5 kB / 1.124 GB, free: 244.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007585/1.679, allocations: 217.9 kB / 1.125 GB, free: 244.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000495/1.679, allocations: 140 kB / 1.125 GB, free: 244.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.007468/1.687, allocations: 3.969 MB / 1.129 GB, free: 243 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.21e-07/1.687, allocations: 3.656 kB / 1.129 GB, free: 243 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007246/1.694, allocations: 2.033 MB / 1.131 GB, free: 242.8 MB / 0.8855 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.01495/1.709, allocations: 8.711 MB / 1.139 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008418/1.717, allocations: 5.249 MB / 1.144 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/1.717, allocations: 3.812 kB / 1.144 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003241/1.72, allocations: 2.375 MB / 1.147 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0124/1.733, allocations: 3.392 MB / 1.15 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08246/1.815, allocations: 52.64 MB / 1.201 GB, free: 198.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004673/1.82, allocations: 4.632 MB / 1.206 GB, free: 194 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005685/1.826, allocations: 2.075 MB / 1.208 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0036/1.829, allocations: 2.674 MB / 1.21 GB, free: 189.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.743e-06/1.829, allocations: 3.938 kB / 1.21 GB, free: 189.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1657/1.995, allocations: 164.3 MB / 1.371 GB, free: 26.04 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/15.9, allocations: 11.14 kB / 1.371 GB, free: 26.03 MB / 0.8855 GB " [Timeout remaining time 644] (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.097060373052955] Failed to read output from testmodel.py, exit status != 0: 16.046552148880437 16.057029632 15.339681017 Calling exit ...