Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HP_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 109.2 kB / 16.4 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002072/0.002072, allocations: 192.5 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.09781/0.09781, allocations: 22.32 MB / 319.5 MB, free: 6.773 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AES.Devel_test_models.Test_HP_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_HP_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.89 kB / 445.3 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1177, allocations: 54.94 MB / 0.4885 GB, free: 1.621 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.003078/0.1209, allocations: 1.705 MB / 0.4902 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002014/0.1211, allocations: 51.81 kB / 0.4902 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.1212, allocations: 0 / 0.4902 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.703e-05/0.1212, allocations: 15.86 kB / 0.4902 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.1214, allocations: 23.78 kB / 0.4902 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.373e-05/0.1214, allocations: 19.98 kB / 0.4903 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.1216, allocations: 79.64 kB / 0.4903 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.1217, allocations: 32.22 kB / 0.4904 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.253e-05/0.1218, allocations: 27.92 kB / 0.4904 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.892e-05/0.1219, allocations: 43.78 kB / 0.4904 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.1219, allocations: 4 kB / 0.4904 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.967e-05/0.1219, allocations: 11.94 kB / 0.4904 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/0.122, allocations: 12 kB / 0.4905 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.122, allocations: 43.78 kB / 0.4905 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.1222, allocations: 79.64 kB / 0.4906 GB, free: 15.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1222, allocations: 0 / 0.4906 GB, free: 15.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1222, allocations: 0 / 0.4906 GB, free: 15.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1222, allocations: 0 / 0.4906 GB, free: 15.46 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.0005321/0.1227, allocations: 387.4 kB / 0.4909 GB, free: 15.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1228, allocations: 8.031 kB / 0.491 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.92e-05/0.1228, allocations: 46.67 kB / 0.491 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.1229, allocations: 8.891 kB / 0.491 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.123, allocations: 172.3 kB / 0.4912 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1231, allocations: 4.562 kB / 0.4912 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.1231, allocations: 12.38 kB / 0.4912 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.1233, allocations: 96.72 kB / 0.4913 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1233, allocations: 0 / 0.4913 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1233, allocations: 0 / 0.4913 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.1233, allocations: 8 kB / 0.4913 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.1234, allocations: 51.97 kB / 0.4913 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006502/0.1241, allocations: 449.8 kB / 0.4918 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.1242, allocations: 54.56 kB / 0.4918 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.635e-05/0.1243, allocations: 24.92 kB / 0.4918 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1243, allocations: 4 kB / 0.4918 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.1243, allocations: 30.56 kB / 0.4919 GB, free: 13.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1243, allocations: 3.938 kB / 0.4919 GB, free: 13.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002371/0.1246, allocations: 73.69 kB / 0.4919 GB, free: 13.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.1246, allocations: 59.34 kB / 0.492 GB, free: 13.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1247, allocations: 114.1 kB / 0.4921 GB, free: 13.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1248, allocations: 25.7 kB / 0.4921 GB, free: 13.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/0.1248, allocations: 108.2 kB / 0.4922 GB, free: 13.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.1249, allocations: 31.78 kB / 0.4923 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.1249, allocations: 21.72 kB / 0.4923 GB, free: 13.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1251, allocations: 314.8 kB / 0.4926 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.1251, allocations: 12 kB / 0.4926 GB, free: 13.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-05/0.1252, allocations: 42.5 kB / 0.4926 GB, free: 13.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.781e-05/0.1253, allocations: 58.56 kB / 0.4927 GB, free: 13.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1253, allocations: 192 / 0.4927 GB, free: 13.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001419/0.1254, allocations: 81.58 kB / 0.4928 GB, free: 12.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1255, allocations: 7.938 kB / 0.4928 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1255, allocations: 0 / 0.4928 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.1255, allocations: 0 / 0.4928 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1256, allocations: 27.86 kB / 0.4928 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1256, allocations: 0 / 0.4928 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.894e-05/0.1257, allocations: 11.94 kB / 0.4928 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.1257, allocations: 4.062 kB / 0.4928 GB, free: 12.89 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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 9.059e-05/0.1258, allocations: 118.6 kB / 0.4929 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.1258, allocations: 11.94 kB / 0.493 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.126, allocations: 78 kB / 0.493 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.126, allocations: 3.938 kB / 0.493 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.126, allocations: 0 / 0.493 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.126, allocations: 0 / 0.493 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.1262, allocations: 189.6 kB / 0.4932 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1262, allocations: 4 kB / 0.4932 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.735e-05/0.1263, allocations: 11.98 kB / 0.4932 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1263, allocations: 4 kB / 0.4932 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1263, allocations: 4 kB / 0.4932 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1263, allocations: 3.938 kB / 0.4932 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1263, allocations: 0 / 0.4932 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.1265, allocations: 163.4 kB / 0.4934 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.1266, allocations: 81.11 kB / 0.4935 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.1266, allocations: 7.984 kB / 0.4935 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.709e-05/0.1267, allocations: 3.938 kB / 0.4935 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/0.1267, allocations: 4 kB / 0.4935 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.1267, allocations: 4.25 kB / 0.4935 GB, free: 12.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.867e-05/0.1268, allocations: 87.27 kB / 0.4936 GB, free: 12.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1268, allocations: 0 / 0.4936 GB, free: 12.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.127, allocations: 27.89 kB / 0.4936 GB, free: 12 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0004757/0.1275, allocations: 0.6891 MB / 0.4943 GB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.1276, allocations: 44.23 kB / 0.4943 GB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1276, allocations: 0 / 0.4943 GB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.323e-05/0.1277, allocations: 19.94 kB / 0.4943 GB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.1279, allocations: 16.23 kB / 0.4943 GB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/0.1284, allocations: 204.1 kB / 0.4945 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.1288, allocations: 0.6885 MB / 0.4952 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.767e-05/0.1288, allocations: 7.984 kB / 0.4952 GB, free: 10.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.1289, allocations: 19.44 kB / 0.4952 GB, free: 10.22 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1289, allocations: 3.938 kB / 0.4952 GB, free: 10.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02003/0.1489, allocations: 1.488 MB / 0.4967 GB, free: 8.785 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/7.852, allocations: 11.61 kB / 0.4967 GB, free: 8.777 MB / 382.1 MB " [Timeout remaining time 652] (rm -f AES_AES.Devel_test_models.Test_HP_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HP_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HP_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HP_001.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_HP_001_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 AES_AES_Devel_test_models_Test_HP_001.fmu > AES_AES.Devel_test_models.Test_HP_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.77924821304623] Failed to read output from testmodel.py, exit status != 0: 7.920852857059799 8.151288439 8.026792936 Calling exit ...