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.000884/0.000884, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001035/0.001035, allocations: 210.2 kB / 22.24 MB, free: 3.57 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.98/0.98, allocations: 230.6 MB / 256 MB, free: 9.609 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.803/0.803, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.0009722/0.0009722, allocations: 71.64 kB / 0.7182 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5379/0.5389, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04588/0.5847, allocations: 51.67 MB / 0.8682 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02014/0.6049, allocations: 16.85 MB / 0.8847 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002768/0.6077, allocations: 101.7 kB / 0.8848 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002665/0.6103, allocations: 0.8978 MB / 0.8857 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007333/0.6176, allocations: 2.66 MB / 0.8883 GB, free: 12 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004308/0.622, allocations: 1.594 MB / 0.8898 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01706/0.639, allocations: 22.05 MB / 0.9114 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009372/0.6484, allocations: 7.1 MB / 0.9183 GB, free: 14.43 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01447/0.6629, allocations: 7.591 MB / 0.9257 GB, free: 6.855 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01029/0.6731, allocations: 6.885 MB / 0.9324 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.002755/0.6759, allocations: 0.9414 MB / 0.9333 GB, free: 15 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005686/0.6816, allocations: 1.581 MB / 0.9349 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.003746/0.6853, allocations: 2.426 MB / 0.9373 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0098/0.6951, allocations: 3.876 MB / 0.941 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01655/0.7117, allocations: 13.37 MB / 0.9541 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.7117, allocations: 4 kB / 0.9541 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.425e-06/0.7117, allocations: 0 / 0.9541 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005575/0.7122, allocations: 4 kB / 0.9541 GB, free: 9.68 MB / 0.7292 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.01869/0.7309, allocations: 8.646 MB / 0.9625 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.731, allocations: 8.031 kB / 0.9625 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002493/0.7335, allocations: 0.8461 MB / 0.9634 GB, free: 88 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003486/0.737, allocations: 0.9566 MB / 0.9643 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01229/0.7493, allocations: 6.787 MB / 0.9709 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003964/0.7497, allocations: 460.2 kB / 0.9714 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002132/0.7518, allocations: 0.5976 MB / 0.972 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01705/0.7688, allocations: 10.11 MB / 0.9818 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001316/0.769, allocations: 19.83 kB / 0.9818 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006825/0.7696, allocations: 256 kB / 0.9821 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000129/0.7698, allocations: 187.9 kB / 0.9823 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/0.7824, allocations: 7.445 MB / 0.9895 GB, free: 4.613 MB / 0.7605 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.04202/0.8244, allocations: 27.25 MB / 1.016 GB, free: 8.895 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004941/0.8294, allocations: 3.979 MB / 1.02 GB, free: 4.91 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003312/0.8327, allocations: 3.031 MB / 1.023 GB, free: 1.879 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00061/0.8333, allocations: 198.3 kB / 1.023 GB, free: 1.684 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003583/0.8369, allocations: 3.464 MB / 1.027 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002093/0.839, allocations: 397 kB / 1.027 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=317): time 1.027e-05/0.839, allocations: 4 kB / 1.027 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of matching and sorting (n=317): time 0.009819/0.8488, allocations: 7.004 MB / 1.034 GB, free: 6.477 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.8489, allocations: 81.91 kB / 1.034 GB, free: 6.383 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008437/0.8573, allocations: 5.767 MB / 1.04 GB, free: 0.6367 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0008417/0.8582, allocations: 89.7 kB / 1.04 GB, free: 0.543 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002828/0.861, allocations: 3.279 MB / 1.043 GB, free: 13.24 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001785/0.8628, allocations: 1.166 MB / 1.044 GB, free: 12.06 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00133/0.8641, allocations: 0.8624 MB / 1.045 GB, free: 11.19 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.214e-05/0.8642, allocations: 309.1 kB / 1.045 GB, free: 10.88 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003102/0.8673, allocations: 2.189 MB / 1.047 GB, free: 8.68 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003737/0.871, allocations: 3.822 MB / 1.051 GB, free: 4.125 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00697/0.878, allocations: 6.323 MB / 1.057 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.826e-05/0.8781, allocations: 16 kB / 1.057 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009573/0.8876, allocations: 6.82 MB / 1.064 GB, free: 6.195 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.838e-05/0.8877, allocations: 53.7 kB / 1.064 GB, free: 6.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.757e-05/0.8878, allocations: 51.94 kB / 1.064 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009394/0.8887, allocations: 435.6 kB / 1.064 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002382/0.8911, allocations: 1.018 MB / 1.065 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004518/0.8956, allocations: 5.409 MB / 1.071 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004589/0.9002, allocations: 287.7 kB / 1.071 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009011/0.9011, allocations: 220 kB / 1.071 GB, free: 14.5 MB / 0.8542 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.005436/0.9065, allocations: 2.479 MB / 1.073 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001948/0.9085, allocations: 0.5473 MB / 1.074 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007435/0.9159, allocations: 5.275 MB / 1.079 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.568e-05/0.9159, allocations: 28 kB / 1.079 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.916, allocations: 12 kB / 1.079 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005151/0.9211, allocations: 4.52 MB / 1.084 GB, free: 1.477 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0177/0.9388, allocations: 11.07 MB / 1.094 GB, free: 6.281 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.9388, allocations: 4 kB / 1.094 GB, free: 6.277 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/0.9404, allocations: 0.6476 MB / 1.095 GB, free: 5.629 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007717/0.9412, allocations: 371.9 kB / 1.095 GB, free: 5.262 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002973/0.9415, allocations: 83.95 kB / 1.096 GB, free: 5.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004943/0.9464, allocations: 5.331 MB / 1.101 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.9464, allocations: 3.938 kB / 1.101 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/0.9578, allocations: 7.744 MB / 1.108 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003766/0.9615, allocations: 1.151 MB / 1.109 GB, free: 6.629 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001628/0.9632, allocations: 67.92 kB / 1.109 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003242/0.9664, allocations: 199.9 kB / 1.11 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004366/0.9668, allocations: 210.1 kB / 1.11 GB, free: 6.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000316/0.9672, allocations: 139.9 kB / 1.11 GB, free: 6.023 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.006604/0.9738, allocations: 3.967 MB / 1.114 GB, free: 2.078 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.1e-07/0.9738, allocations: 0 / 1.114 GB, free: 2.078 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006395/0.9802, allocations: 2.035 MB / 1.116 GB, free: 40 kB / 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.01129/0.9915, allocations: 8.688 MB / 1.124 GB, free: 7.25 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007317/0.9988, allocations: 5.259 MB / 1.129 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.9988, allocations: 0 / 1.129 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003057/1.002, allocations: 2.369 MB / 1.132 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01153/1.013, allocations: 3.38 MB / 1.135 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4457/1.459, allocations: 52.74 MB / 1.187 GB, free: 268 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002554/1.462, allocations: 4.147 MB / 1.191 GB, free: 265.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004402/1.466, allocations: 2.067 MB / 1.193 GB, free: 265.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002552/1.469, allocations: 2.679 MB / 1.195 GB, free: 262.9 MB / 0.9167 GB Notification: Performance of SimCode: time 1.783e-06/1.469, allocations: 3.781 kB / 1.195 GB, free: 262.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1503/1.619, allocations: 171 MB / 1.362 GB, free: 99.27 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/12.61, allocations: 12 kB / 1.362 GB, free: 99.26 MB / 0.9167 GB " [Timeout remaining time 647] (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: 15.80634744791314] Failed to read output from testmodel.py, exit status != 0: 12.761302214115858 12.766825602 12.053496433 Calling exit ...