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.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.001847/0.001847, allocations: 109.4 kB / 17.15 MB, free: 6.02 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.002204/0.002204, allocations: 207.2 kB / 20.11 MB, free: 3.062 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.524/1.524, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.1081/0.1081, allocations: 24.04 MB / 333.6 MB, free: 1.641 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.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: "" <> 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: 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: 60.53 kB / 466.3 MB, free: 32.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1031, allocations: 59.55 MB / 0.5135 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.002391/0.1055, allocations: 1.115 MB / 0.5146 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.1074, allocations: 1.35 MB / 0.5159 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.734e-05/0.1075, allocations: 7.938 kB / 0.5159 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003298/0.1078, allocations: 71.48 kB / 0.516 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002405/0.108, allocations: 83.59 kB / 0.516 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1083, allocations: 135.8 kB / 0.5162 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004774/0.1088, allocations: 443.2 kB / 0.5166 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1089, allocations: 40.38 kB / 0.5166 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.1091, allocations: 187.4 kB / 0.5168 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.1094, allocations: 191.2 kB / 0.517 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/0.1095, allocations: 20 kB / 0.517 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.254e-05/0.1095, allocations: 16 kB / 0.517 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.1096, allocations: 95.66 kB / 0.5171 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.1097, allocations: 103.3 kB / 0.5172 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.11, allocations: 226.9 kB / 0.5174 GB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.11, allocations: 4 kB / 0.5174 GB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.11, allocations: 0 / 0.5174 GB, free: 10.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.11, allocations: 4 kB / 0.5174 GB, free: 10.36 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.00172/0.1117, allocations: 0.6969 MB / 0.5181 GB, free: 9.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1118, allocations: 12.62 kB / 0.5181 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.169e-05/0.1119, allocations: 58.62 kB / 0.5182 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/0.1119, allocations: 28.75 kB / 0.5182 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009393/0.1129, allocations: 407.6 kB / 0.5186 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.1129, allocations: 16.36 kB / 0.5186 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.1129, allocations: 16.31 kB / 0.5186 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.1132, allocations: 167.3 kB / 0.5188 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1132, allocations: 3.984 kB / 0.5188 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.1132, allocations: 4 kB / 0.5188 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1132, allocations: 4 kB / 0.5188 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002715/0.1135, allocations: 147.8 kB / 0.519 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.1146, allocations: 0.6528 MB / 0.5196 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006329/0.1152, allocations: 221.2 kB / 0.5198 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.1154, allocations: 61.69 kB / 0.5199 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.1154, allocations: 4 kB / 0.5199 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.1154, allocations: 42.55 kB / 0.5199 GB, free: 7.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.1154, allocations: 0 / 0.5199 GB, free: 7.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005027/0.1159, allocations: 249.6 kB / 0.5201 GB, free: 7.398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.116, allocations: 81.11 kB / 0.5202 GB, free: 7.301 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009297/0.1169, allocations: 423.2 kB / 0.5206 GB, free: 6.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.1169, allocations: 29.7 kB / 0.5207 GB, free: 6.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.117, allocations: 164.2 kB / 0.5208 GB, free: 6.676 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.648e-05/0.1171, allocations: 55.58 kB / 0.5209 GB, free: 6.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.971e-05/0.1172, allocations: 33.72 kB / 0.5209 GB, free: 6.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1173, allocations: 334.8 kB / 0.5212 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.1175, allocations: 67.95 kB / 0.5213 GB, free: 6.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1176, allocations: 81.61 kB / 0.5214 GB, free: 6.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.1178, allocations: 161.6 kB / 0.5215 GB, free: 5.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1179, allocations: 0 / 0.5215 GB, free: 5.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000341/0.1182, allocations: 209.3 kB / 0.5217 GB, free: 5.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1182, allocations: 4 kB / 0.5217 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1182, allocations: 0 / 0.5217 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.1182, allocations: 7.938 kB / 0.5217 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.1185, allocations: 51.97 kB / 0.5218 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1185, allocations: 3.938 kB / 0.5218 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.1189, allocations: 59.81 kB / 0.5218 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.1189, allocations: 4 kB / 0.5218 GB, free: 5.59 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.0001359/0.119, allocations: 138.6 kB / 0.522 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.39e-05/0.1191, allocations: 31.84 kB / 0.522 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.8e-05/0.1192, allocations: 37.78 kB / 0.522 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1192, allocations: 3.984 kB / 0.522 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1192, allocations: 0 / 0.522 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1192, allocations: 3.938 kB / 0.522 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.1196, allocations: 301.4 kB / 0.5223 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1196, allocations: 0 / 0.5223 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.1198, allocations: 27.92 kB / 0.5224 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1198, allocations: 0 / 0.5224 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.1198, allocations: 11.94 kB / 0.5224 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1198, allocations: 4 kB / 0.5224 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1198, allocations: 0 / 0.5224 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005204/0.1203, allocations: 440.5 kB / 0.5228 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.1204, allocations: 112.9 kB / 0.5229 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.1205, allocations: 11.94 kB / 0.5229 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.1209, allocations: 47.92 kB / 0.523 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.1209, allocations: 15.92 kB / 0.523 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.1209, allocations: 4 kB / 0.523 GB, free: 4.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00079/0.1217, allocations: 333.8 kB / 0.5233 GB, free: 3.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1217, allocations: 192 / 0.5233 GB, free: 3.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003147/0.122, allocations: 32 kB / 0.5233 GB, free: 3.965 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.0008474/0.1229, allocations: 0.9926 MB / 0.5243 GB, free: 2.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002999/0.1232, allocations: 143.9 kB / 0.5244 GB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1232, allocations: 0 / 0.5244 GB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.1233, allocations: 68.53 kB / 0.5245 GB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.1237, allocations: 44.62 kB / 0.5245 GB, free: 2.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005542/0.1293, allocations: 3.14 MB / 0.5276 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.1297, allocations: 0.7831 MB / 0.5284 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.1298, allocations: 54.27 kB / 0.5284 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.13, allocations: 87.41 kB / 0.5285 GB, free: 14.52 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.13, allocations: 384 / 0.5285 GB, free: 14.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.158, allocations: 4.989 MB / 0.5334 GB, free: 9.605 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.274/8.432, allocations: 2.391 kB / 0.5334 GB, free: 9.605 MB / 398.1 MB " [Timeout remaining time 651] (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: 11.269823307869956] Failed to read output from testmodel.py, exit status != 0: 8.506655723089352 8.535849319 8.420618203 Calling exit ...