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.001583/0.001583, allocations: 114 kB / 17.12 MB, free: 6.008 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.001956/0.001956, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.507/1.507, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.9571/0.9571, allocations: 150 MB / 459.5 MB, free: 5.309 MB / 350.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.001884/0.001884, allocations: 68.19 kB / 0.6361 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1742, allocations: 89.13 MB / 0.7231 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06125/0.2355, allocations: 56.72 MB / 0.7785 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02885/0.2643, allocations: 18.09 MB / 0.7962 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003579/0.2679, allocations: 99.19 kB / 0.7963 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003418/0.2713, allocations: 0.9274 MB / 0.7972 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008679/0.28, allocations: 2.616 MB / 0.7998 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00485/0.2848, allocations: 1.537 MB / 0.8013 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02893/0.3138, allocations: 21.27 MB / 0.822 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01619/0.33, allocations: 8.874 MB / 0.8307 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01787/0.3478, allocations: 7.519 MB / 0.838 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0152/0.363, allocations: 6.58 MB / 0.8445 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.004433/0.3675, allocations: 0.9375 MB / 0.8454 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008912/0.3764, allocations: 1.752 MB / 0.8471 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005504/0.3819, allocations: 2.437 MB / 0.8495 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01267/0.3946, allocations: 4.723 MB / 0.8541 GB, free: 13.51 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0222/0.4168, allocations: 13.33 MB / 0.8671 GB, free: 136 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.4168, allocations: 0 / 0.8671 GB, free: 136 kB / 0.67 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4168, allocations: 0 / 0.8671 GB, free: 136 kB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000537/0.4173, allocations: 0 / 0.8671 GB, free: 136 kB / 0.67 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.4175/0.8348, allocations: 8.712 MB / 0.8756 GB, free: 131.3 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.8349, allocations: 9.422 kB / 0.8756 GB, free: 131.3 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002706/0.8376, allocations: 0.8444 MB / 0.8764 GB, free: 130.8 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004597/0.8422, allocations: 0.9508 MB / 0.8774 GB, free: 130.4 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01827/0.8604, allocations: 6.752 MB / 0.884 GB, free: 127.2 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006775/0.8611, allocations: 459.8 kB / 0.8844 GB, free: 126.9 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002614/0.8637, allocations: 0.5967 MB / 0.885 GB, free: 126.7 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02314/0.8869, allocations: 9.045 MB / 0.8938 GB, free: 121.2 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003641/0.8872, allocations: 23.73 kB / 0.8938 GB, free: 121.2 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00202/0.8893, allocations: 255.2 kB / 0.8941 GB, free: 121 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001785/0.8894, allocations: 180.4 kB / 0.8943 GB, free: 121 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01489/0.9043, allocations: 7.471 MB / 0.9016 GB, free: 113.7 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.05042/0.9548, allocations: 36.1 MB / 0.9368 GB, free: 75.9 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005909/0.9607, allocations: 4.005 MB / 0.9407 GB, free: 71.9 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004221/0.9649, allocations: 3.035 MB / 0.9437 GB, free: 68.86 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/0.9661, allocations: 0.9544 MB / 0.9446 GB, free: 67.72 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003847/0.9699, allocations: 2.394 MB / 0.9469 GB, free: 65.29 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00296/0.9729, allocations: 393.1 kB / 0.9473 GB, free: 64.91 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 1.392e-05/0.9729, allocations: 10.89 kB / 0.9473 GB, free: 64.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.01278/0.9856, allocations: 7.147 MB / 0.9543 GB, free: 57.66 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.9857, allocations: 89.91 kB / 0.9544 GB, free: 57.56 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/0.9963, allocations: 5.667 MB / 0.9599 GB, free: 51.92 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007996/0.9971, allocations: 89.64 kB / 0.96 GB, free: 51.82 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.003145/1, allocations: 3.271 MB / 0.9632 GB, free: 48.53 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001465/1.002, allocations: 1.174 MB / 0.9644 GB, free: 47.34 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002317/1.004, allocations: 0.8624 MB / 0.9652 GB, free: 46.47 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.602e-05/1.004, allocations: 301.1 kB / 0.9655 GB, free: 46.17 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00331/1.007, allocations: 2.165 MB / 0.9676 GB, free: 44 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003861/1.011, allocations: 3.693 MB / 0.9712 GB, free: 39.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007234/1.018, allocations: 6.327 MB / 0.9774 GB, free: 32.56 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-05/1.019, allocations: 16 kB / 0.9774 GB, free: 32.54 MB / 0.67 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01095/1.029, allocations: 6.783 MB / 0.984 GB, free: 25.71 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.176e-05/1.03, allocations: 53.7 kB / 0.9841 GB, free: 25.65 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.201e-05/1.03, allocations: 48 kB / 0.9841 GB, free: 25.61 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/1.031, allocations: 439.1 kB / 0.9845 GB, free: 25.17 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003475/1.034, allocations: 1.002 MB / 0.9855 GB, free: 24.17 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004854/1.039, allocations: 5.705 MB / 0.9911 GB, free: 18.19 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005259/1.044, allocations: 287.6 kB / 0.9914 GB, free: 17.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007577/1.045, allocations: 228.9 kB / 0.9916 GB, free: 17.68 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.004889/1.05, allocations: 2.479 MB / 0.994 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002295/1.052, allocations: 0.559 MB / 0.9946 GB, free: 14.63 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01013/1.062, allocations: 5.252 MB / 0.9997 GB, free: 9.34 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.081e-05/1.062, allocations: 31.98 kB / 0.9997 GB, free: 9.309 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.427e-05/1.062, allocations: 4 kB / 0.9997 GB, free: 9.305 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006172/1.069, allocations: 4.516 MB / 1.004 GB, free: 4.684 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02667/1.095, allocations: 11.97 MB / 1.016 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/1.095, allocations: 4.125 kB / 1.016 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003147/1.098, allocations: 0.6397 MB / 1.016 GB, free: 7.922 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009927/1.099, allocations: 369.3 kB / 1.017 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004507/1.1, allocations: 87.95 kB / 1.017 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006983/1.107, allocations: 5.627 MB / 1.022 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.107, allocations: 0 / 1.022 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01599/1.123, allocations: 7.776 MB / 1.03 GB, free: 9.699 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004218/1.127, allocations: 1.181 MB / 1.031 GB, free: 8.496 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001956/1.129, allocations: 67.92 kB / 1.031 GB, free: 8.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004535/1.133, allocations: 198.5 kB / 1.031 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006902/1.134, allocations: 198.3 kB / 1.032 GB, free: 8.043 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006135/1.135, allocations: 155.8 kB / 1.032 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.009052/1.144, allocations: 3.955 MB / 1.036 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/1.144, allocations: 0 / 1.036 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00964/1.153, allocations: 2.027 MB / 1.038 GB, free: 1.926 MB / 0.7012 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.01847/1.172, allocations: 8.708 MB / 1.046 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0105/1.182, allocations: 5.241 MB / 1.051 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.182, allocations: 4 kB / 1.051 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004637/1.187, allocations: 2.378 MB / 1.054 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01866/1.206, allocations: 3.388 MB / 1.057 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1072/1.313, allocations: 52.54 MB / 1.108 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0076/1.321, allocations: 4.636 MB / 1.113 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.007645/1.328, allocations: 2.07 MB / 1.115 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00563/1.334, allocations: 2.678 MB / 1.117 GB, free: 14.04 MB / 0.795 GB Notification: Performance of SimCode: time 1.313e-06/1.334, allocations: 0 / 1.117 GB, free: 14.04 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.046/2.379, allocations: 160.4 MB / 1.274 GB, free: 245.6 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.01/23.39, allocations: 6.438 kB / 1.274 GB, free: 245.6 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: 27.67085525393486] Failed to read output from testmodel.py, exit status != 0: 23.559315640944988 23.574861472 23.155029367 Calling exit ...