Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SOPDT_overdamped.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.001275/0.001275, allocations: 107.6 kB / 16.45 MB, free: 6.035 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.001243/0.001243, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.346/1.346, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.09732/0.09732, allocations: 22.71 MB / 325.4 MB, free: 3.555 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_SOPDT_overdamped,fileNamePrefix="AES_AES_Devel_test_models_Test_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SOPDT_overdamped,fileNamePrefix="AES_AES_Devel_test_models_Test_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.89 kB / 455 MB, free: 3.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1105, allocations: 58.03 MB / 0.501 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.002868/0.1134, allocations: 1.716 MB / 0.5027 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009865/0.1143, allocations: 0.5884 MB / 0.5033 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.916e-05/0.1144, allocations: 7.938 kB / 0.5033 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.1147, allocations: 39.78 kB / 0.5033 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.1148, allocations: 51.69 kB / 0.5034 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.1151, allocations: 111.8 kB / 0.5035 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003208/0.1154, allocations: 291.5 kB / 0.5038 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1155, allocations: 25.55 kB / 0.5038 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.1157, allocations: 111.7 kB / 0.5039 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.1159, allocations: 139.5 kB / 0.504 GB, free: 6.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/0.1159, allocations: 20 kB / 0.5041 GB, free: 6.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.186e-05/0.116, allocations: 24 kB / 0.5041 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.1161, allocations: 87.72 kB / 0.5042 GB, free: 6.559 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.615e-05/0.1162, allocations: 83.53 kB / 0.5042 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.1164, allocations: 219.2 kB / 0.5045 GB, free: 6.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1164, allocations: 4 kB / 0.5045 GB, free: 6.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1164, allocations: 0 / 0.5045 GB, free: 6.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1164, allocations: 0 / 0.5045 GB, free: 6.258 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001296/0.1177, allocations: 0.5882 MB / 0.505 GB, free: 5.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1178, allocations: 12.03 kB / 0.505 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.727e-05/0.1178, allocations: 38.75 kB / 0.5051 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.1178, allocations: 24.8 kB / 0.5051 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006761/0.1185, allocations: 332.6 kB / 0.5054 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.1185, allocations: 12.5 kB / 0.5054 GB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.1186, allocations: 16.12 kB / 0.5054 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.1188, allocations: 136.4 kB / 0.5056 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1188, allocations: 0 / 0.5056 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1189, allocations: 4 kB / 0.5056 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1189, allocations: 4 kB / 0.5056 GB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/0.1191, allocations: 127.8 kB / 0.5057 GB, free: 4.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009785/0.1201, allocations: 0.5669 MB / 0.5063 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.1204, allocations: 154.5 kB / 0.5064 GB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.1205, allocations: 80.81 kB / 0.5065 GB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.1205, allocations: 7.938 kB / 0.5065 GB, free: 4.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1205, allocations: 30.78 kB / 0.5065 GB, free: 3.973 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.1205, allocations: 3.938 kB / 0.5065 GB, free: 3.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004917/0.121, allocations: 253.5 kB / 0.5068 GB, free: 3.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.1211, allocations: 51.41 kB / 0.5068 GB, free: 3.652 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005767/0.1216, allocations: 299.1 kB / 0.5071 GB, free: 3.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.1217, allocations: 29.7 kB / 0.5071 GB, free: 3.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1218, allocations: 136 kB / 0.5073 GB, free: 3.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/0.1218, allocations: 47.58 kB / 0.5073 GB, free: 3.129 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/0.1219, allocations: 29.72 kB / 0.5073 GB, free: 3.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.122, allocations: 334.8 kB / 0.5077 GB, free: 2.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.1222, allocations: 79.91 kB / 0.5077 GB, free: 2.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.1223, allocations: 71.95 kB / 0.5078 GB, free: 2.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.1226, allocations: 175.8 kB / 0.508 GB, free: 2.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1226, allocations: 3.938 kB / 0.508 GB, free: 2.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003473/0.1229, allocations: 217.4 kB / 0.5082 GB, free: 2.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1229, allocations: 4 kB / 0.5082 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1229, allocations: 0 / 0.5082 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1229, allocations: 4 kB / 0.5082 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.1233, allocations: 51.89 kB / 0.5082 GB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1233, allocations: 4 kB / 0.5082 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.1235, allocations: 31.97 kB / 0.5083 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.1235, allocations: 7.938 kB / 0.5083 GB, free: 2.113 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0001373/0.1237, allocations: 146.5 kB / 0.5084 GB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.1237, allocations: 23.86 kB / 0.5084 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.456e-05/0.1238, allocations: 21.41 kB / 0.5085 GB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1238, allocations: 4 kB / 0.5085 GB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1238, allocations: 0 / 0.5085 GB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.1238, allocations: 7.984 kB / 0.5085 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.1241, allocations: 305.4 kB / 0.5088 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.1241, allocations: 0 / 0.5088 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.1243, allocations: 27.92 kB / 0.5088 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1243, allocations: 0 / 0.5088 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.1243, allocations: 8 kB / 0.5088 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1243, allocations: 0 / 0.5088 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1243, allocations: 0 / 0.5088 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005168/0.1248, allocations: 383.2 kB / 0.5092 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-05/0.1249, allocations: 105 kB / 0.5093 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.125, allocations: 0 / 0.5093 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.1252, allocations: 31.95 kB / 0.5093 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.1253, allocations: 15.92 kB / 0.5093 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.1253, allocations: 0 / 0.5093 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004863/0.1258, allocations: 240.5 kB / 0.5095 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1258, allocations: 0 / 0.5095 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.1261, allocations: 31.94 kB / 0.5096 GB, free: 0.6953 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.Pr.x_scaled[1],P1.Pr.x_scaled[2],P2.Pr.x_scaled[1],P2.Pr.x_scaled[2]) * 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 (12): * Single equations (assignments): 12 * 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.1779/0.304, allocations: 0.9052 MB / 0.5104 GB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003813/0.3043, allocations: 158.3 kB / 0.5106 GB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3043, allocations: 0.8438 kB / 0.5106 GB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.3045, allocations: 79.45 kB / 0.5107 GB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.3049, allocations: 26.05 kB / 0.5107 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.3085, allocations: 2.62 MB / 0.5133 GB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.3086, allocations: 0.744 MB / 0.514 GB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.3088, allocations: 41.69 kB / 0.514 GB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.3089, allocations: 55.86 kB / 0.5141 GB, free: 13.3 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3089, allocations: 3.156 kB / 0.5141 GB, free: 13.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.3373, allocations: 4.359 MB / 0.5183 GB, free: 12.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.765/8.103, allocations: 14.33 kB / 0.5184 GB, free: 12.84 MB / 382.1 MB " [Timeout remaining time 652] (rm -f AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; mkfifo AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe >> ../files/AES_AES.Devel_test_models.Test_SOPDT_overdamped.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_SOPDT_overdamped_fmu --startTime=0 --stopTime=25 --stepSize=0.05 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_SOPDT_overdamped.fmu > AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.497108938638121] Failed to read output from testmodel.py, exit status != 0: 8.169810485094786 8.182183919 8.063166677 Calling exit ...