Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_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.001416/0.001416, allocations: 108.2 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.001627/0.001627, allocations: 208.5 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.529/1.529, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1103/0.1103, allocations: 24.03 MB / 333.6 MB, free: 1.555 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.Devel_test_models.Test_FOPDT,fileNamePrefix="AES_AES_Devel_test_models_Test_FOPDT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_FOPDT,fileNamePrefix="AES_AES_Devel_test_models_Test_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.002174/0.002174, allocations: 61.5 kB / 466.3 MB, free: 32.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1126, allocations: 59.55 MB / 0.5135 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.003572/0.1162, allocations: 1.685 MB / 0.5152 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000499/0.1167, allocations: 151.5 kB / 0.5153 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1168, allocations: 0 / 0.5153 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.185e-05/0.1168, allocations: 15.8 kB / 0.5153 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.117, allocations: 23.81 kB / 0.5153 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.1173, allocations: 43.94 kB / 0.5154 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.1175, allocations: 79.78 kB / 0.5155 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.1176, allocations: 27.97 kB / 0.5155 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.797e-05/0.1177, allocations: 31.86 kB / 0.5155 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.49e-05/0.1178, allocations: 39.73 kB / 0.5155 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.1178, allocations: 4 kB / 0.5156 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.642e-05/0.1178, allocations: 8 kB / 0.5156 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.1179, allocations: 15.92 kB / 0.5156 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/0.1179, allocations: 43.73 kB / 0.5156 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.1181, allocations: 75.66 kB / 0.5157 GB, free: 12.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1181, allocations: 3.938 kB / 0.5157 GB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1181, allocations: 0 / 0.5157 GB, free: 12.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1181, allocations: 0 / 0.5157 GB, free: 12.16 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000583/0.1187, allocations: 395 kB / 0.5161 GB, free: 11.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1187, allocations: 8.625 kB / 0.5161 GB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.702e-05/0.1188, allocations: 34.75 kB / 0.5161 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.1188, allocations: 12.89 kB / 0.5161 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.1191, allocations: 200.1 kB / 0.5163 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.1191, allocations: 12.38 kB / 0.5163 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.1192, allocations: 4.375 kB / 0.5163 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.1194, allocations: 66.23 kB / 0.5164 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1194, allocations: 3.938 kB / 0.5164 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1194, allocations: 4 kB / 0.5164 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1194, allocations: 0 / 0.5164 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.303e-05/0.1195, allocations: 27.98 kB / 0.5164 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005495/0.12, allocations: 348.6 kB / 0.5168 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/0.1204, allocations: 62.48 kB / 0.5168 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.391e-05/0.1204, allocations: 16.91 kB / 0.5168 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.1205, allocations: 3.938 kB / 0.5168 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.1205, allocations: 38.56 kB / 0.5169 GB, free: 10.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.1205, allocations: 0 / 0.5169 GB, free: 10.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.000258/0.1208, allocations: 69.83 kB / 0.5169 GB, free: 10.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.1208, allocations: 55.39 kB / 0.517 GB, free: 10.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.121, allocations: 143.8 kB / 0.5171 GB, free: 10.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.121, allocations: 29.64 kB / 0.5172 GB, free: 10.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1211, allocations: 100.1 kB / 0.5173 GB, free: 10.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.1211, allocations: 19.8 kB / 0.5173 GB, free: 10.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.1212, allocations: 17.72 kB / 0.5173 GB, free: 10.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.1213, allocations: 326.8 kB / 0.5176 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.767e-05/0.1214, allocations: 8 kB / 0.5176 GB, free: 9.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.235e-05/0.1214, allocations: 19.98 kB / 0.5176 GB, free: 9.953 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.122e-05/0.1215, allocations: 32.86 kB / 0.5177 GB, free: 9.918 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1215, allocations: 0 / 0.5177 GB, free: 9.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001674/0.1217, allocations: 73.64 kB / 0.5177 GB, free: 9.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1217, allocations: 4 kB / 0.5177 GB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.1217, allocations: 3.984 kB / 0.5177 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.1217, allocations: 7.938 kB / 0.5177 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.707e-05/0.1218, allocations: 15.92 kB / 0.5178 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1218, allocations: 3.938 kB / 0.5178 GB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.806e-05/0.1219, allocations: 4.188 kB / 0.5178 GB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.1219, allocations: 4 kB / 0.5178 GB, free: 9.797 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 (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 prepare postOptimizeDAE: time 0.0001247/0.122, allocations: 118.6 kB / 0.5179 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.122, allocations: 7.953 kB / 0.5179 GB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.1221, allocations: 12.25 kB / 0.5179 GB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.768e-06/0.1221, allocations: 7.984 kB / 0.5179 GB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1221, allocations: 3.938 kB / 0.5179 GB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1221, allocations: 0 / 0.5179 GB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.1224, allocations: 185.6 kB / 0.5181 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.1224, allocations: 3.984 kB / 0.5181 GB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.446e-05/0.1224, allocations: 8 kB / 0.5181 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.1224, allocations: 0 / 0.5181 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.1224, allocations: 0 / 0.5181 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1224, allocations: 0 / 0.5181 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.1225, allocations: 3.938 kB / 0.5181 GB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.1228, allocations: 183.4 kB / 0.5183 GB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.1228, allocations: 81.06 kB / 0.5184 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.1228, allocations: 4.031 kB / 0.5184 GB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.707e-05/0.1229, allocations: 7.984 kB / 0.5184 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.123, allocations: 7.938 kB / 0.5184 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.123, allocations: 0 / 0.5184 GB, free: 9.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.1231, allocations: 107.2 kB / 0.5185 GB, free: 8.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1231, allocations: 0 / 0.5185 GB, free: 8.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.1233, allocations: 23.95 kB / 0.5185 GB, free: 8.949 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.Pr.y,P2.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 (4): * Single equations (assignments): 4 * 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.0006567/0.124, allocations: 0.7046 MB / 0.5192 GB, free: 8.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.1241, allocations: 32.11 kB / 0.5192 GB, free: 8.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1241, allocations: 0 / 0.5192 GB, free: 8.188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.775e-05/0.1242, allocations: 20 kB / 0.5192 GB, free: 8.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.1245, allocations: 21.95 kB / 0.5193 GB, free: 8.148 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.1264, allocations: 1.518 MB / 0.5207 GB, free: 6.555 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.1267, allocations: 0.6963 MB / 0.5214 GB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.083e-05/0.1268, allocations: 11.98 kB / 0.5214 GB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.1268, allocations: 27.42 kB / 0.5215 GB, free: 5.793 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1268, allocations: 0 / 0.5215 GB, free: 5.793 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.1549, allocations: 2.086 MB / 0.5235 GB, free: 3.762 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.26/8.415, allocations: 10.64 kB / 0.5235 GB, free: 3.754 MB / 382.1 MB " [Timeout remaining time 652] (rm -f AES_AES.Devel_test_models.Test_FOPDT.pipe ; mkfifo AES_AES.Devel_test_models.Test_FOPDT.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_FOPDT.pipe >> ../files/AES_AES.Devel_test_models.Test_FOPDT.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_FOPDT_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.03 AES_AES_Devel_test_models_Test_FOPDT.fmu > AES_AES.Devel_test_models.Test_FOPDT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.360188498860225] Failed to read output from testmodel.py, exit status != 0: 8.48076288192533 8.49613219 8.374906292 Calling exit ...