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.001318/0.001318, allocations: 109.4 kB / 17.14 MB, free: 6.043 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.001473/0.001473, allocations: 207.2 kB / 20.11 MB, free: 3.086 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.478/1.478, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1268/0.1268, allocations: 24.03 MB / 333.6 MB, free: 1.574 MB / 254.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.003133/0.003133, allocations: 66.19 kB / 468.4 MB, free: 31.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1071, allocations: 59.55 MB / 0.5156 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.003658/0.1108, allocations: 1.844 MB / 0.5174 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005596/0.1113, allocations: 187.4 kB / 0.5176 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1114, allocations: 0 / 0.5176 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.173e-05/0.1115, allocations: 11.86 kB / 0.5176 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.1117, allocations: 51.56 kB / 0.5176 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.1119, allocations: 63.91 kB / 0.5177 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.1122, allocations: 235.1 kB / 0.5179 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.1124, allocations: 88.95 kB / 0.518 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.1125, allocations: 95.77 kB / 0.5181 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.1128, allocations: 115.6 kB / 0.5182 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.895e-05/0.1128, allocations: 24 kB / 0.5182 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.962e-05/0.1128, allocations: 20 kB / 0.5182 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.822e-05/0.1129, allocations: 51.88 kB / 0.5183 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.113, allocations: 87.59 kB / 0.5184 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.1133, allocations: 219.3 kB / 0.5186 GB, free: 9.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1133, allocations: 0 / 0.5186 GB, free: 9.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1133, allocations: 0 / 0.5186 GB, free: 9.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.1133, allocations: 3.938 kB / 0.5186 GB, free: 9.211 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.0009487/0.1142, allocations: 486.7 kB / 0.519 GB, free: 8.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1143, allocations: 8.625 kB / 0.5191 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.447e-05/0.1143, allocations: 38.75 kB / 0.5191 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.015e-05/0.1144, allocations: 20.84 kB / 0.5191 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.1146, allocations: 198.8 kB / 0.5193 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.1147, allocations: 50.44 kB / 0.5194 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.46e-05/0.1148, allocations: 19.89 kB / 0.5194 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008842/0.1157, allocations: 295.1 kB / 0.5197 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1157, allocations: 0 / 0.5197 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.1157, allocations: 8 kB / 0.5197 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1157, allocations: 0 / 0.5197 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007799/0.1165, allocations: 239.7 kB / 0.5199 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.1185, allocations: 0.9571 MB / 0.5208 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.1189, allocations: 260.7 kB / 0.5211 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.392e-05/0.119, allocations: 36.84 kB / 0.5211 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.119, allocations: 0 / 0.5211 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.119, allocations: 38.56 kB / 0.5211 GB, free: 6.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.119, allocations: 4 kB / 0.5211 GB, free: 6.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001811/0.1208, allocations: 0.6278 MB / 0.5218 GB, free: 5.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.1209, allocations: 55.41 kB / 0.5218 GB, free: 5.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.1211, allocations: 203.3 kB / 0.522 GB, free: 5.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.1211, allocations: 29.7 kB / 0.522 GB, free: 5.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/0.1212, allocations: 112 kB / 0.5221 GB, free: 5.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/0.1212, allocations: 67.45 kB / 0.5222 GB, free: 5.176 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.439e-05/0.1213, allocations: 33.72 kB / 0.5222 GB, free: 5.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1214, allocations: 330.8 kB / 0.5226 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.021e-05/0.1215, allocations: 43.98 kB / 0.5226 GB, free: 4.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.1216, allocations: 90 kB / 0.5227 GB, free: 4.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000875/0.1225, allocations: 321.9 kB / 0.523 GB, free: 4.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1225, allocations: 0 / 0.523 GB, free: 4.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003129/0.1228, allocations: 181.5 kB / 0.5232 GB, free: 4.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1228, allocations: 4 kB / 0.5232 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1228, allocations: 4 kB / 0.5232 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1229, allocations: 0 / 0.5232 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.1231, allocations: 64.09 kB / 0.5232 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.1231, allocations: 7.922 kB / 0.5232 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.036e-05/0.1232, allocations: 4 kB / 0.5232 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.1232, allocations: 12 kB / 0.5233 GB, free: 4.043 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.0002232/0.1234, allocations: 140.9 kB / 0.5234 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.765e-05/0.1235, allocations: 15.91 kB / 0.5234 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.758e-05/0.1235, allocations: 29.52 kB / 0.5234 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1235, allocations: 0 / 0.5234 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.1236, allocations: 3.938 kB / 0.5234 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1236, allocations: 4 kB / 0.5234 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007152/0.1243, allocations: 499.2 kB / 0.5239 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.1243, allocations: 4 kB / 0.5239 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.1245, allocations: 51.88 kB / 0.524 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.1245, allocations: 0 / 0.524 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1245, allocations: 4 kB / 0.524 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1245, allocations: 7.938 kB / 0.524 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1245, allocations: 0 / 0.524 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/0.1249, allocations: 284.2 kB / 0.5243 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.111e-05/0.125, allocations: 101 kB / 0.5243 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.125, allocations: 8 kB / 0.5244 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1251, allocations: 4.094 kB / 0.5244 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.1251, allocations: 15.91 kB / 0.5244 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.1251, allocations: 4 kB / 0.5244 GB, free: 2.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.1253, allocations: 140.3 kB / 0.5245 GB, free: 2.648 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1253, allocations: 0 / 0.5245 GB, free: 2.648 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.1256, allocations: 36 kB / 0.5245 GB, free: 2.613 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.0006925/0.1263, allocations: 0.8162 MB / 0.5253 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.1265, allocations: 115.8 kB / 0.5255 GB, free: 1.656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1265, allocations: 0 / 0.5255 GB, free: 1.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.495e-05/0.1266, allocations: 59.05 kB / 0.5255 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.1269, allocations: 38.44 kB / 0.5255 GB, free: 1.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.1297, allocations: 2.206 MB / 0.5277 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.1301, allocations: 0.7164 MB / 0.5284 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.436e-05/0.1301, allocations: 13.55 kB / 0.5284 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.037e-05/0.1302, allocations: 51.42 kB / 0.5285 GB, free: 14.43 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1302, allocations: 0 / 0.5285 GB, free: 14.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.1578, allocations: 3.659 MB / 0.532 GB, free: 10.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.158, allocations: 15.69 kB / 0.5321 GB, free: 10.84 MB / 398.1 MB " [Timeout remaining time 652] (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.086316082859412] Failed to read output from testmodel.py, exit status != 0: 8.22667947714217 8.240225994 8.123889115 Calling exit ...