Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.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.00127/0.00127, allocations: 106.7 kB / 16.4 MB, free: 6.449 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.001217/0.001217, allocations: 192.6 kB / 19.36 MB, free: 3.727 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.388/1.388, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.1193/0.1193, allocations: 22.32 MB / 319.6 MB, free: 6.773 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.ProcessBlocks.TITO_rational_zeroInit,fileNamePrefix="AES_AES_ProcessBlocks_TITO_rational_zeroInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.TITO_rational_zeroInit,fileNamePrefix="AES_AES_ProcessBlocks_TITO_rational_zeroInit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.89 kB / 443.1 MB, free: 10.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1154, allocations: 54.95 MB / 498.1 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.002491/0.1179, allocations: 1.11 MB / 499.2 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.1197, allocations: 1.299 MB / 0.4888 GB, free: 1.328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.89e-05/0.1198, allocations: 0 / 0.4888 GB, free: 1.328 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.1202, allocations: 67.56 kB / 0.4888 GB, free: 1.262 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.1204, allocations: 87.58 kB / 0.4889 GB, free: 1.176 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.1207, allocations: 127.8 kB / 0.489 GB, free: 1.051 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005034/0.1212, allocations: 443.2 kB / 0.4894 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.1214, allocations: 52.36 kB / 0.4895 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.1216, allocations: 183.4 kB / 0.4897 GB, free: 392 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003885/0.122, allocations: 175.3 kB / 0.4898 GB, free: 216 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.61e-05/0.1221, allocations: 19.94 kB / 0.4899 GB, free: 196 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.658e-05/0.1221, allocations: 20 kB / 0.4899 GB, free: 176 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.1223, allocations: 95.77 kB / 0.49 GB, free: 80 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.1224, allocations: 99.39 kB / 0.4901 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.1227, allocations: 234.9 kB / 0.4903 GB, free: 15.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1227, allocations: 0 / 0.4903 GB, free: 15.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1227, allocations: 0 / 0.4903 GB, free: 15.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1227, allocations: 4 kB / 0.4903 GB, free: 15.74 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001861/0.1246, allocations: 0.7009 MB / 0.491 GB, free: 14.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1246, allocations: 15.97 kB / 0.491 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.946e-05/0.1247, allocations: 46.67 kB / 0.491 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.1248, allocations: 32.75 kB / 0.4911 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009135/0.1257, allocations: 407.5 kB / 0.4915 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.1257, allocations: 8.375 kB / 0.4915 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.1257, allocations: 16.38 kB / 0.4915 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.126, allocations: 159.4 kB / 0.4916 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1261, allocations: 0 / 0.4916 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.1261, allocations: 11.94 kB / 0.4916 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1261, allocations: 4 kB / 0.4916 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.1264, allocations: 143.9 kB / 0.4918 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.1275, allocations: 0.6526 MB / 0.4924 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006311/0.1281, allocations: 225.2 kB / 0.4926 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.1282, allocations: 81.67 kB / 0.4927 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.1283, allocations: 0 / 0.4927 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.1283, allocations: 34.5 kB / 0.4927 GB, free: 13.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.1283, allocations: 0 / 0.4927 GB, free: 13.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004934/0.1288, allocations: 249.6 kB / 0.493 GB, free: 12.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.057e-05/0.1289, allocations: 85.05 kB / 0.4931 GB, free: 12.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009063/0.1298, allocations: 423.2 kB / 0.4935 GB, free: 12.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1298, allocations: 33.7 kB / 0.4935 GB, free: 12.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.13, allocations: 160.3 kB / 0.4937 GB, free: 12.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.093e-05/0.13, allocations: 51.55 kB / 0.4937 GB, free: 12.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.1301, allocations: 41.7 kB / 0.4937 GB, free: 11.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1303, allocations: 342.8 kB / 0.4941 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.1304, allocations: 59.95 kB / 0.4941 GB, free: 11.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.1306, allocations: 81.58 kB / 0.4942 GB, free: 11.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.1308, allocations: 161.5 kB / 0.4944 GB, free: 11.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1308, allocations: 0 / 0.4944 GB, free: 11.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003275/0.1312, allocations: 205.4 kB / 0.4946 GB, free: 11.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1312, allocations: 8 kB / 0.4946 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1312, allocations: 0 / 0.4946 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.1312, allocations: 7.938 kB / 0.4946 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.1315, allocations: 51.91 kB / 0.4946 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1315, allocations: 0 / 0.4946 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.1319, allocations: 55.83 kB / 0.4947 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.1319, allocations: 8 kB / 0.4947 GB, free: 10.97 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 18 * 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.0001439/0.132, allocations: 150.5 kB / 0.4948 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.97e-05/0.1321, allocations: 27.81 kB / 0.4949 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.591e-05/0.1322, allocations: 45.77 kB / 0.4949 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1322, allocations: 0 / 0.4949 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1322, allocations: 0 / 0.4949 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1322, allocations: 4.172 kB / 0.4949 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/0.1327, allocations: 293.5 kB / 0.4952 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1327, allocations: 3.938 kB / 0.4952 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.1328, allocations: 20 kB / 0.4952 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1329, allocations: 4 kB / 0.4952 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.1329, allocations: 15.92 kB / 0.4952 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1329, allocations: 0 / 0.4952 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1329, allocations: 0 / 0.4952 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005551/0.1335, allocations: 446.5 kB / 0.4956 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.1336, allocations: 112.9 kB / 0.4958 GB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.1336, allocations: 7.938 kB / 0.4958 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.134, allocations: 51.92 kB / 0.4958 GB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.1341, allocations: 7.984 kB / 0.4958 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.1341, allocations: 4 kB / 0.4958 GB, free: 9.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007823/0.1349, allocations: 333.8 kB / 0.4961 GB, free: 9.383 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1349, allocations: 0 / 0.4961 GB, free: 9.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.1352, allocations: 35.95 kB / 0.4962 GB, free: 9.348 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (P11.x_scaled[1],P12.x_scaled[1],P21.x_scaled[1],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 (14): * Single equations (assignments): 14 * 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.0009563/0.1361, allocations: 0.9928 MB / 0.4971 GB, free: 8.328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003348/0.1365, allocations: 139.9 kB / 0.4973 GB, free: 8.191 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1365, allocations: 0 / 0.4973 GB, free: 8.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.1366, allocations: 79.89 kB / 0.4974 GB, free: 8.113 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.1371, allocations: 46.5 kB / 0.4974 GB, free: 8.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005681/0.1428, allocations: 3.127 MB / 0.5005 GB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005533/0.1434, allocations: 0.7791 MB / 0.5012 GB, free: 4.051 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.1435, allocations: 54.39 kB / 0.5013 GB, free: 3.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.1437, allocations: 87.41 kB / 0.5013 GB, free: 3.91 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1437, allocations: 0 / 0.5013 GB, free: 3.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2311/0.3748, allocations: 4.911 MB / 0.5061 GB, free: 20.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.383, allocations: 6.031 kB / 0.5061 GB, free: 20.73 MB / 382.1 MB " [Timeout remaining time 652] (rm -f AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; mkfifo AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe >> ../files/AES_AES.ProcessBlocks.TITO_rational_zeroInit.sim & python3 -m fmpy simulate --output-file AES_AES.ProcessBlocks.TITO_rational_zeroInit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 AES_AES_ProcessBlocks_TITO_rational_zeroInit.fmu > AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.994721869938076] Failed to read output from testmodel.py, exit status != 0: 8.448642324074171 8.459155561 8.334255128 Calling exit ...