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.001418/0.001418, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.00142/0.00142, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.45/1.45, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.863/0.863, allocations: 133.9 MB / 443.5 MB, free: 13.86 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.002186/0.002186, allocations: 65.7 kB / 0.6141 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1639, allocations: 85.86 MB / 0.6979 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05995/0.2238, allocations: 56.62 MB / 0.7532 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02592/0.2498, allocations: 18.07 MB / 0.7709 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003194/0.253, allocations: 99.19 kB / 0.771 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00291/0.2559, allocations: 0.9235 MB / 0.7719 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007966/0.2638, allocations: 2.62 MB / 0.7744 GB, free: 368 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004355/0.2682, allocations: 1.53 MB / 0.7759 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02293/0.2911, allocations: 21.23 MB / 0.7967 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01416/0.3053, allocations: 8.921 MB / 0.8054 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01968/0.325, allocations: 7.35 MB / 0.8126 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01363/0.3386, allocations: 6.677 MB / 0.8191 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002874/0.3415, allocations: 0.9414 MB / 0.82 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007275/0.3487, allocations: 1.752 MB / 0.8217 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.004735/0.3535, allocations: 2.43 MB / 0.8241 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.01028/0.3638, allocations: 4.711 MB / 0.8287 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01865/0.3824, allocations: 13.3 MB / 0.8417 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.515e-06/0.3824, allocations: 0 / 0.8417 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3824, allocations: 0 / 0.8417 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0005441/0.383, allocations: 0 / 0.8417 GB, free: 11.27 MB / 0.6544 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.0248/0.4078, allocations: 8.709 MB / 0.8502 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.4078, allocations: 13.7 kB / 0.8502 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000191/0.408, allocations: 156.4 kB / 0.8503 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002378/0.4104, allocations: 0.8461 MB / 0.8512 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004171/0.4146, allocations: 0.9605 MB / 0.8521 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/0.4277, allocations: 6.741 MB / 0.8587 GB, free: 9.676 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000398/0.4281, allocations: 464.2 kB / 0.8591 GB, free: 9.219 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001596/0.4297, allocations: 0.5976 MB / 0.8597 GB, free: 8.621 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6873/1.117, allocations: 9.022 MB / 0.8685 GB, free: 147.7 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001707/1.117, allocations: 25.84 kB / 0.8685 GB, free: 147.7 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008103/1.118, allocations: 259.4 kB / 0.8688 GB, free: 147.7 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002564/1.118, allocations: 177.8 kB / 0.869 GB, free: 147.7 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01587/1.134, allocations: 7.469 MB / 0.8763 GB, free: 145.2 MB / 0.67 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.03937/1.173, allocations: 36.06 MB / 0.9115 GB, free: 117.3 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00476/1.178, allocations: 4.009 MB / 0.9154 GB, free: 114.8 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00351/1.182, allocations: 3.035 MB / 0.9184 GB, free: 111.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/1.183, allocations: 0.9568 MB / 0.9193 GB, free: 110.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003176/1.186, allocations: 2.398 MB / 0.9216 GB, free: 108.2 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003097/1.189, allocations: 397 kB / 0.922 GB, free: 108 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 7.704e-06/1.189, allocations: 4 kB / 0.922 GB, free: 108 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.01053/1.2, allocations: 7.144 MB / 0.929 GB, free: 100.8 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/1.2, allocations: 85.84 kB / 0.9291 GB, free: 100.7 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007144/1.207, allocations: 5.668 MB / 0.9346 GB, free: 95.06 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008241/1.208, allocations: 85.7 kB / 0.9347 GB, free: 94.97 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002422/1.21, allocations: 3.275 MB / 0.9379 GB, free: 92.02 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001501/1.212, allocations: 1.175 MB / 0.939 GB, free: 91.01 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/1.213, allocations: 0.8616 MB / 0.9399 GB, free: 90.14 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.135e-05/1.213, allocations: 309.1 kB / 0.9402 GB, free: 89.84 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002577/1.215, allocations: 2.163 MB / 0.9423 GB, free: 87.66 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003009/1.218, allocations: 3.695 MB / 0.9459 GB, free: 83.29 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00577/1.224, allocations: 6.32 MB / 0.9521 GB, free: 76.26 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.107e-05/1.224, allocations: 12 kB / 0.9521 GB, free: 76.25 MB / 0.67 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008866/1.233, allocations: 6.787 MB / 0.9587 GB, free: 69.41 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.027e-05/1.233, allocations: 65.62 kB / 0.9588 GB, free: 69.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.571e-05/1.233, allocations: 48.62 kB / 0.9588 GB, free: 69.29 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008732/1.234, allocations: 439.2 kB / 0.9592 GB, free: 68.86 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00329/1.237, allocations: 1.006 MB / 0.9602 GB, free: 67.86 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004217/1.241, allocations: 5.704 MB / 0.9658 GB, free: 61.89 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004477/1.246, allocations: 286 kB / 0.9661 GB, free: 61.62 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003881/1.246, allocations: 216 kB / 0.9663 GB, free: 61.41 MB / 0.67 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.003271/1.25, allocations: 2.48 MB / 0.9687 GB, free: 58.93 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/1.251, allocations: 0.5512 MB / 0.9692 GB, free: 58.37 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006887/1.258, allocations: 5.262 MB / 0.9744 GB, free: 53.06 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/1.258, allocations: 32 kB / 0.9744 GB, free: 53.03 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/1.258, allocations: 4 kB / 0.9744 GB, free: 53.03 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004881/1.263, allocations: 4.516 MB / 0.9788 GB, free: 48.41 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01622/1.279, allocations: 11.97 MB / 0.9905 GB, free: 36.38 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/1.279, allocations: 4 kB / 0.9905 GB, free: 36.37 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002492/1.281, allocations: 0.6437 MB / 0.9911 GB, free: 35.73 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007055/1.282, allocations: 375.6 kB / 0.9915 GB, free: 35.36 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000195/1.282, allocations: 87.89 kB / 0.9916 GB, free: 35.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003952/1.286, allocations: 5.617 MB / 0.997 GB, free: 29.39 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.286, allocations: 3.938 kB / 0.997 GB, free: 29.38 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00945/1.296, allocations: 7.773 MB / 1.005 GB, free: 21.52 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002853/1.299, allocations: 1.185 MB / 1.006 GB, free: 20.31 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001448/1.3, allocations: 63.94 kB / 1.006 GB, free: 20.25 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003405/1.303, allocations: 199.8 kB / 1.006 GB, free: 20.05 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004041/1.304, allocations: 202.2 kB / 1.006 GB, free: 19.85 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002782/1.304, allocations: 135.9 kB / 1.006 GB, free: 19.72 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004979/1.309, allocations: 3.963 MB / 1.01 GB, free: 15.78 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/1.309, allocations: 0 / 1.01 GB, free: 15.78 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005709/1.315, allocations: 2.023 MB / 1.012 GB, free: 13.75 MB / 0.67 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.009594/1.324, allocations: 8.712 MB / 1.021 GB, free: 4.941 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006365/1.331, allocations: 5.245 MB / 1.026 GB, free: 15.64 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/1.331, allocations: 0 / 1.026 GB, free: 15.64 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.003503/1.334, allocations: 2.373 MB / 1.028 GB, free: 13.24 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01514/1.349, allocations: 3.39 MB / 1.031 GB, free: 10.07 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09364/1.443, allocations: 52.55 MB / 1.083 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006863/1.45, allocations: 4.624 MB / 1.087 GB, free: 14.71 MB / 0.7482 GB Notification: Performance of simCode: alias equations: time 0.008272/1.458, allocations: 2.08 MB / 1.089 GB, free: 12.66 MB / 0.7482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00768/1.466, allocations: 2.674 MB / 1.092 GB, free: 9.984 MB / 0.7482 GB Notification: Performance of SimCode: time 1.512e-06/1.466, allocations: 0 / 1.092 GB, free: 9.984 MB / 0.7482 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6217/2.088, allocations: 160.4 MB / 1.249 GB, free: 246.9 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.44/23.53, allocations: 10.5 kB / 1.249 GB, free: 246.9 MB / 0.8263 GB " [Timeout remaining time 636] (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: 27.762433834024705] Failed to read output from testmodel.py, exit status != 0: 24.06249621597817 23.786474776 23.400553078 Calling exit ...