Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_stank_001.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.001536/0.001536, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.002351/0.002351, allocations: 216 kB / 22.25 MB, free: 5.117 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1582/0.1582, allocations: 24.12 MB / 336.6 MB, free: 11.55 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Devel_test_models.Test_stank_001,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_stank_001,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_001",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES 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.002106/0.002106, allocations: 67.91 kB / 473.3 MB, free: 6.414 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3668, allocations: 59.59 MB / 0.5204 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.003431/0.3702, allocations: 1.853 MB / 0.5222 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000484/0.3707, allocations: 181.1 kB / 0.5224 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.453e-05/0.3708, allocations: 1.281 kB / 0.5224 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.422e-05/0.3708, allocations: 18.58 kB / 0.5224 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.371, allocations: 53.2 kB / 0.5225 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.3713, allocations: 62.14 kB / 0.5225 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.3715, allocations: 231.5 kB / 0.5227 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.3718, allocations: 95 kB / 0.5228 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.3719, allocations: 100.1 kB / 0.5229 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.3721, allocations: 117.1 kB / 0.523 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.3722, allocations: 22.66 kB / 0.5231 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.286e-05/0.3722, allocations: 21.91 kB / 0.5231 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.433e-05/0.3723, allocations: 47.92 kB / 0.5231 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.036e-05/0.3724, allocations: 90.36 kB / 0.5232 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.3727, allocations: 218.9 kB / 0.5234 GB, free: 8.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3727, allocations: 0 / 0.5234 GB, free: 8.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3727, allocations: 0 / 0.5234 GB, free: 8.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.3727, allocations: 1.062 kB / 0.5234 GB, free: 8.32 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008345/0.3735, allocations: 409.1 kB / 0.5238 GB, free: 7.984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.3736, allocations: 14.02 kB / 0.5238 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.448e-05/0.3736, allocations: 44.06 kB / 0.5239 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.3737, allocations: 20.36 kB / 0.5239 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.3739, allocations: 137.1 kB / 0.524 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.374, allocations: 51.02 kB / 0.5241 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.606e-05/0.374, allocations: 21.12 kB / 0.5241 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008723/0.3749, allocations: 299.4 kB / 0.5244 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3749, allocations: 0 / 0.5244 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.3749, allocations: 9.375 kB / 0.5244 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.375, allocations: 2.562 kB / 0.5244 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000775/0.3757, allocations: 223.2 kB / 0.5246 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.3776, allocations: 0.9267 MB / 0.5255 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.3779, allocations: 109.8 kB / 0.5256 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.902e-05/0.3779, allocations: 37.61 kB / 0.5257 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.3779, allocations: 1.031 kB / 0.5257 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.432e-05/0.378, allocations: 33.19 kB / 0.5257 GB, free: 6.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.378, allocations: 0 / 0.5257 GB, free: 6.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001604/0.3796, allocations: 0.5709 MB / 0.5262 GB, free: 6.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.3796, allocations: 53.62 kB / 0.5263 GB, free: 6.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.3798, allocations: 191 kB / 0.5265 GB, free: 6.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.3798, allocations: 26.77 kB / 0.5265 GB, free: 6.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.3798, allocations: 125.8 kB / 0.5266 GB, free: 6.148 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.3799, allocations: 59.75 kB / 0.5267 GB, free: 6.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/0.3799, allocations: 38.78 kB / 0.5267 GB, free: 6.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.821e-05/0.38, allocations: 331.7 kB / 0.527 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.574e-05/0.38, allocations: 41.58 kB / 0.5271 GB, free: 5.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.138e-05/0.3801, allocations: 101.6 kB / 0.5272 GB, free: 5.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007818/0.3809, allocations: 303.5 kB / 0.5275 GB, free: 5.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3809, allocations: 5.094 kB / 0.5275 GB, free: 5.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002776/0.3812, allocations: 190.2 kB / 0.5276 GB, free: 5.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3812, allocations: 13.19 kB / 0.5277 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3812, allocations: 1.125 kB / 0.5277 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.3812, allocations: 6.5 kB / 0.5277 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.3815, allocations: 48.97 kB / 0.5277 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.3815, allocations: 10.28 kB / 0.5277 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.137e-05/0.3816, allocations: 6.375 kB / 0.5277 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.3816, allocations: 10.56 kB / 0.5277 GB, free: 5.383 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: stank.lcold:VARIABLE(start = stank.lcoldstart unit = \"m\" fixed = true stateSelect=StateSelect.prefer ) \"cold height\" type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002385/0.3818, allocations: 139.1 kB / 0.5279 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.3819, allocations: 15.12 kB / 0.5279 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.211e-05/0.3819, allocations: 23.09 kB / 0.5279 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3819, allocations: 7.781 kB / 0.5279 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.3819, allocations: 7.875 kB / 0.5279 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3819, allocations: 1.172 kB / 0.5279 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005852/0.3825, allocations: 464.8 kB / 0.5284 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.3825, allocations: 1.125 kB / 0.5284 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.3828, allocations: 46.72 kB / 0.5284 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3828, allocations: 8.984 kB / 0.5284 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3828, allocations: 1.75 kB / 0.5284 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.3828, allocations: 6.328 kB / 0.5284 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3828, allocations: 1.531 kB / 0.5284 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.3831, allocations: 292.2 kB / 0.5287 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.3831, allocations: 17.86 kB / 0.5287 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.3831, allocations: 7.031 kB / 0.5287 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3832, allocations: 1.031 kB / 0.5287 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.3832, allocations: 12.12 kB / 0.5287 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.3832, allocations: 7.562 kB / 0.5287 GB, free: 4.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.1e-05/0.3833, allocations: 138 kB / 0.5289 GB, free: 4.516 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3833, allocations: 0 / 0.5289 GB, free: 4.516 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.3836, allocations: 38.78 kB / 0.5289 GB, free: 4.508 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (stank.lcold,stank.Thot,stank.Tcold) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004231/0.384, allocations: 0.8228 MB / 0.5297 GB, free: 3.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.3843, allocations: 119.3 kB / 0.5298 GB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3843, allocations: 0 / 0.5298 GB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.38e-05/0.3843, allocations: 51.19 kB / 0.5299 GB, free: 3.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.3847, allocations: 41.78 kB / 0.5299 GB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.3866, allocations: 2.209 MB / 0.5321 GB, free: 1.934 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.3867, allocations: 0.7155 MB / 0.5328 GB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.148e-05/0.3868, allocations: 15.61 kB / 0.5328 GB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.853e-05/0.3869, allocations: 41.69 kB / 0.5328 GB, free: 1.207 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3869, allocations: 0 / 0.5328 GB, free: 1.207 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03307/0.4199, allocations: 3.907 MB / 0.5366 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.33, allocations: 10.11 kB / 0.5367 GB, free: 0.668 MB / 382.1 MB " [Timeout remaining time 649] (rm -f AES_AES.Devel_test_models.Test_stank_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_stank_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_stank_001.pipe >> ../files/AES_AES.Devel_test_models.Test_stank_001.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_stank_001_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8.64 AES_AES_Devel_test_models_Test_stank_001.fmu > AES_AES.Devel_test_models.Test_stank_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.389533141002175] Failed to read output from testmodel.py, exit status != 0: 11.441213701000379 11.464844756 11.087753629 Calling exit ...