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.001371/0.001371, allocations: 113 kB / 18.94 MB, free: 2.934 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.001717/0.001717, allocations: 210.1 kB / 22.25 MB, free: 5.082 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.589/1.589, allocations: 230.6 MB / 256 MB, free: 8.035 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.8395/0.8395, allocations: 134 MB / 446.4 MB, free: 10.22 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.00192/0.00192, allocations: 66.55 kB / 0.6185 GB, free: 7.211 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1754, allocations: 85.92 MB / 0.7024 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4162/0.5916, allocations: 57.16 MB / 0.7583 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02236/0.6139, allocations: 18.19 MB / 0.776 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003577/0.6175, allocations: 107 kB / 0.7761 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002604/0.6201, allocations: 0.9211 MB / 0.777 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008926/0.629, allocations: 2.68 MB / 0.7796 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004149/0.6332, allocations: 1.6 MB / 0.7812 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02305/0.6562, allocations: 21.79 MB / 0.8025 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01152/0.6678, allocations: 7.13 MB / 0.8094 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01668/0.6844, allocations: 7.368 MB / 0.8166 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01485/0.6993, allocations: 6.682 MB / 0.8232 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003454/0.7028, allocations: 0.9375 MB / 0.8241 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007788/0.7105, allocations: 1.773 MB / 0.8258 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00471/0.7152, allocations: 2.445 MB / 0.8282 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01102/0.7263, allocations: 4.71 MB / 0.8328 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02253/0.7488, allocations: 13.3 MB / 0.8458 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7488, allocations: 0 / 0.8458 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7488, allocations: 0 / 0.8458 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0005188/0.7493, allocations: 0 / 0.8458 GB, free: 2.582 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.0247/0.774, allocations: 8.633 MB / 0.8542 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.7741, allocations: 12.03 kB / 0.8542 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003088/0.7772, allocations: 0.8403 MB / 0.8551 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005331/0.7825, allocations: 0.9605 MB / 0.856 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01683/0.7993, allocations: 6.774 MB / 0.8626 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006441/0.8, allocations: 459 kB / 0.863 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002378/0.8024, allocations: 0.6 MB / 0.8636 GB, free: 344 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02529/0.8276, allocations: 9.033 MB / 0.8725 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002776/0.8279, allocations: 27.81 kB / 0.8725 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001906/0.8298, allocations: 259.6 kB / 0.8727 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002317/0.8301, allocations: 179.9 kB / 0.8729 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01756/0.8476, allocations: 7.463 MB / 0.8802 GB, free: 15.06 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.06279/0.9104, allocations: 35.97 MB / 0.9153 GB, free: 9.301 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007637/0.9181, allocations: 4.004 MB / 0.9192 GB, free: 5.309 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005653/0.9237, allocations: 3.03 MB / 0.9222 GB, free: 2.27 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/0.9248, allocations: 218.1 kB / 0.9224 GB, free: 2.07 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004844/0.9297, allocations: 2.399 MB / 0.9247 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002958/0.9326, allocations: 399.7 kB / 0.9251 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=317): time 1.859e-05/0.9326, allocations: 0 / 0.9251 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of matching and sorting (n=317): time 0.01615/0.9488, allocations: 6.999 MB / 0.932 GB, free: 8.199 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.139e-05/0.9489, allocations: 81.91 kB / 0.932 GB, free: 8.105 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01221/0.9611, allocations: 5.682 MB / 0.9376 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0008669/0.962, allocations: 85.7 kB / 0.9377 GB, free: 2.355 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.004306/0.9663, allocations: 3.271 MB / 0.9409 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001983/0.9682, allocations: 1.173 MB / 0.942 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002637/0.9709, allocations: 0.8624 MB / 0.9428 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.971, allocations: 305.1 kB / 0.9431 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004196/0.9752, allocations: 2.16 MB / 0.9452 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005526/0.9807, allocations: 3.705 MB / 0.9489 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/0.9908, allocations: 6.315 MB / 0.955 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-05/0.9908, allocations: 16 kB / 0.955 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0137/1.005, allocations: 6.783 MB / 0.9617 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/1.005, allocations: 57.69 kB / 0.9617 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001007/1.005, allocations: 51.94 kB / 0.9618 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/1.006, allocations: 444.2 kB / 0.9622 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003942/1.01, allocations: 0.9983 MB / 0.9632 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007276/1.017, allocations: 5.498 MB / 0.9685 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005981/1.023, allocations: 291.5 kB / 0.9688 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001173/1.024, allocations: 220 kB / 0.969 GB, free: 0.5195 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.006425/1.031, allocations: 2.485 MB / 0.9715 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002308/1.033, allocations: 0.559 MB / 0.972 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/1.045, allocations: 5.25 MB / 0.9771 GB, free: 8.164 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-05/1.045, allocations: 28 kB / 0.9772 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.229e-05/1.045, allocations: 4 kB / 0.9772 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008018/1.053, allocations: 4.524 MB / 0.9816 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03094/1.084, allocations: 12.01 MB / 0.9933 GB, free: 7.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/1.084, allocations: 4 kB / 0.9933 GB, free: 7.426 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003169/1.087, allocations: 0.6438 MB / 0.9939 GB, free: 6.781 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009835/1.088, allocations: 377.2 kB / 0.9943 GB, free: 6.406 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004797/1.088, allocations: 83.95 kB / 0.9944 GB, free: 6.324 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006681/1.095, allocations: 5.417 MB / 0.9997 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/1.095, allocations: 7.938 kB / 0.9997 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01513/1.11, allocations: 7.775 MB / 1.007 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004323/1.114, allocations: 1.142 MB / 1.008 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00193/1.116, allocations: 71.98 kB / 1.008 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004026/1.12, allocations: 192 kB / 1.009 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006256/1.121, allocations: 210 kB / 1.009 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005685/1.122, allocations: 143.9 kB / 1.009 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.009811/1.131, allocations: 3.975 MB / 1.013 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.71e-07/1.131, allocations: 0 / 1.013 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.009297/1.141, allocations: 2.027 MB / 1.015 GB, free: 1.082 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.01799/1.159, allocations: 8.708 MB / 1.023 GB, free: 8.297 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01022/1.169, allocations: 5.241 MB / 1.028 GB, free: 3.004 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/1.169, allocations: 7.781 kB / 1.028 GB, free: 2.996 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0045/1.173, allocations: 2.37 MB / 1.031 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01774/1.191, allocations: 3.396 MB / 1.034 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7961/1.987, allocations: 52.64 MB / 1.086 GB, free: 274.2 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004467/1.992, allocations: 4.626 MB / 1.09 GB, free: 272.7 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 0.005538/1.997, allocations: 2.074 MB / 1.092 GB, free: 272.6 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003656/2.001, allocations: 2.676 MB / 1.095 GB, free: 270.5 MB / 0.8263 GB Notification: Performance of SimCode: time 6.71e-07/2.001, allocations: 0 / 1.095 GB, free: 270.5 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2138/2.215, allocations: 164.2 MB / 1.255 GB, free: 121.3 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.86/25.08, allocations: 3.984 kB / 1.255 GB, free: 121.3 MB / 0.8263 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: 29.12332473299466] Failed to read output from testmodel.py, exit status != 0: 25.274079625029117 25.2851118 24.533724767 Calling exit ...