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.001296/0.001296, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001353/0.001353, allocations: 154.8 kB / 23.01 MB, free: 4.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.418/1.418, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.1041/0.1041, allocations: 17.81 MB / 277.6 MB, free: 15.36 MB / 270.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: translateModel(AES.Devel_test_models.Test_TITO_rational_zeroInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_TITO_rational_zeroInit") translateModel(AES.Devel_test_models.Test_TITO_rational_zeroInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_TITO_rational_zeroInit") [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.002083/0.002083, allocations: 64.19 kB / 412.3 MB, free: 6.879 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0971/0.09918, allocations: 59.57 MB / 471.9 MB, free: 11.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_TITO_rational_zeroInit): time 0.002433/0.1016, allocations: 1.166 MB / 473 MB, free: 10.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.1035, allocations: 1.381 MB / 474.4 MB, free: 8.633 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.205e-05/0.1036, allocations: 4 kB / 474.4 MB, free: 8.629 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.1039, allocations: 75.48 kB / 474.5 MB, free: 8.555 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.1041, allocations: 87.61 kB / 474.6 MB, free: 8.469 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.1045, allocations: 195.7 kB / 474.8 MB, free: 8.277 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007939/0.1053, allocations: 0.6045 MB / 475.4 MB, free: 7.672 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.1054, allocations: 45.09 kB / 475.4 MB, free: 7.625 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000291/0.1057, allocations: 215.3 kB / 475.6 MB, free: 7.414 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.106, allocations: 191.3 kB / 475.8 MB, free: 7.227 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/0.1061, allocations: 28 kB / 475.8 MB, free: 7.199 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.298e-05/0.1061, allocations: 28 kB / 475.9 MB, free: 7.172 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.1062, allocations: 107.7 kB / 476 MB, free: 7.066 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.1063, allocations: 91.45 kB / 476.1 MB, free: 6.977 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003451/0.1067, allocations: 326.7 kB / 476.4 MB, free: 6.656 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1067, allocations: 4 kB / 476.4 MB, free: 6.652 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1067, allocations: 0 / 476.4 MB, free: 6.652 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.1067, allocations: 0 / 476.4 MB, free: 6.652 MB / 446.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.001762/0.1085, allocations: 0.6452 MB / 477 MB, free: 5.973 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1085, allocations: 12.92 kB / 477 MB, free: 5.961 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.1086, allocations: 28.75 kB / 477.1 MB, free: 5.934 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009945/0.1096, allocations: 378.3 kB / 477.4 MB, free: 5.539 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.1096, allocations: 8.609 kB / 477.4 MB, free: 5.531 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.914e-05/0.1096, allocations: 20.36 kB / 477.5 MB, free: 5.512 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.1099, allocations: 167.5 kB / 477.6 MB, free: 5.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1099, allocations: 3.984 kB / 477.6 MB, free: 5.336 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.11, allocations: 4 kB / 477.6 MB, free: 5.332 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.11, allocations: 4 kB / 477.6 MB, free: 5.328 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003678/0.1103, allocations: 180.6 kB / 477.8 MB, free: 5.152 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.1114, allocations: 0.5517 MB / 478.4 MB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/0.1118, allocations: 238.7 kB / 478.6 MB, free: 4.328 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.112, allocations: 84.81 kB / 478.7 MB, free: 4.242 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.112, allocations: 11.94 kB / 478.7 MB, free: 4.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.112, allocations: 38.5 kB / 478.7 MB, free: 4.184 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.112, allocations: 0 / 478.7 MB, free: 4.184 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.000629/0.1126, allocations: 311.8 kB / 479 MB, free: 3.875 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.1127, allocations: 59.34 kB / 479.1 MB, free: 3.805 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009543/0.1136, allocations: 436 kB / 479.5 MB, free: 3.367 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.1137, allocations: 29.7 kB / 479.5 MB, free: 3.332 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.1138, allocations: 156.5 kB / 479.7 MB, free: 3.176 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.424e-05/0.1139, allocations: 67.38 kB / 479.8 MB, free: 3.109 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-05/0.1139, allocations: 33.72 kB / 479.8 MB, free: 3.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1141, allocations: 342.8 kB / 480.1 MB, free: 2.727 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.1143, allocations: 87.89 kB / 480.2 MB, free: 2.641 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.1144, allocations: 89.33 kB / 480.3 MB, free: 2.555 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.1148, allocations: 193.3 kB / 480.5 MB, free: 2.363 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1148, allocations: 0 / 480.5 MB, free: 2.363 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000438/0.1152, allocations: 256.5 kB / 480.7 MB, free: 2.109 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1152, allocations: 8 kB / 480.8 MB, free: 2.102 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1152, allocations: 0 / 480.8 MB, free: 2.102 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1152, allocations: 3.984 kB / 480.8 MB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.1156, allocations: 63.84 kB / 480.8 MB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1156, allocations: 0 / 480.8 MB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.1159, allocations: 63.81 kB / 480.9 MB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.116, allocations: 4 kB / 480.9 MB, free: 1.969 MB / 446.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.0001707/0.1161, allocations: 161.8 kB / 481 MB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/0.1162, allocations: 23.86 kB / 481.1 MB, free: 1.777 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.247e-05/0.1163, allocations: 38.23 kB / 481.1 MB, free: 1.738 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1163, allocations: 7.875 kB / 481.1 MB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1163, allocations: 4 kB / 481.1 MB, free: 1.727 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1163, allocations: 0 / 481.1 MB, free: 1.727 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.1166, allocations: 253.1 kB / 481.4 MB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1166, allocations: 0 / 481.4 MB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.1168, allocations: 23.98 kB / 481.4 MB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1168, allocations: 0 / 481.4 MB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.1168, allocations: 8 kB / 481.4 MB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1168, allocations: 0 / 481.4 MB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1168, allocations: 3.938 kB / 481.4 MB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006599/0.1175, allocations: 447.1 kB / 481.8 MB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.1176, allocations: 43.78 kB / 481.9 MB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.1176, allocations: 8 kB / 481.9 MB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.118, allocations: 47.92 kB / 481.9 MB, free: 0.8633 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.1181, allocations: 11.92 kB / 481.9 MB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.1181, allocations: 4 kB / 481.9 MB, free: 0.8477 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007996/0.1189, allocations: 346.9 kB / 482.3 MB, free: 0.5117 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1189, allocations: 7.875 kB / 482.3 MB, free: 0.5039 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.1192, allocations: 36 kB / 482.3 MB, free: 480 kB / 446.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.000111/0.1193, allocations: 111.2 kB / 482.4 MB, free: 360 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003899/0.1197, allocations: 191.8 kB / 482.6 MB, free: 168 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1197, allocations: 0 / 482.6 MB, free: 168 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.1198, allocations: 94.84 kB / 482.7 MB, free: 76 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.1202, allocations: 48.41 kB / 482.8 MB, free: 24 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1718/0.2921, allocations: 0.649 MB / 483.4 MB, free: 52.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.2922, allocations: 175.8 kB / 483.6 MB, free: 51.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.2923, allocations: 54.72 kB / 483.6 MB, free: 51.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.96e-05/0.2924, allocations: 21.62 kB / 483.7 MB, free: 51.95 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2924, allocations: 0 / 483.7 MB, free: 51.95 MB / 446.1 MB Notification: Performance of Templates: time 0.005462/0.2979, allocations: 2.978 MB / 486.6 MB, free: 51.75 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.makefile [Timeout 660] (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 & ./AES_AES.Devel_test_models.Test_TITO_rational_zeroInit -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.323909600963816] Failed to read output from testmodel.py, exit status != 0: 0.3049536880571395 0.31353959200000003 0.204738113 Calling exit ...