Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.SOPDT_overdamped.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.001316/0.001316, allocations: 109.5 kB / 17.14 MB, free: 5.93 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.001482/0.001482, allocations: 205.1 kB / 20.11 MB, free: 2.977 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.459/1.459, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1447/0.1447, allocations: 24.03 MB / 333.6 MB, free: 1.566 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.SOPDT_overdamped,fileNamePrefix="AES_AES_ProcessBlocks_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.SOPDT_overdamped,fileNamePrefix="AES_AES_ProcessBlocks_SOPDT_overdamped",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.002041/0.002041, allocations: 74.77 kB / 466.3 MB, free: 32.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1087, allocations: 59.55 MB / 0.5135 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.002755/0.1115, allocations: 1.48 MB / 0.5149 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1125, allocations: 0.5299 MB / 0.5154 GB, free: 12.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.363e-05/0.1126, allocations: 0 / 0.5154 GB, free: 12.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.1129, allocations: 23.86 kB / 0.5155 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.113, allocations: 31.83 kB / 0.5155 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.1132, allocations: 43.88 kB / 0.5155 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.1134, allocations: 123.7 kB / 0.5157 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.501e-05/0.1134, allocations: 15.98 kB / 0.5157 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.138e-05/0.1135, allocations: 51.83 kB / 0.5157 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.1137, allocations: 67.72 kB / 0.5158 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.1137, allocations: 8 kB / 0.5158 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.676e-05/0.1137, allocations: 8 kB / 0.5158 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.525e-05/0.1138, allocations: 35.91 kB / 0.5158 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.929e-05/0.1138, allocations: 35.78 kB / 0.5159 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.114, allocations: 75.66 kB / 0.5159 GB, free: 11.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.114, allocations: 0 / 0.5159 GB, free: 11.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.114, allocations: 0 / 0.5159 GB, free: 11.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.114, allocations: 0 / 0.5159 GB, free: 11.91 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008722/0.1149, allocations: 454.8 kB / 0.5164 GB, free: 11.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.1149, allocations: 8.625 kB / 0.5164 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.648e-05/0.115, allocations: 38.7 kB / 0.5164 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.115, allocations: 8.891 kB / 0.5164 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.1155, allocations: 254.5 kB / 0.5167 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1155, allocations: 4.375 kB / 0.5167 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.1155, allocations: 4.375 kB / 0.5167 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.1157, allocations: 77.78 kB / 0.5168 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.1157, allocations: 8 kB / 0.5168 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1157, allocations: 0 / 0.5168 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.1157, allocations: 0 / 0.5168 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.1158, allocations: 55.89 kB / 0.5168 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006541/0.1165, allocations: 368.6 kB / 0.5172 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.1166, allocations: 86.56 kB / 0.5173 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.083e-05/0.1167, allocations: 32.97 kB / 0.5173 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.1167, allocations: 0 / 0.5173 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.1168, allocations: 46.55 kB / 0.5173 GB, free: 10.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.1168, allocations: 0 / 0.5173 GB, free: 10.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.000284/0.117, allocations: 121.5 kB / 0.5174 GB, free: 10.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.1171, allocations: 51.41 kB / 0.5175 GB, free: 10.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.1175, allocations: 187.5 kB / 0.5177 GB, free: 9.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1175, allocations: 29.7 kB / 0.5177 GB, free: 9.906 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.401e-05/0.1176, allocations: 108.1 kB / 0.5178 GB, free: 9.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.1176, allocations: 23.78 kB / 0.5178 GB, free: 9.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.1176, allocations: 29.7 kB / 0.5179 GB, free: 9.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1178, allocations: 330.7 kB / 0.5182 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.623e-05/0.1179, allocations: 23.98 kB / 0.5182 GB, free: 9.383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.598e-05/0.1179, allocations: 27.98 kB / 0.5182 GB, free: 9.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.118, allocations: 68.83 kB / 0.5183 GB, free: 9.285 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.118, allocations: 0 / 0.5183 GB, free: 9.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001845/0.1182, allocations: 113.5 kB / 0.5184 GB, free: 9.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1182, allocations: 8 kB / 0.5184 GB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.1182, allocations: 4 kB / 0.5184 GB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1182, allocations: 0 / 0.5184 GB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.1185, allocations: 27.98 kB / 0.5184 GB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1185, allocations: 0 / 0.5184 GB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.1186, allocations: 19.91 kB / 0.5184 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1186, allocations: 0 / 0.5184 GB, free: 9.109 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 (8): * Single equations (assignments): 8 * 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.0001265/0.1187, allocations: 122.6 kB / 0.5186 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.1188, allocations: 7.953 kB / 0.5186 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.3e-05/0.1188, allocations: 24.7 kB / 0.5186 GB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.1188, allocations: 0 / 0.5186 GB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.1188, allocations: 0 / 0.5186 GB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1188, allocations: 0 / 0.5186 GB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005489/0.1194, allocations: 410.6 kB / 0.519 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1194, allocations: 0 / 0.519 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.879e-05/0.1195, allocations: 12 kB / 0.519 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1195, allocations: 0 / 0.519 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1195, allocations: 8 kB / 0.519 GB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1195, allocations: 3.938 kB / 0.519 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1195, allocations: 3.984 kB / 0.519 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.1198, allocations: 227.4 kB / 0.5192 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.1199, allocations: 92.98 kB / 0.5193 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.1199, allocations: 4 kB / 0.5193 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.1201, allocations: 23.91 kB / 0.5193 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.1201, allocations: 4.062 kB / 0.5194 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.1201, allocations: 0 / 0.5194 GB, free: 8.082 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002827/0.1204, allocations: 150.2 kB / 0.5195 GB, free: 7.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1204, allocations: 0 / 0.5195 GB, free: 7.938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000232/0.1206, allocations: 20 kB / 0.5195 GB, free: 7.918 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Pr.x_scaled[1],Pr.x_scaled[2]) * 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 (6): * Single equations (assignments): 6 * 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.0005923/0.1212, allocations: 0.7553 MB / 0.5203 GB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.1214, allocations: 71.94 kB / 0.5203 GB, free: 7.066 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1214, allocations: 0 / 0.5203 GB, free: 7.066 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.632e-05/0.1214, allocations: 35.92 kB / 0.5204 GB, free: 7.031 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.1217, allocations: 18.11 kB / 0.5204 GB, free: 7.016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.1244, allocations: 1.78 MB / 0.5221 GB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.1248, allocations: 0.7157 MB / 0.5228 GB, free: 4.414 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.318e-05/0.1248, allocations: 20.41 kB / 0.5228 GB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.279e-05/0.1249, allocations: 27.81 kB / 0.5229 GB, free: 4.367 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1249, allocations: 4 kB / 0.5229 GB, free: 4.363 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.1496, allocations: 2.456 MB / 0.5253 GB, free: 1.957 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.116, allocations: 17.22 kB / 0.5253 GB, free: 1.945 MB / 382.1 MB " [Timeout remaining time 652] (rm -f AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; mkfifo AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.SOPDT_overdamped.pipe >> ../files/AES_AES.ProcessBlocks.SOPDT_overdamped.sim & python3 -m fmpy simulate --output-file AES_AES.ProcessBlocks.SOPDT_overdamped_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_SOPDT_overdamped.fmu > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.959200582001358] Failed to read output from testmodel.py, exit status != 0: 8.184828947065398 8.211111167 8.092800005 Calling exit ...