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.001261/0.001261, allocations: 105.9 kB / 16.45 MB, free: 6.445 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.001243/0.001243, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.45/1.45, allocations: 225.6 MB / 247.8 MB, free: 3.742 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.09727/0.09727, allocations: 22.69 MB / 325.4 MB, free: 7.918 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.001872/0.001872, allocations: 69.27 kB / 455 MB, free: 42.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.105, allocations: 58.03 MB / 0.501 GB, free: 10.39 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.002119/0.1071, allocations: 1.113 MB / 0.5021 GB, free: 9.277 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1084, allocations: 1.299 MB / 0.5034 GB, free: 7.961 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.426e-05/0.1085, allocations: 3.938 kB / 0.5034 GB, free: 7.957 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003537/0.1088, allocations: 67.61 kB / 0.5034 GB, free: 7.891 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.1091, allocations: 79.55 kB / 0.5035 GB, free: 7.812 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.1093, allocations: 143.8 kB / 0.5037 GB, free: 7.672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003145/0.1096, allocations: 447.2 kB / 0.5041 GB, free: 7.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1097, allocations: 40.38 kB / 0.5041 GB, free: 7.191 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.1099, allocations: 179.4 kB / 0.5043 GB, free: 7.016 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.1101, allocations: 195.2 kB / 0.5045 GB, free: 6.824 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.1102, allocations: 20 kB / 0.5045 GB, free: 6.805 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.612e-05/0.1102, allocations: 16 kB / 0.5045 GB, free: 6.789 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.848e-05/0.1103, allocations: 99.59 kB / 0.5046 GB, free: 6.691 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.181e-05/0.1104, allocations: 103.3 kB / 0.5047 GB, free: 6.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.1106, allocations: 234.8 kB / 0.5049 GB, free: 6.359 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1106, allocations: 0 / 0.5049 GB, free: 6.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1106, allocations: 0 / 0.5049 GB, free: 6.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1106, allocations: 0 / 0.5049 GB, free: 6.359 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0015/0.1121, allocations: 0.7048 MB / 0.5056 GB, free: 5.605 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1121, allocations: 8.031 kB / 0.5056 GB, free: 5.598 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.981e-05/0.1122, allocations: 50.67 kB / 0.5057 GB, free: 5.539 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.1122, allocations: 32.75 kB / 0.5057 GB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008012/0.113, allocations: 411.6 kB / 0.5061 GB, free: 5.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.113, allocations: 12.38 kB / 0.5061 GB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.1131, allocations: 16.33 kB / 0.5061 GB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.1133, allocations: 160.5 kB / 0.5063 GB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1133, allocations: 3.938 kB / 0.5063 GB, free: 4.871 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.1133, allocations: 4 kB / 0.5063 GB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1133, allocations: 4 kB / 0.5063 GB, free: 4.863 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.1135, allocations: 143.9 kB / 0.5064 GB, free: 4.723 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000894/0.1144, allocations: 0.6529 MB / 0.5071 GB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.1149, allocations: 225.2 kB / 0.5073 GB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.781e-05/0.115, allocations: 69.69 kB / 0.5073 GB, free: 3.703 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.115, allocations: 0 / 0.5073 GB, free: 3.703 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.115, allocations: 38.5 kB / 0.5074 GB, free: 3.656 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 8.82e-07/0.115, allocations: 3.938 kB / 0.5074 GB, free: 3.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004524/0.1155, allocations: 253.6 kB / 0.5076 GB, free: 3.398 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.1155, allocations: 81.11 kB / 0.5077 GB, free: 3.301 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006945/0.1162, allocations: 427.2 kB / 0.5081 GB, free: 2.871 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1162, allocations: 29.7 kB / 0.5081 GB, free: 2.836 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.581e-05/0.1163, allocations: 160.3 kB / 0.5083 GB, free: 2.672 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.1163, allocations: 55.55 kB / 0.5083 GB, free: 2.617 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/0.1164, allocations: 33.7 kB / 0.5084 GB, free: 2.578 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.204e-05/0.1164, allocations: 338.8 kB / 0.5087 GB, free: 2.238 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.439e-05/0.1165, allocations: 59.95 kB / 0.5088 GB, free: 2.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.472e-05/0.1166, allocations: 81.67 kB / 0.5088 GB, free: 2.094 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.1168, allocations: 157.5 kB / 0.509 GB, free: 1.934 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1168, allocations: 0 / 0.509 GB, free: 1.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002873/0.1171, allocations: 205.4 kB / 0.5092 GB, free: 1.727 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1171, allocations: 4 kB / 0.5092 GB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1171, allocations: 0 / 0.5092 GB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1171, allocations: 7.938 kB / 0.5092 GB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.1174, allocations: 55.91 kB / 0.5092 GB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1174, allocations: 4 kB / 0.5093 GB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/0.1177, allocations: 55.81 kB / 0.5093 GB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.1177, allocations: 4 kB / 0.5093 GB, free: 1.598 MB / 366.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 8.518e-05/0.1178, allocations: 146.5 kB / 0.5094 GB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.1178, allocations: 27.81 kB / 0.5095 GB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.686e-05/0.1179, allocations: 49.77 kB / 0.5095 GB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1179, allocations: 0 / 0.5095 GB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1179, allocations: 0 / 0.5095 GB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.1179, allocations: 7.984 kB / 0.5095 GB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.1182, allocations: 289.5 kB / 0.5098 GB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1182, allocations: 4 kB / 0.5098 GB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.1183, allocations: 20.19 kB / 0.5098 GB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1183, allocations: 0 / 0.5098 GB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.1183, allocations: 15.86 kB / 0.5098 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1183, allocations: 0 / 0.5098 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1183, allocations: 12 kB / 0.5099 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.1187, allocations: 442.8 kB / 0.5103 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.806e-05/0.1188, allocations: 116.9 kB / 0.5104 GB, free: 408 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.1188, allocations: 11.88 kB / 0.5104 GB, free: 396 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.1192, allocations: 51.92 kB / 0.5105 GB, free: 344 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.1192, allocations: 7.984 kB / 0.5105 GB, free: 336 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.1192, allocations: 4 kB / 0.5105 GB, free: 332 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005978/0.1198, allocations: 333.8 kB / 0.5108 GB, free: 0 / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1198, allocations: 0 / 0.5108 GB, free: 0 / 366.1 MB Notification: Performance of remove unused functions: time 0.0003396/0.1202, allocations: 36 kB / 0.5108 GB, free: 15.96 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.0009079/0.1211, allocations: 0.9888 MB / 0.5118 GB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003297/0.1214, allocations: 143.9 kB / 0.5119 GB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1214, allocations: 0 / 0.5119 GB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.1215, allocations: 68.53 kB / 0.512 GB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.122, allocations: 50.62 kB / 0.512 GB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005523/0.1275, allocations: 3.131 MB / 0.5151 GB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.128, allocations: 0.7792 MB / 0.5159 GB, free: 10.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001598/0.1281, allocations: 50.27 kB / 0.5159 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.1283, allocations: 83.41 kB / 0.516 GB, free: 10.54 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1283, allocations: 0 / 0.516 GB, free: 10.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.1584, allocations: 4.995 MB / 0.5209 GB, free: 5.613 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.184/8.342, allocations: 6.641 kB / 0.5209 GB, free: 5.609 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessBlocks_TITO_rational_zeroInit_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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: 11.021233139093965] Failed to read output from testmodel.py, exit status != 0: 8.40879961103201 8.423787234 8.310458279 Calling exit ...