Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.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.001764/0.001764, allocations: 117.1 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.002095/0.002095, 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.565/1.565, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.1003/0.1003, allocations: 22.93 MB / 332.5 MB, free: 2.672 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_TITO_rational_zeroInit,fileNamePrefix="AES_AES_Devel_test_models_Test_TITO_rational_zeroInit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_TITO_rational_zeroInit,fileNamePrefix="AES_AES_Devel_test_models_Test_TITO_rational_zeroInit",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.00202/0.00202, allocations: 64.69 kB / 464.6 MB, free: 33.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1169, allocations: 59.27 MB / 0.5116 GB, free: 160 kB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_TITO_rational_zeroInit): time 0.002813/0.1197, allocations: 1.231 MB / 0.5128 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.1217, allocations: 1.412 MB / 0.5142 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.1218, allocations: 4 kB / 0.5142 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003751/0.1222, allocations: 71.55 kB / 0.5143 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.1225, allocations: 95.53 kB / 0.5144 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.1228, allocations: 155.8 kB / 0.5145 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006261/0.1234, allocations: 0.5187 MB / 0.515 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.1236, allocations: 40.92 kB / 0.5151 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.1238, allocations: 203.4 kB / 0.5152 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.1241, allocations: 207.2 kB / 0.5154 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.226e-05/0.1242, allocations: 28 kB / 0.5155 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.266e-05/0.1242, allocations: 32 kB / 0.5155 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.1244, allocations: 107.7 kB / 0.5156 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.1245, allocations: 119.3 kB / 0.5157 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.1249, allocations: 314.7 kB / 0.516 GB, free: 11.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1249, allocations: 0 / 0.516 GB, free: 11.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1249, allocations: 0 / 0.516 GB, free: 11.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.1249, allocations: 3.984 kB / 0.516 GB, free: 11.62 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001886/0.1268, allocations: 0.7167 MB / 0.5167 GB, free: 10.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.1268, allocations: 8.625 kB / 0.5167 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.281e-05/0.1269, allocations: 4.422 kB / 0.5167 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.694e-05/0.1269, allocations: 50.67 kB / 0.5168 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.286e-05/0.127, allocations: 32.75 kB / 0.5168 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.128, allocations: 439.5 kB / 0.5172 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.1281, allocations: 12.61 kB / 0.5172 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.1281, allocations: 20.08 kB / 0.5173 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.1285, allocations: 167.5 kB / 0.5174 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1285, allocations: 3.984 kB / 0.5174 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.1285, allocations: 4 kB / 0.5174 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1285, allocations: 7.938 kB / 0.5174 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003922/0.1289, allocations: 188.6 kB / 0.5176 GB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.1301, allocations: 0.6649 MB / 0.5183 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005176/0.1306, allocations: 238.7 kB / 0.5185 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.1308, allocations: 92.81 kB / 0.5186 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.1308, allocations: 0 / 0.5186 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.1309, allocations: 38.5 kB / 0.5186 GB, free: 8.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.1309, allocations: 0 / 0.5186 GB, free: 8.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007174/0.1316, allocations: 305.3 kB / 0.5189 GB, free: 8.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.1316, allocations: 51.41 kB / 0.519 GB, free: 8.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009949/0.1326, allocations: 438.8 kB / 0.5194 GB, free: 7.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.1327, allocations: 33.7 kB / 0.5194 GB, free: 7.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.1328, allocations: 152.4 kB / 0.5196 GB, free: 7.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.453e-05/0.1329, allocations: 59.53 kB / 0.5196 GB, free: 7.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.38e-05/0.1329, allocations: 37.72 kB / 0.5196 GB, free: 7.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1331, allocations: 338.8 kB / 0.52 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.1333, allocations: 87.94 kB / 0.5201 GB, free: 7.262 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.1334, allocations: 92.42 kB / 0.5201 GB, free: 7.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.1338, allocations: 198.2 kB / 0.5203 GB, free: 6.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1338, allocations: 0 / 0.5203 GB, free: 6.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004596/0.1343, allocations: 260.3 kB / 0.5206 GB, free: 6.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.1343, allocations: 15.94 kB / 0.5206 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.1343, allocations: 0 / 0.5206 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.1343, allocations: 0 / 0.5206 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.1347, allocations: 55.91 kB / 0.5206 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1347, allocations: 0 / 0.5206 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.1351, allocations: 47.92 kB / 0.5207 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.1351, allocations: 15.94 kB / 0.5207 GB, free: 6.586 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 (20): * Single equations (assignments): 20 * 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.0001788/0.1353, allocations: 158.5 kB / 0.5209 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/0.1353, allocations: 31.75 kB / 0.5209 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.284e-05/0.1354, allocations: 38.3 kB / 0.5209 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1354, allocations: 4 kB / 0.5209 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1354, allocations: 3.938 kB / 0.5209 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1354, allocations: 0 / 0.5209 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.1359, allocations: 353.3 kB / 0.5213 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1359, allocations: 0 / 0.5213 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.1361, allocations: 31.92 kB / 0.5213 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.1361, allocations: 3.938 kB / 0.5213 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.1361, allocations: 11.98 kB / 0.5213 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1361, allocations: 0 / 0.5213 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1361, allocations: 0 / 0.5213 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007174/0.1368, allocations: 449.6 kB / 0.5217 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.137, allocations: 109 kB / 0.5219 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.137, allocations: 15.94 kB / 0.5219 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/0.1374, allocations: 43.92 kB / 0.5219 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.1374, allocations: 11.98 kB / 0.5219 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.1375, allocations: 4 kB / 0.5219 GB, free: 5.246 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008475/0.1383, allocations: 341.8 kB / 0.5223 GB, free: 4.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1383, allocations: 0 / 0.5223 GB, free: 4.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003198/0.1386, allocations: 47.89 kB / 0.5223 GB, free: 4.863 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P.P11.x_scaled[1],P.P12.x_scaled[1],P.P21.x_scaled[1],P.P22.x_scaled[1]) * 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 (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 Backend phase and start with SimCode phase: time 0.001084/0.1397, allocations: 0.9855 MB / 0.5233 GB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004284/0.1401, allocations: 179.9 kB / 0.5234 GB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1401, allocations: 3.938 kB / 0.5234 GB, free: 3.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.1403, allocations: 91.95 kB / 0.5235 GB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.1408, allocations: 48.33 kB / 0.5236 GB, free: 3.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006356/0.1471, allocations: 3.283 MB / 0.5268 GB, free: 176 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.1476, allocations: 0.791 MB / 0.5275 GB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.1477, allocations: 58.19 kB / 0.5276 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.1479, allocations: 87.41 kB / 0.5277 GB, free: 15.21 MB / 398.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1479, allocations: 4 kB / 0.5277 GB, free: 15.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.1721, allocations: 5.416 MB / 0.533 GB, free: 9.891 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.927/9.099, allocations: 11.92 kB / 0.533 GB, free: 9.879 MB / 398.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe ; mkfifo AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe >> ../files/AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_TITO_rational_zeroInit_fmu --startTime=0 --stopTime=25 --stepSize=0.05 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_TITO_rational_zeroInit.fmu > AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.991219687042758] Failed to read output from testmodel.py, exit status != 0: 9.230146221991163 9.259069289 9.128973976 Calling exit ...