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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005657/0.005657, allocations: 102 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 193 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09173/0.09173, allocations: 22.33 MB / 312.9 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.91 kB / 434.4 MB, free: 14.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09945/0.1007, allocations: 54.95 MB / 489.4 MB, free: 7.375 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_TITO_rational_zeroInit): time 0.002339/0.1031, allocations: 1.223 MB / 490.6 MB, free: 6.152 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.1049, allocations: 1.35 MB / 491.9 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.105, allocations: 7.938 kB / 492 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.1054, allocations: 59.56 kB / 492 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.1057, allocations: 95.58 kB / 492.1 MB, free: 4.625 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.106, allocations: 163.7 kB / 492.3 MB, free: 4.465 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000547/0.1065, allocations: 0.511 MB / 492.8 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.1067, allocations: 73.11 kB / 492.8 MB, free: 3.875 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.107, allocations: 199.4 kB / 493 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.1073, allocations: 183.3 kB / 493.2 MB, free: 3.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.776e-05/0.1074, allocations: 28 kB / 493.3 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.568e-05/0.1074, allocations: 28 kB / 493.3 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.1076, allocations: 99.78 kB / 493.4 MB, free: 3.348 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.1077, allocations: 131.2 kB / 493.5 MB, free: 3.219 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.108, allocations: 303 kB / 493.8 MB, free: 2.922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.108, allocations: 4 kB / 493.8 MB, free: 2.918 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.108, allocations: 0 / 493.8 MB, free: 2.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.1081, allocations: 3.984 kB / 493.8 MB, free: 2.914 MB / 366.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.001709/0.1098, allocations: 0.7128 MB / 494.5 MB, free: 2.148 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1098, allocations: 12.03 kB / 494.5 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.765e-05/0.1099, allocations: 50.67 kB / 494.6 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.484e-05/0.11, allocations: 28.56 kB / 494.6 MB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008936/0.1109, allocations: 435.2 kB / 495 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.1109, allocations: 8.609 kB / 495 MB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.1109, allocations: 16.38 kB / 495.1 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.1112, allocations: 167.4 kB / 495.2 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.1112, allocations: 0 / 495.2 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.1113, allocations: 4 kB / 495.2 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1113, allocations: 4 kB / 495.2 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003441/0.1116, allocations: 190.6 kB / 495.4 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.1127, allocations: 0.669 MB / 496.1 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.1131, allocations: 261.7 kB / 496.3 MB, free: 232 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.1132, allocations: 84.81 kB / 496.4 MB, free: 144 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.1132, allocations: 0 / 496.4 MB, free: 144 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.1133, allocations: 38.56 kB / 496.5 MB, free: 96 kB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.1133, allocations: 0 / 496.5 MB, free: 96 kB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005843/0.1139, allocations: 309.2 kB / 496.8 MB, free: 15.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.1139, allocations: 55.34 kB / 496.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008397/0.1148, allocations: 442.8 kB / 497.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.1148, allocations: 25.7 kB / 497.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1149, allocations: 152.4 kB / 497.4 MB, free: 15.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/0.115, allocations: 59.19 kB / 497.5 MB, free: 15.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.446e-05/0.115, allocations: 33.72 kB / 497.5 MB, free: 14.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1152, allocations: 338.8 kB / 497.8 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.1153, allocations: 91.94 kB / 497.9 MB, free: 14.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.1155, allocations: 79.95 kB / 498 MB, free: 14.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.1158, allocations: 203 kB / 498.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1158, allocations: 0 / 498.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003955/0.1162, allocations: 261.2 kB / 498.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1162, allocations: 4 kB / 498.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1162, allocations: 3.938 kB / 498.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1162, allocations: 0 / 498.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.1166, allocations: 59.91 kB / 498.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1166, allocations: 7.938 kB / 498.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.1169, allocations: 59.77 kB / 498.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1169, allocations: 4 kB / 498.6 MB, free: 13.89 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.0001421/0.1171, allocations: 162.5 kB / 498.8 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.1171, allocations: 19.72 kB / 498.8 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.437e-05/0.1172, allocations: 42.23 kB / 498.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.1172, allocations: 4 kB / 498.8 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1172, allocations: 3.938 kB / 498.8 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1173, allocations: 0 / 498.8 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.1176, allocations: 353.2 kB / 499.2 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1176, allocations: 0 / 499.2 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.1178, allocations: 27.92 kB / 499.2 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1178, allocations: 4 kB / 499.2 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.1179, allocations: 11.92 kB / 499.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1179, allocations: 4 kB / 499.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1179, allocations: 0 / 499.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005713/0.1185, allocations: 440.6 kB / 499.7 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.542e-05/0.1186, allocations: 112.8 kB / 499.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.1186, allocations: 11.94 kB / 499.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.119, allocations: 47.92 kB / 499.8 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.119, allocations: 11.92 kB / 499.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.1191, allocations: 8 kB / 499.8 MB, free: 12.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007147/0.1198, allocations: 345.8 kB / 0.4885 GB, free: 12.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1198, allocations: 0 / 0.4885 GB, free: 12.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.1201, allocations: 39.94 kB / 0.4885 GB, free: 12.18 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.0009104/0.121, allocations: 0.9799 MB / 0.4894 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003778/0.1214, allocations: 195.8 kB / 0.4896 GB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.1214, allocations: 4 kB / 0.4896 GB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.1216, allocations: 95.89 kB / 0.4897 GB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.122, allocations: 48.03 kB / 0.4898 GB, free: 10.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005411/0.1274, allocations: 3.263 MB / 0.493 GB, free: 7.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.1278, allocations: 0.7947 MB / 0.4937 GB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001394/0.1279, allocations: 54.27 kB / 0.4938 GB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.1281, allocations: 87.41 kB / 0.4939 GB, free: 6.539 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1281, allocations: 0 / 0.4939 GB, free: 6.539 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.1497, allocations: 5.406 MB / 0.4992 GB, free: 1.207 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/7.843, allocations: 14.48 kB / 0.4992 GB, free: 1.195 MB / 382.1 MB (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 --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)