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.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.001291/0.001291, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001431/0.001431, allocations: 215 kB / 20.13 MB, free: 2.949 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.563/1.563, 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.1002/0.1002, allocations: 22.94 MB / 332.5 MB, free: 2.637 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_SOPDT_overdamped,fileNamePrefix="AES_AES_Devel_test_models_Test_SOPDT_overdamped",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SOPDT_overdamped,fileNamePrefix="AES_AES_Devel_test_models_Test_SOPDT_overdamped",fmuType="cs",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.001979/0.001979, allocations: 68.95 kB / 464.6 MB, free: 33.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1189, allocations: 59.27 MB / 0.5116 GB, free: 136 kB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.003171/0.1221, allocations: 1.73 MB / 0.5133 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1233, allocations: 0.6311 MB / 0.5139 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1234, allocations: 4 kB / 0.5139 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003614/0.1238, allocations: 43.7 kB / 0.514 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.124, allocations: 55.75 kB / 0.514 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.1243, allocations: 103.8 kB / 0.5141 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.1247, allocations: 287.5 kB / 0.5144 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.1248, allocations: 37.47 kB / 0.5144 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.125, allocations: 115.6 kB / 0.5145 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.1252, allocations: 135.5 kB / 0.5147 GB, free: 12.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.423e-05/0.1253, allocations: 20 kB / 0.5147 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.752e-05/0.1253, allocations: 24 kB / 0.5147 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.1254, allocations: 79.8 kB / 0.5148 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1255, allocations: 91.45 kB / 0.5149 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.1258, allocations: 219.2 kB / 0.5151 GB, free: 12.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1258, allocations: 0 / 0.5151 GB, free: 12.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1258, allocations: 0 / 0.5151 GB, free: 12.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.1258, allocations: 0 / 0.5151 GB, free: 12.56 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.001459/0.1273, allocations: 0.5844 MB / 0.5156 GB, free: 11.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1273, allocations: 12.62 kB / 0.5157 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.164e-05/0.1274, allocations: 8.375 kB / 0.5157 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.601e-05/0.1274, allocations: 42.73 kB / 0.5157 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.1275, allocations: 20.84 kB / 0.5157 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007021/0.1282, allocations: 331.8 kB / 0.516 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.1282, allocations: 12.31 kB / 0.5161 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.1282, allocations: 15.95 kB / 0.5161 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.1285, allocations: 133.6 kB / 0.5162 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.1285, allocations: 8 kB / 0.5162 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.1286, allocations: 7.938 kB / 0.5162 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1286, allocations: 0 / 0.5162 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.1288, allocations: 131.8 kB / 0.5163 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009948/0.1298, allocations: 0.5669 MB / 0.5169 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.1301, allocations: 150.5 kB / 0.517 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.1302, allocations: 72.83 kB / 0.5171 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.1303, allocations: 0 / 0.5171 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.1303, allocations: 34.55 kB / 0.5171 GB, free: 10.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.1303, allocations: 4 kB / 0.5171 GB, free: 10.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005437/0.1308, allocations: 265.5 kB / 0.5174 GB, free: 10.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.1309, allocations: 51.41 kB / 0.5174 GB, free: 9.945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000614/0.1315, allocations: 303 kB / 0.5177 GB, free: 9.637 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.1315, allocations: 25.7 kB / 0.5178 GB, free: 9.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.1316, allocations: 128.1 kB / 0.5179 GB, free: 9.477 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.151e-05/0.1317, allocations: 51.58 kB / 0.5179 GB, free: 9.426 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.63e-05/0.1318, allocations: 33.72 kB / 0.518 GB, free: 9.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1319, allocations: 330.8 kB / 0.5183 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.1321, allocations: 75.95 kB / 0.5184 GB, free: 8.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.1322, allocations: 71.95 kB / 0.5184 GB, free: 8.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.1325, allocations: 166.5 kB / 0.5186 GB, free: 8.746 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1325, allocations: 0 / 0.5186 GB, free: 8.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003668/0.1329, allocations: 225.3 kB / 0.5188 GB, free: 8.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1329, allocations: 10.03 kB / 0.5188 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1329, allocations: 0 / 0.5188 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.1329, allocations: 0 / 0.5188 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.1333, allocations: 47.97 kB / 0.5188 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.1333, allocations: 0 / 0.5188 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.1335, allocations: 39.84 kB / 0.5189 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1336, allocations: 4 kB / 0.5189 GB, free: 8.422 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.0001399/0.1337, allocations: 154.4 kB / 0.519 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.1337, allocations: 19.84 kB / 0.5191 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.486e-05/0.1338, allocations: 25.41 kB / 0.5191 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1338, allocations: 3.984 kB / 0.5191 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1338, allocations: 0 / 0.5191 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1338, allocations: 3.938 kB / 0.5191 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.1342, allocations: 305.4 kB / 0.5194 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1342, allocations: 0 / 0.5194 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.1344, allocations: 23.98 kB / 0.5194 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1344, allocations: 4 kB / 0.5194 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.1344, allocations: 4 kB / 0.5194 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1344, allocations: 4 kB / 0.5194 GB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.1344, allocations: 7.938 kB / 0.5194 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005472/0.1349, allocations: 383.2 kB / 0.5198 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.47e-05/0.135, allocations: 96.97 kB / 0.5199 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.1351, allocations: 4 kB / 0.5199 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.1353, allocations: 36 kB / 0.5199 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.438e-05/0.1354, allocations: 11.92 kB / 0.5199 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.1354, allocations: 4 kB / 0.5199 GB, free: 7.258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005086/0.1359, allocations: 231.1 kB / 0.5202 GB, free: 7.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1359, allocations: 0 / 0.5202 GB, free: 7.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.1362, allocations: 31.94 kB / 0.5202 GB, free: 7 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.0009501/0.1372, allocations: 0.9138 MB / 0.5211 GB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003623/0.1375, allocations: 159.8 kB / 0.5212 GB, free: 5.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1375, allocations: 0 / 0.5212 GB, free: 5.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.1377, allocations: 83.84 kB / 0.5213 GB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.1381, allocations: 33.8 kB / 0.5213 GB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/0.1424, allocations: 2.613 MB / 0.5239 GB, free: 3.094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.1428, allocations: 0.7475 MB / 0.5246 GB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.1429, allocations: 37.52 kB / 0.5247 GB, free: 2.285 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.143, allocations: 59.42 kB / 0.5247 GB, free: 2.227 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.143, allocations: 0 / 0.5247 GB, free: 2.227 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.1668, allocations: 4.378 MB / 0.529 GB, free: 13.94 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.673/8.84, allocations: 14.47 kB / 0.529 GB, free: 13.93 MB / 398.1 MB " [Timeout remaining time 651] (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: 11.724075255042408] Failed to read output from testmodel.py, exit status != 0: 8.981688481057063 9.010521824 8.879444018000001 Calling exit ...