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.001355/0.001355, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001499/0.001499, allocations: 212.7 kB / 22.99 MB, free: 4.977 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9744/0.9744, allocations: 149.9 MB / 463 MB, free: 10.34 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.003522/0.003522, allocations: 67.55 kB / 0.6411 GB, free: 10.17 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2304, allocations: 89.17 MB / 0.7281 GB, free: 1.074 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4272/0.6576, allocations: 51.63 MB / 0.7786 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02224/0.6798, allocations: 16.83 MB / 0.795 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003494/0.6833, allocations: 105.6 kB / 0.7951 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003225/0.6866, allocations: 0.8998 MB / 0.796 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009606/0.6962, allocations: 2.658 MB / 0.7986 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005198/0.7014, allocations: 1.57 MB / 0.8001 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02693/0.7283, allocations: 22.05 MB / 0.8216 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01151/0.7398, allocations: 7.093 MB / 0.8286 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01688/0.7567, allocations: 7.582 MB / 0.836 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0147/0.7714, allocations: 6.893 MB / 0.8427 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003402/0.7748, allocations: 0.9414 MB / 0.8436 GB, free: 76 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008041/0.7828, allocations: 1.585 MB / 0.8452 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004891/0.7877, allocations: 2.426 MB / 0.8475 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01176/0.7995, allocations: 3.868 MB / 0.8513 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02148/0.821, allocations: 13.38 MB / 0.8644 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.821, allocations: 0 / 0.8644 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.833e-06/0.821, allocations: 0 / 0.8644 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004314/0.8214, allocations: 4 kB / 0.8644 GB, free: 10.75 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.02289/0.8443, allocations: 8.638 MB / 0.8728 GB, free: 2.027 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.267e-05/0.8444, allocations: 8.031 kB / 0.8728 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003162/0.8475, allocations: 0.8383 MB / 0.8736 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005378/0.8529, allocations: 0.9566 MB / 0.8746 GB, free: 216 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01765/0.8706, allocations: 6.787 MB / 0.8812 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006212/0.8712, allocations: 461.2 kB / 0.8816 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002794/0.874, allocations: 0.6015 MB / 0.8822 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02622/0.9002, allocations: 10.1 MB / 0.8921 GB, free: 13.6 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000363/0.9006, allocations: 15.88 kB / 0.8921 GB, free: 13.59 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002295/0.9028, allocations: 260 kB / 0.8924 GB, free: 13.33 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002442/0.9031, allocations: 187.9 kB / 0.8925 GB, free: 13.15 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01862/0.9217, allocations: 7.445 MB / 0.8998 GB, free: 5.695 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.06065/0.9824, allocations: 27.27 MB / 0.9264 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0078/0.9902, allocations: 3.974 MB / 0.9303 GB, free: 5.988 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005702/0.9959, allocations: 3.031 MB / 0.9333 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/0.997, allocations: 202.2 kB / 0.9335 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00578/1.003, allocations: 3.452 MB / 0.9368 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002802/1.006, allocations: 393 kB / 0.9372 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=317): time 1.139e-05/1.006, allocations: 4 kB / 0.9372 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of matching and sorting (n=317): time 0.01726/1.023, allocations: 7.008 MB / 0.9441 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.476e-05/1.023, allocations: 89.84 kB / 0.9442 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01254/1.035, allocations: 5.771 MB / 0.9498 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008139/1.036, allocations: 89.7 kB / 0.9499 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.004582/1.041, allocations: 3.275 MB / 0.9531 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002068/1.043, allocations: 1.166 MB / 0.9542 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002871/1.046, allocations: 0.8663 MB / 0.9551 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.046, allocations: 305.1 kB / 0.9554 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004559/1.051, allocations: 2.189 MB / 0.9575 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006404/1.057, allocations: 3.822 MB / 0.9612 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/1.068, allocations: 6.327 MB / 0.9674 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.208e-05/1.068, allocations: 16 kB / 0.9674 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01571/1.084, allocations: 6.816 MB / 0.9741 GB, free: 7.262 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.00012/1.084, allocations: 59.42 kB / 0.9741 GB, free: 7.199 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001008/1.084, allocations: 52.16 kB / 0.9742 GB, free: 7.148 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/1.085, allocations: 437.2 kB / 0.9746 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004259/1.089, allocations: 1.006 MB / 0.9756 GB, free: 5.707 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007143/1.097, allocations: 5.414 MB / 0.9809 GB, free: 72 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005091/1.102, allocations: 283.7 kB / 0.9811 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009996/1.103, allocations: 220 kB / 0.9813 GB, free: 15.58 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.005721/1.108, allocations: 2.491 MB / 0.9838 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002209/1.111, allocations: 0.5551 MB / 0.9843 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/1.123, allocations: 5.257 MB / 0.9895 GB, free: 7.215 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.738e-05/1.123, allocations: 28 kB / 0.9895 GB, free: 7.188 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.88e-05/1.123, allocations: 8 kB / 0.9895 GB, free: 7.18 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009036/1.132, allocations: 4.531 MB / 0.9939 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02994/1.162, allocations: 11.07 MB / 1.005 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/1.162, allocations: 4 kB / 1.005 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003064/1.165, allocations: 0.644 MB / 1.005 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009429/1.166, allocations: 371.8 kB / 1.006 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004917/1.167, allocations: 87.89 kB / 1.006 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006552/1.173, allocations: 5.328 MB / 1.011 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.173, allocations: 3.938 kB / 1.011 GB, free: 0.6992 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01542/1.189, allocations: 7.74 MB / 1.019 GB, free: 8.863 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004415/1.193, allocations: 1.15 MB / 1.02 GB, free: 7.711 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001676/1.195, allocations: 67.98 kB / 1.02 GB, free: 7.645 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003861/1.199, allocations: 203.9 kB / 1.02 GB, free: 7.445 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005829/1.199, allocations: 210 kB / 1.02 GB, free: 7.238 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005133/1.2, allocations: 139.9 kB / 1.02 GB, free: 7.102 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.009281/1.209, allocations: 3.967 MB / 1.024 GB, free: 3.156 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.91e-07/1.209, allocations: 0 / 1.024 GB, free: 3.156 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00863/1.218, allocations: 2.031 MB / 1.026 GB, free: 1.121 MB / 0.795 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.01729/1.235, allocations: 8.675 MB / 1.035 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01039/1.245, allocations: 5.262 MB / 1.04 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/1.245, allocations: 8.125 kB / 1.04 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004939/1.25, allocations: 2.357 MB / 1.042 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01805/1.268, allocations: 3.4 MB / 1.045 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4811/1.749, allocations: 52.73 MB / 1.097 GB, free: 285.4 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006555/1.756, allocations: 4.151 MB / 1.101 GB, free: 285 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.007979/1.764, allocations: 2.075 MB / 1.103 GB, free: 284.9 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004621/1.769, allocations: 2.675 MB / 1.106 GB, free: 284.9 MB / 0.8575 GB Notification: Performance of SimCode: time 1.483e-06/1.769, allocations: 0 / 1.106 GB, free: 284.9 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2189/1.987, allocations: 171 MB / 1.273 GB, free: 142 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.57/21.56, allocations: 0 / 1.273 GB, free: 142 MB / 0.8575 GB " [Timeout remaining time 638] (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: 25.560847545973957] Failed to read output from testmodel.py, exit status != 0: 21.76522929314524 21.780953877 20.956005451 Calling exit ...