Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001221/0.001221, allocations: 119.2 kB / 19.69 MB, free: 2.199 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.001366/0.001366, allocations: 225.6 kB / 23.01 MB, free: 5.043 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.404/1.404, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.921/0.921, allocations: 150 MB / 463.2 MB, free: 10.46 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001971/0.001971, allocations: 71.23 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1826, allocations: 89.16 MB / 0.7283 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4261/0.6087, allocations: 57.25 MB / 0.7842 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02759/0.6363, allocations: 18.21 MB / 0.802 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004013/0.6403, allocations: 101.3 kB / 0.8021 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003626/0.6439, allocations: 0.9249 MB / 0.803 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00956/0.6535, allocations: 2.676 MB / 0.8056 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005098/0.6586, allocations: 1.597 MB / 0.8072 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02728/0.6858, allocations: 21.85 MB / 0.8285 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01326/0.6991, allocations: 7.092 MB / 0.8355 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01855/0.7176, allocations: 7.534 MB / 0.8428 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01352/0.7312, allocations: 6.584 MB / 0.8492 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.003383/0.7346, allocations: 0.9375 MB / 0.8502 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007911/0.7425, allocations: 1.78 MB / 0.8519 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004751/0.7472, allocations: 2.43 MB / 0.8543 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01187/0.7591, allocations: 4.731 MB / 0.8589 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02021/0.7793, allocations: 13.33 MB / 0.8719 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.7793, allocations: 0 / 0.8719 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7793, allocations: 0 / 0.8719 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004616/0.7798, allocations: 0 / 0.8719 GB, free: 4.621 MB / 0.6387 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.02358/0.8033, allocations: 8.642 MB / 0.8804 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.8034, allocations: 12.03 kB / 0.8804 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003255/0.8067, allocations: 0.8422 MB / 0.8812 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005759/0.8124, allocations: 0.9489 MB / 0.8821 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01583/0.8282, allocations: 6.79 MB / 0.8887 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005249/0.8288, allocations: 456.2 kB / 0.8892 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002452/0.8312, allocations: 0.6015 MB / 0.8898 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02269/0.8539, allocations: 9.036 MB / 0.8986 GB, free: 8.797 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002097/0.8541, allocations: 19.83 kB / 0.8986 GB, free: 8.777 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001412/0.8555, allocations: 260 kB / 0.8989 GB, free: 8.523 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002086/0.8557, allocations: 187.9 kB / 0.899 GB, free: 8.34 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01675/0.8725, allocations: 7.461 MB / 0.9063 GB, free: 0.8711 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.05818/0.9307, allocations: 36.01 MB / 0.9415 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007093/0.9378, allocations: 4.01 MB / 0.9454 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005203/0.943, allocations: 3.035 MB / 0.9484 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/0.944, allocations: 218.2 kB / 0.9486 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004484/0.9485, allocations: 2.394 MB / 0.9509 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002529/0.951, allocations: 401 kB / 0.9513 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=317): time 1.032e-05/0.951, allocations: 0 / 0.9513 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=317): time 0.01484/0.9659, allocations: 6.993 MB / 0.9581 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.966, allocations: 81.91 kB / 0.9582 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009863/0.9758, allocations: 5.682 MB / 0.9638 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0008074/0.9766, allocations: 93.64 kB / 0.9638 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003708/0.9803, allocations: 3.271 MB / 0.967 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001886/0.9822, allocations: 1.174 MB / 0.9682 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001546/0.9838, allocations: 0.8625 MB / 0.969 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.9839, allocations: 305.1 kB / 0.9693 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003701/0.9876, allocations: 2.163 MB / 0.9714 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005152/0.9928, allocations: 3.689 MB / 0.975 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009732/1.002, allocations: 6.327 MB / 0.9812 GB, free: 0.5352 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.984e-05/1.003, allocations: 16 kB / 0.9812 GB, free: 0.5195 MB / 0.7481 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0131/1.016, allocations: 6.782 MB / 0.9879 GB, free: 9.688 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 8.505e-05/1.016, allocations: 53.7 kB / 0.9879 GB, free: 9.629 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-05/1.016, allocations: 52 kB / 0.988 GB, free: 9.578 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/1.017, allocations: 442 kB / 0.9884 GB, free: 9.141 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004094/1.021, allocations: 1.01 MB / 0.9894 GB, free: 8.129 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006537/1.027, allocations: 5.489 MB / 0.9947 GB, free: 2.422 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005058/1.033, allocations: 291.5 kB / 0.995 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008739/1.033, allocations: 216 kB / 0.9952 GB, free: 1.926 MB / 0.7637 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.005585/1.039, allocations: 2.478 MB / 0.9976 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002221/1.041, allocations: 0.559 MB / 0.9982 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/1.053, allocations: 5.252 MB / 1.003 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.121e-05/1.053, allocations: 32 kB / 1.003 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.27e-05/1.053, allocations: 4 kB / 1.003 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008319/1.061, allocations: 4.524 MB / 1.008 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03103/1.092, allocations: 12.02 MB / 1.019 GB, free: 8.75 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/1.092, allocations: 0 / 1.019 GB, free: 8.75 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003115/1.095, allocations: 0.6438 MB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/1.096, allocations: 361.4 kB / 1.02 GB, free: 7.746 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000647/1.097, allocations: 83.95 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007031/1.104, allocations: 5.414 MB / 1.026 GB, free: 2.027 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/1.104, allocations: 7.938 kB / 1.026 GB, free: 2.02 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/1.119, allocations: 7.79 MB / 1.033 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004734/1.124, allocations: 1.142 MB / 1.035 GB, free: 8.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002242/1.126, allocations: 67.98 kB / 1.035 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00436/1.131, allocations: 200 kB / 1.035 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006507/1.131, allocations: 206.1 kB / 1.035 GB, free: 8.523 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005581/1.132, allocations: 143.9 kB / 1.035 GB, free: 8.383 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.008706/1.141, allocations: 3.967 MB / 1.039 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.31e-07/1.141, allocations: 0 / 1.039 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.008199/1.149, allocations: 2.023 MB / 1.041 GB, free: 2.41 MB / 0.8106 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.01667/1.166, allocations: 8.712 MB / 1.05 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01059/1.176, allocations: 5.241 MB / 1.055 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/1.176, allocations: 7.938 kB / 1.055 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004776/1.181, allocations: 2.377 MB / 1.057 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01729/1.198, allocations: 3.39 MB / 1.06 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4697/1.668, allocations: 52.64 MB / 1.112 GB, free: 281.7 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005553/1.673, allocations: 4.625 MB / 1.116 GB, free: 280.1 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.006175/1.68, allocations: 2.083 MB / 1.118 GB, free: 280.1 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003921/1.684, allocations: 2.676 MB / 1.121 GB, free: 278 MB / 0.8575 GB Notification: Performance of SimCode: time 9.11e-07/1.684, allocations: 0 / 1.121 GB, free: 278 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2124/1.896, allocations: 164.3 MB / 1.281 GB, free: 133.8 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.32/24.21, allocations: 15.11 kB / 1.281 GB, free: 133.8 MB / 0.8575 GB " [Timeout remaining time 636] (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.csv --start-time 0 --stop-time 14400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 5.76 IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.07773646900023] Failed to read output from testmodel.py, exit status != 0: 24.413398106000386 24.430871205 23.647521177 Calling exit ...