Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HP_001a.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.001394/0.001394, allocations: 109.6 kB / 17.14 MB, free: 5.93 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.001597/0.001597, allocations: 205.1 kB / 20.11 MB, free: 2.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.492/1.492, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1113/0.1113, allocations: 24.03 MB / 333.6 MB, free: 1.57 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: "" <> buildModelFMU(AES.Devel_test_models.Test_HP_001a,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_HP_001a,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001a",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.002141/0.002141, allocations: 74.7 kB / 469.1 MB, free: 31.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1128, allocations: 59.54 MB / 0.5163 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001a): time 0.00379/0.1166, allocations: 1.868 MB / 0.5181 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004256/0.117, allocations: 103.6 kB / 0.5182 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1171, allocations: 0 / 0.5182 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.579e-05/0.1172, allocations: 15.86 kB / 0.5182 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.1174, allocations: 35.7 kB / 0.5182 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.87e-05/0.1175, allocations: 23.97 kB / 0.5183 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.1177, allocations: 123.5 kB / 0.5184 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.1178, allocations: 37.11 kB / 0.5184 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.538e-05/0.1179, allocations: 43.86 kB / 0.5185 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.1181, allocations: 59.75 kB / 0.5185 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.1181, allocations: 8 kB / 0.5185 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.658e-05/0.1181, allocations: 12 kB / 0.5185 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.101e-05/0.1182, allocations: 23.92 kB / 0.5186 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.971e-05/0.1182, allocations: 55.73 kB / 0.5186 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.1184, allocations: 115.5 kB / 0.5187 GB, free: 9.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1184, allocations: 4 kB / 0.5187 GB, free: 9.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1184, allocations: 7.938 kB / 0.5187 GB, free: 9.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1184, allocations: 0 / 0.5187 GB, free: 9.043 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006124/0.1191, allocations: 407.1 kB / 0.5191 GB, free: 8.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.1191, allocations: 12.56 kB / 0.5191 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.864e-05/0.1192, allocations: 46.73 kB / 0.5192 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.1192, allocations: 16.84 kB / 0.5192 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.1194, allocations: 168.3 kB / 0.5194 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1194, allocations: 12.38 kB / 0.5194 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.1194, allocations: 16.31 kB / 0.5194 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.1197, allocations: 111.2 kB / 0.5195 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1197, allocations: 3.938 kB / 0.5195 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.1197, allocations: 4 kB / 0.5195 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.1197, allocations: 4 kB / 0.5195 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.1199, allocations: 75.97 kB / 0.5196 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008786/0.1207, allocations: 0.5806 MB / 0.5201 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004477/0.1212, allocations: 203.8 kB / 0.5203 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.933e-05/0.1213, allocations: 40.84 kB / 0.5204 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.1213, allocations: 4 kB / 0.5204 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.1213, allocations: 42.5 kB / 0.5204 GB, free: 7.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.1213, allocations: 0 / 0.5204 GB, free: 7.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.00127/0.1226, allocations: 391.7 kB / 0.5208 GB, free: 6.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.1227, allocations: 51.41 kB / 0.5208 GB, free: 6.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.1228, allocations: 105.9 kB / 0.5209 GB, free: 6.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1228, allocations: 29.64 kB / 0.521 GB, free: 6.469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.1229, allocations: 111.7 kB / 0.5211 GB, free: 6.355 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.1229, allocations: 47.62 kB / 0.5211 GB, free: 6.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.123, allocations: 21.72 kB / 0.5211 GB, free: 6.281 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1231, allocations: 330.8 kB / 0.5215 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.998e-05/0.1232, allocations: 20 kB / 0.5215 GB, free: 5.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-05/0.1232, allocations: 41.7 kB / 0.5215 GB, free: 5.883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.1234, allocations: 77.69 kB / 0.5216 GB, free: 5.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1234, allocations: 0 / 0.5216 GB, free: 5.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004805/0.1239, allocations: 186.2 kB / 0.5218 GB, free: 5.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1239, allocations: 4 kB / 0.5218 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1239, allocations: 0 / 0.5218 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004529/0.1243, allocations: 88.81 kB / 0.5219 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.985e-05/0.1244, allocations: 11.94 kB / 0.5219 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/0.127, allocations: 1.9 MB / 0.5237 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.96e-05/0.1271, allocations: 15.83 kB / 0.5237 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.1271, allocations: 4 kB / 0.5237 GB, free: 3.441 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.1272, allocations: 122.7 kB / 0.5239 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.1272, allocations: 11.94 kB / 0.5239 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005064/0.1277, allocations: 186.2 kB / 0.5241 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1277, allocations: 0 / 0.5241 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.1277, allocations: 8 kB / 0.5241 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1277, allocations: 7.922 kB / 0.5241 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007624/0.1285, allocations: 479.2 kB / 0.5245 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1285, allocations: 0 / 0.5245 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.983e-05/0.1286, allocations: 12 kB / 0.5245 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003397/0.1289, allocations: 84.78 kB / 0.5246 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.1289, allocations: 7.922 kB / 0.5246 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002357/0.1313, allocations: 1.915 MB / 0.5265 GB, free: 420 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1313, allocations: 0 / 0.5265 GB, free: 420 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.1318, allocations: 280.2 kB / 0.5268 GB, free: 120 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.1318, allocations: 85 kB / 0.5268 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.1319, allocations: 12.06 kB / 0.5269 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.368e-05/0.1319, allocations: 4 kB / 0.5269 GB, free: 0 / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.327e-05/0.132, allocations: 8.047 kB / 0.5269 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.132, allocations: 7.938 kB / 0.5269 GB, free: 15.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.635e-05/0.132, allocations: 83.27 kB / 0.527 GB, free: 15.9 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.132, allocations: 0 / 0.527 GB, free: 15.9 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003757/0.1324, allocations: 39.89 kB / 0.527 GB, free: 15.86 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008883/0.1333, allocations: 0.8067 MB / 0.5278 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004685/0.1338, allocations: 222.2 kB / 0.528 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1338, allocations: 0 / 0.528 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00031/0.1341, allocations: 186.5 kB / 0.5282 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.1344, allocations: 9.875 kB / 0.5282 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.1354, allocations: 324.5 kB / 0.5285 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.1358, allocations: 0.7041 MB / 0.5292 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.237e-05/0.1358, allocations: 4.672 kB / 0.5292 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.571e-05/0.1359, allocations: 27.42 kB / 0.5292 GB, free: 13.47 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1359, allocations: 0 / 0.5292 GB, free: 13.47 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.1675, allocations: 2.884 MB / 0.532 GB, free: 10.67 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/11.87, allocations: 7.266 kB / 0.532 GB, free: 10.66 MB / 398.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Devel_test_models.Test_HP_001a.pipe ; mkfifo AES_AES.Devel_test_models.Test_HP_001a.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HP_001a.pipe >> ../files/AES_AES.Devel_test_models.Test_HP_001a.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_HP_001a_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 AES_AES_Devel_test_models_Test_HP_001a.fmu > AES_AES.Devel_test_models.Test_HP_001a.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.724389435956255] Failed to read output from testmodel.py, exit status != 0: 11.956993327941746 11.972050067 11.850547971 Calling exit ...