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.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.001807/0.001807, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.002048/0.002048, allocations: 220.4 kB / 23.03 MB, free: 4.945 MB / 14.72 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 1.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8427/0.8427, allocations: 134 MB / 447.2 MB, free: 9.949 MB / 350.1 MB " [Timeout remaining time 179] 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.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_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="cs",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.001987/0.001987, allocations: 62.25 kB / 0.6192 GB, free: 6.918 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.176, allocations: 85.91 MB / 0.7031 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4297/0.6057, allocations: 51.49 MB / 0.7534 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02256/0.6282, allocations: 16.79 MB / 0.7698 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002863/0.6311, allocations: 104.5 kB / 0.7699 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002557/0.6336, allocations: 0.8963 MB / 0.7708 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008182/0.6418, allocations: 2.668 MB / 0.7734 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004693/0.6465, allocations: 1.588 MB / 0.7749 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02921/0.6757, allocations: 21.79 MB / 0.7962 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01334/0.6891, allocations: 7.123 MB / 0.8032 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01536/0.7044, allocations: 7.402 MB / 0.8104 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01293/0.7174, allocations: 6.695 MB / 0.8169 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003323/0.7207, allocations: 0.9414 MB / 0.8179 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009599/0.7303, allocations: 1.588 MB / 0.8194 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.006569/0.7368, allocations: 2.43 MB / 0.8218 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01124/0.7481, allocations: 3.861 MB / 0.8256 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01885/0.7669, allocations: 13.33 MB / 0.8386 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.7669, allocations: 4 kB / 0.8386 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.214e-06/0.767, allocations: 0 / 0.8386 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000395/0.7673, allocations: 0 / 0.8386 GB, free: 7.879 MB / 0.6075 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.02241/0.7898, allocations: 8.644 MB / 0.847 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.7898, allocations: 8.031 kB / 0.847 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002298/0.7901, allocations: 160.4 kB / 0.8472 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002931/0.793, allocations: 0.8493 MB / 0.848 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00509/0.7981, allocations: 0.9527 MB / 0.8489 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01536/0.8134, allocations: 6.78 MB / 0.8556 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004878/0.8139, allocations: 456.2 kB / 0.856 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002099/0.816, allocations: 0.5997 MB / 0.8566 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02271/0.8387, allocations: 10.09 MB / 0.8664 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001844/0.8389, allocations: 23.81 kB / 0.8665 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001327/0.8402, allocations: 256 kB / 0.8667 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002399/0.8405, allocations: 179.9 kB / 0.8669 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0181/0.8586, allocations: 7.465 MB / 0.8742 GB, free: 2.895 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.0595/0.9181, allocations: 27.23 MB / 0.9008 GB, free: 7.5 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006671/0.9247, allocations: 3.971 MB / 0.9046 GB, free: 3.539 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004931/0.9297, allocations: 3.042 MB / 0.9076 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/0.9307, allocations: 210.2 kB / 0.9078 GB, free: 292 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005201/0.9359, allocations: 3.448 MB / 0.9112 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002902/0.9388, allocations: 401 kB / 0.9116 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=317): time 1.302e-05/0.9388, allocations: 0 / 0.9116 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of matching and sorting (n=317): time 0.01813/0.957, allocations: 7.004 MB / 0.9184 GB, free: 5.098 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.803e-05/0.9571, allocations: 85.91 kB / 0.9185 GB, free: 5 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01086/0.9679, allocations: 5.678 MB / 0.924 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0008123/0.9687, allocations: 85.7 kB / 0.9241 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.003569/0.9723, allocations: 3.273 MB / 0.9273 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001774/0.9741, allocations: 1.172 MB / 0.9284 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001403/0.9755, allocations: 0.8546 MB / 0.9293 GB, free: 9.949 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.9756, allocations: 309.1 kB / 0.9296 GB, free: 9.645 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003533/0.9791, allocations: 2.2 MB / 0.9317 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004764/0.9839, allocations: 3.822 MB / 0.9355 GB, free: 2.875 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009142/0.993, allocations: 6.323 MB / 0.9416 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.853e-05/0.9931, allocations: 16 kB / 0.9417 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01441/1.008, allocations: 6.823 MB / 0.9483 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/1.008, allocations: 60.19 kB / 0.9484 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/1.008, allocations: 51.94 kB / 0.9484 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/1.009, allocations: 432 kB / 0.9488 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004569/1.014, allocations: 1.006 MB / 0.9498 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006856/1.02, allocations: 5.42 MB / 0.9551 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005175/1.026, allocations: 287.7 kB / 0.9554 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008213/1.026, allocations: 220 kB / 0.9556 GB, free: 13.26 MB / 0.7325 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.004909/1.031, allocations: 2.489 MB / 0.958 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00179/1.033, allocations: 0.559 MB / 0.9586 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009479/1.043, allocations: 5.249 MB / 0.9637 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-05/1.043, allocations: 35.94 kB / 0.9637 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.043, allocations: 4 kB / 0.9637 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007033/1.05, allocations: 4.526 MB / 0.9682 GB, free: 240 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02366/1.073, allocations: 11.09 MB / 0.979 GB, free: 5.113 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/1.073, allocations: 0 / 0.979 GB, free: 5.113 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002955/1.076, allocations: 0.6437 MB / 0.9796 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00094/1.077, allocations: 375.5 kB / 0.98 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003178/1.078, allocations: 88.14 kB / 0.98 GB, free: 4.012 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006509/1.084, allocations: 5.33 MB / 0.9853 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.084, allocations: 7.984 kB / 0.9853 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01325/1.097, allocations: 7.744 MB / 0.9928 GB, free: 6.625 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003586/1.101, allocations: 1.142 MB / 0.9939 GB, free: 5.477 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001326/1.102, allocations: 68 kB / 0.994 GB, free: 5.41 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003522/1.106, allocations: 199.9 kB / 0.9942 GB, free: 5.215 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005639/1.106, allocations: 214.1 kB / 0.9944 GB, free: 5.004 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003895/1.107, allocations: 131.9 kB / 0.9945 GB, free: 4.875 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.007134/1.114, allocations: 3.971 MB / 0.9984 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.91e-07/1.114, allocations: 0 / 0.9984 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.007084/1.121, allocations: 2.027 MB / 1 GB, free: 14.89 MB / 0.7794 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.01387/1.135, allocations: 8.673 MB / 1.009 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0088/1.144, allocations: 5.262 MB / 1.014 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/1.144, allocations: 4 kB / 1.014 GB, free: 0.8203 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003902/1.147, allocations: 2.375 MB / 1.016 GB, free: 14.42 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01564/1.163, allocations: 3.391 MB / 1.02 GB, free: 11.14 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.453/1.616, allocations: 52.73 MB / 1.071 GB, free: 283.3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006925/1.623, allocations: 4.146 MB / 1.075 GB, free: 282.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.007663/1.631, allocations: 2.062 MB / 1.077 GB, free: 282.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004854/1.636, allocations: 2.677 MB / 1.08 GB, free: 280.1 MB / 0.8262 GB Notification: Performance of SimCode: time 1.833e-06/1.636, allocations: 1.156 kB / 1.08 GB, free: 280.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2037/1.839, allocations: 171.4 MB / 1.247 GB, free: 128.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.98/25.82, allocations: 11.39 kB / 1.247 GB, free: 128.5 MB / 0.8262 GB " [Timeout remaining time 634] (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 --stepSize=5.76 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 29.919308356940746] Failed to read output from testmodel.py, exit status != 0: 26.070853685960174 26.081055269 25.311553885 Calling exit ...