Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.FOPDT.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.001396/0.001396, allocations: 110.1 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.001491/0.001491, 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.473/1.473, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.1048/0.1048, allocations: 24.02 MB / 333.6 MB, free: 1.547 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.FOPDT,fileNamePrefix="AES_AES_ProcessBlocks_FOPDT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.FOPDT,fileNamePrefix="AES_AES_ProcessBlocks_FOPDT",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.002256/0.002256, allocations: 65.78 kB / 466.3 MB, free: 32.9 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09756/0.09981, allocations: 59.55 MB / 0.5135 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.002962/0.1028, allocations: 1.456 MB / 0.5149 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003582/0.1031, allocations: 115.6 kB / 0.515 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.493e-05/0.1032, allocations: 4 kB / 0.515 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.1032, allocations: 0 / 0.515 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.903e-05/0.1033, allocations: 11.86 kB / 0.515 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.1035, allocations: 27.97 kB / 0.5151 GB, free: 12.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.1037, allocations: 31.86 kB / 0.5151 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.576e-05/0.1038, allocations: 11.98 kB / 0.5151 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.163e-05/0.1038, allocations: 15.92 kB / 0.5151 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.609e-05/0.1039, allocations: 19.86 kB / 0.5151 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1039, allocations: 0 / 0.5151 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-06/0.1039, allocations: 4 kB / 0.5151 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.1039, allocations: 4 kB / 0.5151 GB, free: 12.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.213e-05/0.1039, allocations: 15.88 kB / 0.5152 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.772e-05/0.104, allocations: 27.84 kB / 0.5152 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.104, allocations: 0 / 0.5152 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.104, allocations: 0 / 0.5152 GB, free: 12.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.104, allocations: 0 / 0.5152 GB, free: 12.7 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004634/0.1045, allocations: 347.3 kB / 0.5155 GB, free: 12.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1045, allocations: 12.62 kB / 0.5155 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.253e-05/0.1046, allocations: 34.73 kB / 0.5156 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.1046, allocations: 12.89 kB / 0.5156 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.1049, allocations: 176.3 kB / 0.5157 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1049, allocations: 384 / 0.5157 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.105, allocations: 4.375 kB / 0.5157 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.1051, allocations: 46.2 kB / 0.5158 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1051, allocations: 15.86 kB / 0.5158 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1051, allocations: 7.922 kB / 0.5158 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1051, allocations: 0 / 0.5158 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.699e-05/0.1051, allocations: 12 kB / 0.5158 GB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.1056, allocations: 264.9 kB / 0.5161 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.353e-05/0.1056, allocations: 30.5 kB / 0.5161 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.786e-05/0.1057, allocations: 16.92 kB / 0.5161 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.1057, allocations: 0 / 0.5161 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.1057, allocations: 30.56 kB / 0.5161 GB, free: 11.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.1057, allocations: 0 / 0.5161 GB, free: 11.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001593/0.1059, allocations: 53.58 kB / 0.5162 GB, free: 11.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.1059, allocations: 51.41 kB / 0.5162 GB, free: 11.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.106, allocations: 117.8 kB / 0.5164 GB, free: 11.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.106, allocations: 25.7 kB / 0.5164 GB, free: 11.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.1061, allocations: 92.22 kB / 0.5165 GB, free: 11.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.1061, allocations: 11.94 kB / 0.5165 GB, free: 11.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.445e-05/0.1061, allocations: 13.72 kB / 0.5165 GB, free: 11.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.1063, allocations: 318.8 kB / 0.5168 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.1063, allocations: 4 kB / 0.5168 GB, free: 10.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.357e-05/0.1063, allocations: 7.984 kB / 0.5168 GB, free: 10.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.631e-05/0.1064, allocations: 16.86 kB / 0.5168 GB, free: 10.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1064, allocations: 0 / 0.5168 GB, free: 10.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.928e-05/0.1065, allocations: 57.58 kB / 0.5169 GB, free: 10.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1065, allocations: 4 kB / 0.5169 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1065, allocations: 0 / 0.5169 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1065, allocations: 4 kB / 0.5169 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-05/0.1066, allocations: 4 kB / 0.5169 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1066, allocations: 0 / 0.5169 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.1066, allocations: 7.938 kB / 0.5169 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.1066, allocations: 4 kB / 0.5169 GB, free: 10.7 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 (3): * Single equations (assignments): 3 * 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 9.253e-05/0.1067, allocations: 114.6 kB / 0.517 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.1067, allocations: 4 kB / 0.517 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.1067, allocations: 7.531 kB / 0.517 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.1067, allocations: 8.359 kB / 0.517 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1068, allocations: 0 / 0.517 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1068, allocations: 3.938 kB / 0.517 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.107, allocations: 286.5 kB / 0.5173 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.107, allocations: 3.938 kB / 0.5173 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.83e-05/0.1071, allocations: 4 kB / 0.5173 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1071, allocations: 0 / 0.5173 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.1071, allocations: 0 / 0.5173 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1071, allocations: 4.031 kB / 0.5173 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1071, allocations: 3.938 kB / 0.5173 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.1073, allocations: 143.5 kB / 0.5175 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.1073, allocations: 85.05 kB / 0.5175 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.1073, allocations: 3.938 kB / 0.5175 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.154e-05/0.1074, allocations: 4.031 kB / 0.5176 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.1074, allocations: 4.078 kB / 0.5176 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.1074, allocations: 4.094 kB / 0.5176 GB, free: 9.922 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.924e-05/0.1075, allocations: 91.27 kB / 0.5176 GB, free: 9.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1075, allocations: 0 / 0.5176 GB, free: 9.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000218/0.1077, allocations: 4 kB / 0.5176 GB, free: 9.828 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pr.y) * 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 (2): * Single equations (assignments): 2 * 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.000464/0.1082, allocations: 0.6813 MB / 0.5183 GB, free: 9.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.012e-05/0.1082, allocations: 11.94 kB / 0.5183 GB, free: 9.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1082, allocations: 0 / 0.5183 GB, free: 9.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.511e-05/0.1083, allocations: 8 kB / 0.5183 GB, free: 9.102 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.1085, allocations: 15.92 kB / 0.5183 GB, free: 9.086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.1099, allocations: 1.277 MB / 0.5196 GB, free: 7.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.1102, allocations: 0.6807 MB / 0.5203 GB, free: 7.023 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.238e-05/0.1102, allocations: 7.984 kB / 0.5203 GB, free: 7.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.1103, allocations: 11.72 kB / 0.5203 GB, free: 7.004 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.1103, allocations: 0 / 0.5203 GB, free: 7.004 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.1349, allocations: 1.408 MB / 0.5217 GB, free: 5.641 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.046, allocations: 18.25 kB / 0.5217 GB, free: 5.629 MB / 382.1 MB " [Timeout remaining time 652] (rm -f AES_AES.ProcessBlocks.FOPDT.pipe ; mkfifo AES_AES.ProcessBlocks.FOPDT.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.FOPDT.pipe >> ../files/AES_AES.ProcessBlocks.FOPDT.sim & python3 -m fmpy simulate --output-file AES_AES.ProcessBlocks.FOPDT_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_FOPDT.fmu > AES_AES.ProcessBlocks.FOPDT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.854399018920958] Failed to read output from testmodel.py, exit status != 0: 8.115013466915116 8.137739006 8.029586465 Calling exit ...