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.001883/0.001883, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.002272/0.002272, allocations: 208.9 kB / 23.01 MB, free: 4.621 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1107/0.1107, allocations: 24.02 MB / 337.2 MB, free: 11.39 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.003651/0.003651, allocations: 75.89 kB / 473.8 MB, free: 6.426 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3424, allocations: 59.57 MB / 0.5209 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.002591/0.345, allocations: 1.777 MB / 0.5226 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003643/0.3454, allocations: 181.3 kB / 0.5228 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.976e-05/0.3454, allocations: 1.375 kB / 0.5228 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.497e-05/0.3455, allocations: 15.27 kB / 0.5228 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.3456, allocations: 53.25 kB / 0.5229 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.3458, allocations: 57.58 kB / 0.5229 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.346, allocations: 236.1 kB / 0.5232 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.3462, allocations: 98.14 kB / 0.5233 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.214e-05/0.3463, allocations: 100.8 kB / 0.5234 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.3464, allocations: 89.41 kB / 0.5234 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.3465, allocations: 25.19 kB / 0.5235 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.423e-05/0.3465, allocations: 22.06 kB / 0.5235 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.209e-05/0.3466, allocations: 47.39 kB / 0.5235 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.228e-05/0.3466, allocations: 79.64 kB / 0.5236 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.3469, allocations: 218.6 kB / 0.5238 GB, free: 8.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3469, allocations: 1.25 kB / 0.5238 GB, free: 8.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3469, allocations: 0 / 0.5238 GB, free: 8.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3469, allocations: 4 kB / 0.5238 GB, free: 8.277 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.0007145/0.3476, allocations: 401.5 kB / 0.5242 GB, free: 7.949 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.3476, allocations: 10.11 kB / 0.5242 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.3477, allocations: 44.91 kB / 0.5243 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.3477, allocations: 22.78 kB / 0.5243 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.3478, allocations: 144.8 kB / 0.5244 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.3479, allocations: 49.3 kB / 0.5245 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.348, allocations: 18.7 kB / 0.5245 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000775/0.3488, allocations: 295.8 kB / 0.5248 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3488, allocations: 0 / 0.5248 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.3488, allocations: 5.094 kB / 0.5248 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.3488, allocations: 2.031 kB / 0.5248 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006854/0.3495, allocations: 231.1 kB / 0.525 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.3512, allocations: 0.8611 MB / 0.5258 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.3515, allocations: 117.5 kB / 0.5259 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.623e-05/0.3515, allocations: 38.38 kB / 0.526 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.3515, allocations: 1.781 kB / 0.526 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.3515, allocations: 39.41 kB / 0.526 GB, free: 6.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.3515, allocations: 1.312 kB / 0.526 GB, free: 6.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001593/0.3531, allocations: 0.5561 MB / 0.5266 GB, free: 6.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.3532, allocations: 53.53 kB / 0.5266 GB, free: 6.426 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.3533, allocations: 192.7 kB / 0.5268 GB, free: 6.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.3533, allocations: 30.89 kB / 0.5268 GB, free: 6.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.3534, allocations: 118 kB / 0.5269 GB, free: 6.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.3534, allocations: 55.2 kB / 0.527 GB, free: 6.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/0.3535, allocations: 41.81 kB / 0.527 GB, free: 6.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.46e-05/0.3535, allocations: 328.1 kB / 0.5273 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.066e-05/0.3536, allocations: 46.58 kB / 0.5274 GB, free: 5.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-05/0.3537, allocations: 97.14 kB / 0.5275 GB, free: 5.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007814/0.3544, allocations: 312.3 kB / 0.5278 GB, free: 5.496 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3544, allocations: 1.672 kB / 0.5278 GB, free: 5.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002628/0.3547, allocations: 190.9 kB / 0.528 GB, free: 5.398 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3547, allocations: 6.578 kB / 0.528 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3547, allocations: 5.25 kB / 0.528 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.3547, allocations: 3.219 kB / 0.528 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.355, allocations: 58.39 kB / 0.528 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.355, allocations: 6.438 kB / 0.528 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.442e-05/0.3551, allocations: 2.734 kB / 0.528 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.3551, allocations: 13.89 kB / 0.5281 GB, free: 5.375 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.0001868/0.3553, allocations: 137.2 kB / 0.5282 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.3553, allocations: 15.03 kB / 0.5282 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/0.3554, allocations: 23.09 kB / 0.5282 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3554, allocations: 2.375 kB / 0.5282 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3554, allocations: 3.938 kB / 0.5282 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3554, allocations: 2.203 kB / 0.5282 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005882/0.356, allocations: 453.7 kB / 0.5287 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.356, allocations: 0 / 0.5287 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.3562, allocations: 51.77 kB / 0.5287 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.3562, allocations: 1.25 kB / 0.5287 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.3562, allocations: 1.984 kB / 0.5287 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3562, allocations: 1.219 kB / 0.5287 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3562, allocations: 2 kB / 0.5287 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.3565, allocations: 292.8 kB / 0.529 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.3565, allocations: 20.69 kB / 0.529 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.3566, allocations: 10.61 kB / 0.529 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3567, allocations: 1.125 kB / 0.529 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.3567, allocations: 13.11 kB / 0.529 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.3567, allocations: 7.062 kB / 0.529 GB, free: 4.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.256e-05/0.3568, allocations: 141.3 kB / 0.5292 GB, free: 4.516 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3568, allocations: 0 / 0.5292 GB, free: 4.516 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.3571, allocations: 39.97 kB / 0.5292 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.0004384/0.3575, allocations: 0.828 MB / 0.53 GB, free: 3.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.3577, allocations: 114.2 kB / 0.5301 GB, free: 3.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3577, allocations: 384 / 0.5301 GB, free: 3.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.034e-05/0.3578, allocations: 56.12 kB / 0.5302 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.0003294/0.3581, allocations: 31.45 kB / 0.5302 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.3601, allocations: 2.22 MB / 0.5324 GB, free: 1.938 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.674e-05/0.3601, allocations: 104.2 kB / 0.5325 GB, free: 1.863 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.644e-05/0.3602, allocations: 14.97 kB / 0.5325 GB, free: 1.859 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-05/0.3603, allocations: 45.45 kB / 0.5325 GB, free: 1.828 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3603, allocations: 0 / 0.5325 GB, free: 1.828 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03568/0.396, allocations: 4.368 MB / 0.5368 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.7, allocations: 5.156 kB / 0.5368 GB, free: 0.7969 MB / 382.1 MB " [Timeout remaining time 648] (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.720216126181185] Failed to read output from testmodel.py, exit status != 0: 11.809228780213743 11.835265974 11.483761438 Calling exit ...