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.001514/0.001514, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.001603/0.001603, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.537/1.537, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.1122/0.1122, allocations: 24.11 MB / 333 MB, free: 12.7 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.002145/0.002145, allocations: 67.89 kB / 467.9 MB, free: 9.055 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3673, allocations: 59.56 MB / 0.5151 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.002596/0.3698, allocations: 1.852 MB / 0.5169 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003781/0.3702, allocations: 185.5 kB / 0.5171 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.967e-05/0.3703, allocations: 1.312 kB / 0.5171 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.951e-05/0.3703, allocations: 14.59 kB / 0.5171 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.3705, allocations: 53.73 kB / 0.5171 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.3706, allocations: 54.16 kB / 0.5172 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.3708, allocations: 237.8 kB / 0.5174 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.371, allocations: 94.17 kB / 0.5175 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.392e-05/0.3711, allocations: 102.4 kB / 0.5176 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.3713, allocations: 109.2 kB / 0.5177 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.3713, allocations: 22.91 kB / 0.5177 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.82e-05/0.3714, allocations: 25.81 kB / 0.5177 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.3714, allocations: 48.56 kB / 0.5178 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.599e-05/0.3715, allocations: 95.08 kB / 0.5179 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.3717, allocations: 213.6 kB / 0.5181 GB, free: 7.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3717, allocations: 1.219 kB / 0.5181 GB, free: 7.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3717, allocations: 0 / 0.5181 GB, free: 7.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.3717, allocations: 0 / 0.5181 GB, free: 7.797 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.0007557/0.3725, allocations: 489.8 kB / 0.5185 GB, free: 7.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.3725, allocations: 10 kB / 0.5186 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.778e-05/0.3726, allocations: 45.64 kB / 0.5186 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/0.3726, allocations: 18.09 kB / 0.5186 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.3727, allocations: 192.2 kB / 0.5188 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.867e-05/0.3728, allocations: 52.92 kB / 0.5188 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.3729, allocations: 15.41 kB / 0.5189 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008724/0.3738, allocations: 299.2 kB / 0.5191 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.3738, allocations: 0 / 0.5191 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.3738, allocations: 5.031 kB / 0.5192 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3738, allocations: 7.219 kB / 0.5192 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007953/0.3746, allocations: 228.2 kB / 0.5194 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.3764, allocations: 0.956 MB / 0.5203 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.3767, allocations: 267.8 kB / 0.5206 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.52e-05/0.3768, allocations: 39.33 kB / 0.5206 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.3768, allocations: 1.312 kB / 0.5206 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.203e-05/0.3768, allocations: 32.59 kB / 0.5206 GB, free: 5.895 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.3768, allocations: 0 / 0.5206 GB, free: 5.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.00171/0.3785, allocations: 0.6401 MB / 0.5213 GB, free: 5.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.3786, allocations: 53.36 kB / 0.5213 GB, free: 5.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.3787, allocations: 196.2 kB / 0.5215 GB, free: 5.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.3787, allocations: 25.7 kB / 0.5215 GB, free: 5.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.3788, allocations: 122.9 kB / 0.5216 GB, free: 5.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.3788, allocations: 63.52 kB / 0.5217 GB, free: 5.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.3789, allocations: 36.7 kB / 0.5217 GB, free: 5.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.045e-05/0.3789, allocations: 332 kB / 0.5221 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.648e-05/0.379, allocations: 42.36 kB / 0.5221 GB, free: 4.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.372e-05/0.3791, allocations: 88.47 kB / 0.5222 GB, free: 4.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008587/0.3799, allocations: 306.7 kB / 0.5225 GB, free: 4.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.38, allocations: 0 / 0.5225 GB, free: 4.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002575/0.3802, allocations: 194.8 kB / 0.5227 GB, free: 4.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3802, allocations: 5.469 kB / 0.5227 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3802, allocations: 4.672 kB / 0.5227 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3802, allocations: 7.25 kB / 0.5227 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.3805, allocations: 50.56 kB / 0.5227 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.3805, allocations: 9.734 kB / 0.5227 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.394e-05/0.3806, allocations: 6.156 kB / 0.5227 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.3806, allocations: 11 kB / 0.5227 GB, free: 4.391 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.0001832/0.3808, allocations: 144 kB / 0.5229 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.3808, allocations: 15.91 kB / 0.5229 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.006e-05/0.3809, allocations: 27.53 kB / 0.5229 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3809, allocations: 1.125 kB / 0.5229 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3809, allocations: 9.156 kB / 0.5229 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3809, allocations: 0 / 0.5229 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005868/0.3815, allocations: 491.1 kB / 0.5234 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3815, allocations: 1.188 kB / 0.5234 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.3817, allocations: 55.23 kB / 0.5235 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3817, allocations: 7.031 kB / 0.5235 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.3817, allocations: 1.188 kB / 0.5235 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3817, allocations: 5.188 kB / 0.5235 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3817, allocations: 1.531 kB / 0.5235 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.382, allocations: 284.5 kB / 0.5237 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.382, allocations: 95.61 kB / 0.5238 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.382, allocations: 5.031 kB / 0.5238 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3821, allocations: 4.188 kB / 0.5238 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.113e-05/0.3822, allocations: 8.328 kB / 0.5239 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.3822, allocations: 11.53 kB / 0.5239 GB, free: 3.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.481e-05/0.3823, allocations: 135 kB / 0.524 GB, free: 3.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3823, allocations: 1.125 kB / 0.524 GB, free: 3.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003145/0.3826, allocations: 39.19 kB / 0.524 GB, free: 3.395 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.0004182/0.383, allocations: 0.8234 MB / 0.5248 GB, free: 2.656 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.3832, allocations: 117.8 kB / 0.5249 GB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3832, allocations: 1.469 kB / 0.5249 GB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.083e-05/0.3833, allocations: 50.8 kB / 0.525 GB, free: 2.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.3836, allocations: 33.8 kB / 0.525 GB, free: 2.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.3863, allocations: 2.215 MB / 0.5272 GB, free: 0.832 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.3865, allocations: 0.7133 MB / 0.5279 GB, free: 136 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.3866, allocations: 15.94 kB / 0.5279 GB, free: 136 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.3867, allocations: 42.08 kB / 0.5279 GB, free: 108 kB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3867, allocations: 0.875 kB / 0.5279 GB, free: 108 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.4147, allocations: 3.673 MB / 0.5315 GB, free: 15.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.679, allocations: 15.72 kB / 0.5315 GB, free: 15.58 MB / 398.1 MB " [Timeout remaining time 651] (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: 11.664720414904878] Failed to read output from testmodel.py, exit status != 0: 8.749534626025707 8.76605513 8.390807168 Calling exit ...