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.001322/0.001322, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.00145/0.00145, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.8088/0.8088, allocations: 134 MB / 447.2 MB, free: 10.23 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.001897/0.001897, allocations: 62.38 kB / 0.6193 GB, free: 7.238 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1751, allocations: 85.91 MB / 0.7032 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4373/0.6124, allocations: 57.17 MB / 0.759 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02334/0.6358, allocations: 18.19 MB / 0.7768 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003204/0.639, allocations: 102.2 kB / 0.7769 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002802/0.6418, allocations: 0.9229 MB / 0.7778 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009053/0.6508, allocations: 2.671 MB / 0.7804 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005298/0.6561, allocations: 1.606 MB / 0.782 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02701/0.6831, allocations: 21.79 MB / 0.8032 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0131/0.6962, allocations: 7.134 MB / 0.8102 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01728/0.7135, allocations: 7.361 MB / 0.8174 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01358/0.7271, allocations: 6.679 MB / 0.8239 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003221/0.7303, allocations: 0.9394 MB / 0.8248 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008082/0.7384, allocations: 1.786 MB / 0.8266 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005253/0.7437, allocations: 2.431 MB / 0.829 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0125/0.7562, allocations: 4.718 MB / 0.8336 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02241/0.7786, allocations: 13.29 MB / 0.8466 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.7786, allocations: 3.938 kB / 0.8466 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7786, allocations: 0 / 0.8466 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0005722/0.7791, allocations: 0 / 0.8466 GB, free: 2.574 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.02712/0.8063, allocations: 8.644 MB / 0.855 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.8063, allocations: 12.03 kB / 0.855 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000238/0.8066, allocations: 160.4 kB / 0.8552 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003003/0.8096, allocations: 0.8383 MB / 0.856 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005325/0.8149, allocations: 0.9605 MB / 0.8569 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01664/0.8315, allocations: 6.774 MB / 0.8635 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006612/0.8322, allocations: 456.2 kB / 0.864 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002724/0.8349, allocations: 0.5892 MB / 0.8645 GB, free: 180 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02402/0.8589, allocations: 9.044 MB / 0.8734 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002797/0.8592, allocations: 19.83 kB / 0.8734 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001872/0.8611, allocations: 260 kB / 0.8736 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002445/0.8613, allocations: 184 kB / 0.8738 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01814/0.8795, allocations: 7.461 MB / 0.8811 GB, free: 14.89 MB / 0.6544 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.06114/0.9406, allocations: 35.98 MB / 0.9162 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007474/0.9481, allocations: 3.996 MB / 0.9201 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005371/0.9534, allocations: 3.035 MB / 0.9231 GB, free: 2.098 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/0.9545, allocations: 210.7 kB / 0.9233 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004778/0.9593, allocations: 2.394 MB / 0.9256 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002837/0.9621, allocations: 399.4 kB / 0.926 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=317): time 9.809e-06/0.9621, allocations: 0 / 0.926 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of matching and sorting (n=317): time 0.01525/0.9774, allocations: 6.999 MB / 0.9329 GB, free: 8.035 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.982e-05/0.9775, allocations: 85.91 kB / 0.9329 GB, free: 7.938 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01253/0.99, allocations: 5.682 MB / 0.9385 GB, free: 2.277 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0007728/0.9908, allocations: 89.7 kB / 0.9386 GB, free: 2.184 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.004253/0.995, allocations: 3.27 MB / 0.9418 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.002029/0.997, allocations: 1.181 MB / 0.9429 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002836/0.9999, allocations: 0.8624 MB / 0.9438 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1, allocations: 304.9 kB / 0.9441 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004278/1.004, allocations: 2.163 MB / 0.9462 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005477/1.01, allocations: 3.689 MB / 0.9498 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009328/1.019, allocations: 6.331 MB / 0.956 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.559e-05/1.019, allocations: 12 kB / 0.956 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01314/1.032, allocations: 6.782 MB / 0.9626 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.065e-05/1.032, allocations: 59.83 kB / 0.9626 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.745e-05/1.032, allocations: 48.88 kB / 0.9627 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/1.034, allocations: 436.3 kB / 0.9631 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003912/1.037, allocations: 1.01 MB / 0.9641 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006881/1.044, allocations: 5.485 MB / 0.9694 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00503/1.049, allocations: 291.7 kB / 0.9697 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000718/1.05, allocations: 216 kB / 0.9699 GB, free: 368 kB / 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.004839/1.055, allocations: 2.479 MB / 0.9724 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001735/1.057, allocations: 0.5629 MB / 0.9729 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009587/1.066, allocations: 5.254 MB / 0.978 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-05/1.066, allocations: 36 kB / 0.9781 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/1.066, allocations: 8 kB / 0.9781 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007023/1.073, allocations: 4.516 MB / 0.9825 GB, free: 3.344 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02311/1.096, allocations: 12.02 MB / 0.9942 GB, free: 7.262 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/1.096, allocations: 0 / 0.9942 GB, free: 7.262 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002787/1.099, allocations: 0.6438 MB / 0.9949 GB, free: 6.617 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008717/1.1, allocations: 373.3 kB / 0.9952 GB, free: 6.246 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002683/1.1, allocations: 83.94 kB / 0.9953 GB, free: 6.164 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006146/1.107, allocations: 5.416 MB / 1.001 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/1.107, allocations: 0 / 1.001 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01397/1.121, allocations: 7.79 MB / 1.008 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003771/1.124, allocations: 1.146 MB / 1.009 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001536/1.126, allocations: 63.98 kB / 1.009 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003556/1.129, allocations: 191.8 kB / 1.01 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004721/1.13, allocations: 210.1 kB / 1.01 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000339/1.13, allocations: 147.8 kB / 1.01 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.007204/1.137, allocations: 3.967 MB / 1.014 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/1.137, allocations: 0 / 1.014 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.007969/1.145, allocations: 2.027 MB / 1.016 GB, free: 0.9219 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.01671/1.162, allocations: 8.701 MB / 1.024 GB, free: 8.137 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.009948/1.172, allocations: 5.249 MB / 1.029 GB, free: 2.836 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/1.172, allocations: 7.781 kB / 1.029 GB, free: 2.828 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004277/1.176, allocations: 2.37 MB / 1.032 GB, free: 440 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01698/1.193, allocations: 3.394 MB / 1.035 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.468/1.661, allocations: 52.64 MB / 1.086 GB, free: 274.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004155/1.665, allocations: 4.633 MB / 1.091 GB, free: 272.9 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005296/1.671, allocations: 2.08 MB / 1.093 GB, free: 272.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003382/1.674, allocations: 2.675 MB / 1.096 GB, free: 270.8 MB / 0.8262 GB Notification: Performance of SimCode: time 1.072e-06/1.674, allocations: 0 / 1.096 GB, free: 270.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2058/1.88, allocations: 164.3 MB / 1.256 GB, free: 121.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.93/24.81, allocations: 19.91 kB / 1.256 GB, free: 121.3 MB / 0.8262 GB " [Timeout remaining time 635] (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: 28.743570665013976] Failed to read output from testmodel.py, exit status != 0: 25.059235636959784 25.069266157 24.288130819 Calling exit ...