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.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.001224/0.001224, allocations: 102.7 kB / 16.45 MB, free: 6.504 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.00127/0.00127, allocations: 192.6 kB / 19.41 MB, free: 3.68 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.375/1.375, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.09638/0.09638, allocations: 22.69 MB / 325.4 MB, free: 3.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.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_TITO_rational_zeroInit,fileNamePrefix="AES_AES_Devel_test_models_Test_TITO_rational_zeroInit",fmuType="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.89 kB / 455.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1155, allocations: 58.02 MB / 0.5011 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_TITO_rational_zeroInit): time 0.002609/0.1181, allocations: 1.225 MB / 0.5022 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.12, allocations: 1.354 MB / 0.5036 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.1201, allocations: 4 kB / 0.5036 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.1204, allocations: 75.55 kB / 0.5036 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.1206, allocations: 95.52 kB / 0.5037 GB, free: 7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.1209, allocations: 155.8 kB / 0.5039 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005495/0.1215, allocations: 0.5226 MB / 0.5044 GB, free: 6.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.1216, allocations: 48.91 kB / 0.5044 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.1219, allocations: 195.4 kB / 0.5046 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.1222, allocations: 199.2 kB / 0.5048 GB, free: 5.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.253e-05/0.1223, allocations: 28 kB / 0.5048 GB, free: 5.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.452e-05/0.1223, allocations: 32 kB / 0.5049 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.1225, allocations: 107.6 kB / 0.505 GB, free: 5.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.1226, allocations: 127.2 kB / 0.5051 GB, free: 5.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.123, allocations: 306.8 kB / 0.5054 GB, free: 5.293 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.123, allocations: 4 kB / 0.5054 GB, free: 5.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.123, allocations: 4 kB / 0.5054 GB, free: 5.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.123, allocations: 0 / 0.5054 GB, free: 5.285 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.001873/0.1249, allocations: 0.7205 MB / 0.5061 GB, free: 4.512 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.1249, allocations: 8.031 kB / 0.5061 GB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.666e-05/0.125, allocations: 50.67 kB / 0.5062 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.846e-05/0.125, allocations: 32.75 kB / 0.5062 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.126, allocations: 435.5 kB / 0.5066 GB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.1261, allocations: 16.55 kB / 0.5066 GB, free: 3.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.172e-05/0.1261, allocations: 16.38 kB / 0.5066 GB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.1264, allocations: 166.7 kB / 0.5068 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1265, allocations: 0 / 0.5068 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.1265, allocations: 4 kB / 0.5068 GB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1265, allocations: 4 kB / 0.5068 GB, free: 3.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/0.1268, allocations: 180.6 kB / 0.507 GB, free: 3.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.128, allocations: 0.673 MB / 0.5076 GB, free: 2.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/0.1284, allocations: 242.6 kB / 0.5079 GB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.1286, allocations: 84.81 kB / 0.5079 GB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.1286, allocations: 0 / 0.5079 GB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.1286, allocations: 34.56 kB / 0.508 GB, free: 2.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.042e-06/0.1286, allocations: 0 / 0.508 GB, free: 2.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006613/0.1293, allocations: 327.3 kB / 0.5083 GB, free: 2.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.1293, allocations: 51.41 kB / 0.5083 GB, free: 2.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009282/0.1303, allocations: 438.8 kB / 0.5088 GB, free: 1.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.1303, allocations: 29.7 kB / 0.5088 GB, free: 1.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.1305, allocations: 156.4 kB / 0.5089 GB, free: 1.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.055e-05/0.1305, allocations: 55.55 kB / 0.509 GB, free: 1.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.496e-05/0.1306, allocations: 41.64 kB / 0.509 GB, free: 1.359 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1308, allocations: 338.8 kB / 0.5094 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.1309, allocations: 83.95 kB / 0.5094 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.1311, allocations: 86.02 kB / 0.5095 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.1314, allocations: 201.7 kB / 0.5097 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1314, allocations: 0 / 0.5097 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004307/0.1318, allocations: 258.6 kB / 0.51 GB, free: 408 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1319, allocations: 8 kB / 0.51 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1319, allocations: 3.938 kB / 0.51 GB, free: 396 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.1319, allocations: 0 / 0.51 GB, free: 396 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.1322, allocations: 59.95 kB / 0.51 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1322, allocations: 0 / 0.51 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.1325, allocations: 51.89 kB / 0.5101 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.1326, allocations: 8 kB / 0.5101 GB, free: 276 kB / 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.0001604/0.1327, allocations: 158.5 kB / 0.5102 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/0.1328, allocations: 27.81 kB / 0.5103 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.248e-05/0.1329, allocations: 38.23 kB / 0.5103 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1329, allocations: 8 kB / 0.5103 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1329, allocations: 0 / 0.5103 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1329, allocations: 0 / 0.5103 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2091/0.3419, allocations: 346.6 kB / 0.5106 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3419, allocations: 1.969 kB / 0.5106 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.3422, allocations: 30.12 kB / 0.5107 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.3422, allocations: 2.516 kB / 0.5107 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.3422, allocations: 8.359 kB / 0.5107 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3422, allocations: 2.234 kB / 0.5107 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3422, allocations: 2.656 kB / 0.5107 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005943/0.3428, allocations: 449.3 kB / 0.5111 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.607e-05/0.3429, allocations: 113.6 kB / 0.5112 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.3429, allocations: 11 kB / 0.5112 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.3433, allocations: 48 kB / 0.5113 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.3434, allocations: 12.73 kB / 0.5113 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.3434, allocations: 8.344 kB / 0.5113 GB, free: 15.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006642/0.344, allocations: 341.4 kB / 0.5116 GB, free: 15.31 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.344, allocations: 0 / 0.5116 GB, free: 15.31 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.3443, allocations: 42.67 kB / 0.5117 GB, free: 15.31 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.000694/0.345, allocations: 0.9868 MB / 0.5126 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003426/0.3453, allocations: 190.6 kB / 0.5128 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3453, allocations: 0.6562 kB / 0.5128 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.3455, allocations: 94.3 kB / 0.5129 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.3458, allocations: 52.16 kB / 0.5129 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/0.3504, allocations: 3.267 MB / 0.5161 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.3506, allocations: 0.784 MB / 0.5169 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001466/0.3507, allocations: 53.05 kB / 0.5169 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.3508, allocations: 89.33 kB / 0.517 GB, free: 12.61 MB / 382.1 MB Notification: Performance of SimCode: time 1.253e-06/0.3508, allocations: 0 / 0.517 GB, free: 12.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.3816, allocations: 5.393 MB / 0.5223 GB, free: 12.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/8.435, allocations: 8.562 kB / 0.5223 GB, free: 12.11 MB / 382.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: 10.84451995510608] Failed to read output from testmodel.py, exit status != 0: 8.506873641628772 8.527557798 8.400923945 Calling exit ...