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.001303/0.001303, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001457/0.001457, allocations: 211 kB / 22.24 MB, free: 4.855 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.809 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.8451/0.8451, allocations: 134 MB / 446.4 MB, free: 9.977 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="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"}) [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.002008/0.002008, allocations: 63.31 kB / 0.6185 GB, free: 6.922 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.189, allocations: 85.91 MB / 0.7024 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4856/0.6746, allocations: 51.55 MB / 0.7527 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02318/0.6978, allocations: 16.82 MB / 0.7691 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003516/0.7013, allocations: 102.3 kB / 0.7692 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002586/0.7039, allocations: 0.8959 MB / 0.7701 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008541/0.7124, allocations: 2.659 MB / 0.7727 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004606/0.717, allocations: 1.567 MB / 0.7742 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02854/0.7456, allocations: 22.02 MB / 0.7957 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01567/0.7612, allocations: 7.135 MB / 0.8027 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01962/0.7809, allocations: 7.405 MB / 0.8099 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01399/0.7948, allocations: 6.991 MB / 0.8168 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003653/0.7985, allocations: 0.9492 MB / 0.8177 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008345/0.8068, allocations: 1.577 MB / 0.8192 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005078/0.8119, allocations: 2.43 MB / 0.8216 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01246/0.8244, allocations: 3.86 MB / 0.8254 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02352/0.8479, allocations: 13.33 MB / 0.8384 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.8479, allocations: 0 / 0.8384 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8479, allocations: 0 / 0.8384 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0005412/0.8485, allocations: 0 / 0.8384 GB, free: 7.402 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.02788/0.8763, allocations: 8.65 MB / 0.8468 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.8764, allocations: 12.03 kB / 0.8468 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003381/0.8798, allocations: 0.8405 MB / 0.8477 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005647/0.8854, allocations: 0.9489 MB / 0.8486 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01931/0.9047, allocations: 6.779 MB / 0.8552 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006534/0.9054, allocations: 462.3 kB / 0.8557 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002841/0.9082, allocations: 0.5997 MB / 0.8562 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02586/0.9341, allocations: 10.09 MB / 0.8661 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000336/0.9344, allocations: 23.83 kB / 0.8661 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002366/0.9368, allocations: 266.8 kB / 0.8664 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002932/0.9371, allocations: 179.9 kB / 0.8665 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02036/0.9574, allocations: 7.445 MB / 0.8738 GB, free: 2.605 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.0628/1.02, allocations: 27.23 MB / 0.9004 GB, free: 7.207 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008307/1.029, allocations: 3.967 MB / 0.9043 GB, free: 3.25 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005976/1.035, allocations: 3.038 MB / 0.9073 GB, free: 216 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/1.036, allocations: 210.2 kB / 0.9075 GB, free: 4 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006099/1.042, allocations: 3.452 MB / 0.9108 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003324/1.045, allocations: 397 kB / 0.9112 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=317): time 1.827e-05/1.045, allocations: 0 / 0.9112 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of matching and sorting (n=317): time 0.01716/1.062, allocations: 6.997 MB / 0.918 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/1.062, allocations: 89.91 kB / 0.9181 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01314/1.076, allocations: 5.763 MB / 0.9237 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0009575/1.076, allocations: 85.7 kB / 0.9238 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.004554/1.081, allocations: 3.273 MB / 0.927 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002176/1.083, allocations: 1.17 MB / 0.9282 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002988/1.086, allocations: 0.8624 MB / 0.929 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.086, allocations: 305.1 kB / 0.9293 GB, free: 9.277 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004495/1.091, allocations: 2.192 MB / 0.9314 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005993/1.097, allocations: 3.826 MB / 0.9352 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/1.108, allocations: 6.319 MB / 0.9414 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.178e-05/1.108, allocations: 20 kB / 0.9414 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0163/1.124, allocations: 6.823 MB / 0.948 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/1.124, allocations: 53.7 kB / 0.9481 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.535e-05/1.124, allocations: 48 kB / 0.9481 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/1.125, allocations: 445.5 kB / 0.9486 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004382/1.13, allocations: 1.006 MB / 0.9495 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007102/1.137, allocations: 5.417 MB / 0.9548 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005577/1.142, allocations: 287.7 kB / 0.9551 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001066/1.144, allocations: 220 kB / 0.9553 GB, free: 12.89 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.006366/1.15, allocations: 2.482 MB / 0.9577 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002358/1.152, allocations: 0.5629 MB / 0.9583 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/1.164, allocations: 5.253 MB / 0.9634 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.546e-05/1.165, allocations: 32 kB / 0.9634 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.056e-05/1.165, allocations: 4 kB / 0.9634 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008389/1.173, allocations: 4.529 MB / 0.9679 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03065/1.204, allocations: 11.08 MB / 0.9787 GB, free: 4.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/1.204, allocations: 4.125 kB / 0.9787 GB, free: 4.746 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003149/1.207, allocations: 0.6436 MB / 0.9793 GB, free: 4.102 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/1.208, allocations: 369.3 kB / 0.9797 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005385/1.208, allocations: 83.95 kB / 0.9798 GB, free: 3.652 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006961/1.215, allocations: 5.331 MB / 0.985 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/1.215, allocations: 7.875 kB / 0.985 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01587/1.231, allocations: 7.739 MB / 0.9925 GB, free: 6.27 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004789/1.236, allocations: 1.148 MB / 0.9936 GB, free: 5.117 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001815/1.238, allocations: 71.98 kB / 0.9937 GB, free: 5.047 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004193/1.242, allocations: 195.7 kB / 0.9939 GB, free: 4.855 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006689/1.243, allocations: 210.1 kB / 0.9941 GB, free: 4.648 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006191/1.243, allocations: 143.9 kB / 0.9942 GB, free: 4.508 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.008989/1.252, allocations: 3.963 MB / 0.9981 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.2e-07/1.252, allocations: 0 / 0.9981 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.008908/1.261, allocations: 2.027 MB / 1 GB, free: 14.54 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.01881/1.28, allocations: 8.675 MB / 1.009 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01109/1.291, allocations: 5.261 MB / 1.014 GB, free: 468 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/1.291, allocations: 4 kB / 1.014 GB, free: 464 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.005334/1.296, allocations: 2.371 MB / 1.016 GB, free: 14.05 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01966/1.316, allocations: 3.392 MB / 1.019 GB, free: 10.77 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7858/2.102, allocations: 52.73 MB / 1.071 GB, free: 280.6 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006648/2.108, allocations: 4.15 MB / 1.075 GB, free: 279.5 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 0.007341/2.116, allocations: 2.064 MB / 1.077 GB, free: 279.5 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004789/2.121, allocations: 2.681 MB / 1.08 GB, free: 277.4 MB / 0.8263 GB Notification: Performance of SimCode: time 1.583e-06/2.121, allocations: 0 / 1.08 GB, free: 277.4 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2231/2.344, allocations: 171 MB / 1.247 GB, free: 126.1 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.66/22.01, allocations: 0 / 1.247 GB, free: 126.1 MB / 0.8263 GB " [Timeout remaining time 638] (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: 25.997267683036625] Failed to read output from testmodel.py, exit status != 0: 22.214484098367393 22.230833589 21.379751406 Calling exit ...