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.002014/0.002014, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002442/0.002442, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.489/1.489, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.1125/0.1125, allocations: 24.11 MB / 333 MB, free: 12.61 MB / 270.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.003003/0.003003, allocations: 71.89 kB / 465.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3741, allocations: 59.57 MB / 0.513 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002405/0.3765, allocations: 1.673 MB / 0.5146 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003464/0.3769, allocations: 148.1 kB / 0.5148 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.943e-05/0.3769, allocations: 5.25 kB / 0.5148 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.377, allocations: 9.469 kB / 0.5148 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.633e-05/0.3771, allocations: 20.09 kB / 0.5148 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.3773, allocations: 52.92 kB / 0.5149 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.3774, allocations: 80.22 kB / 0.5149 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.3775, allocations: 24.92 kB / 0.515 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.779e-05/0.3776, allocations: 36.84 kB / 0.515 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.942e-05/0.3776, allocations: 33.67 kB / 0.515 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.3777, allocations: 6.625 kB / 0.515 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.438e-05/0.3777, allocations: 7.156 kB / 0.515 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.3777, allocations: 16.14 kB / 0.5151 GB, free: 7.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.3777, allocations: 45.2 kB / 0.5151 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.3778, allocations: 76.28 kB / 0.5152 GB, free: 7.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3778, allocations: 3.938 kB / 0.5152 GB, free: 7.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3778, allocations: 1.188 kB / 0.5152 GB, free: 7.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.3778, allocations: 0 / 0.5152 GB, free: 7.305 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.0003748/0.3782, allocations: 389.2 kB / 0.5155 GB, free: 6.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3783, allocations: 9.25 kB / 0.5156 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.223e-05/0.3783, allocations: 42.23 kB / 0.5156 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.3783, allocations: 10.56 kB / 0.5156 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.3785, allocations: 203.1 kB / 0.5158 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.3785, allocations: 3.062 kB / 0.5158 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.3785, allocations: 14.39 kB / 0.5158 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.3787, allocations: 68.05 kB / 0.5159 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.3787, allocations: 3.938 kB / 0.5159 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.3787, allocations: 4.516 kB / 0.5159 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3787, allocations: 2.344 kB / 0.5159 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.067e-05/0.3788, allocations: 29.81 kB / 0.5159 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.3792, allocations: 333.5 kB / 0.5162 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.3795, allocations: 69.73 kB / 0.5163 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.566e-05/0.3795, allocations: 16.52 kB / 0.5163 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.3795, allocations: 1.594 kB / 0.5163 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.3795, allocations: 32.31 kB / 0.5164 GB, free: 6.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3795, allocations: 0 / 0.5164 GB, free: 6.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002157/0.3798, allocations: 80.7 kB / 0.5164 GB, free: 6.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.3798, allocations: 52.44 kB / 0.5165 GB, free: 6.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.393e-05/0.3799, allocations: 142.1 kB / 0.5166 GB, free: 5.945 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.3799, allocations: 27.02 kB / 0.5166 GB, free: 5.914 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.3799, allocations: 103.2 kB / 0.5167 GB, free: 5.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.3799, allocations: 27.5 kB / 0.5168 GB, free: 5.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.38, allocations: 18.62 kB / 0.5168 GB, free: 5.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.491e-05/0.38, allocations: 319.7 kB / 0.5171 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.285e-05/0.3801, allocations: 16.88 kB / 0.5171 GB, free: 5.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-05/0.3801, allocations: 14 kB / 0.5171 GB, free: 5.445 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.79e-05/0.3802, allocations: 39.23 kB / 0.5172 GB, free: 5.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3802, allocations: 0 / 0.5172 GB, free: 5.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001227/0.3803, allocations: 79.59 kB / 0.5172 GB, free: 5.371 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3803, allocations: 4.875 kB / 0.5172 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3803, allocations: 0 / 0.5172 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3803, allocations: 5.734 kB / 0.5172 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.813e-05/0.3804, allocations: 8.984 kB / 0.5172 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3804, allocations: 9.062 kB / 0.5173 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.3804, allocations: 1.609 kB / 0.5173 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.3804, allocations: 1.281 kB / 0.5173 GB, free: 5.359 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 5.271e-05/0.3805, allocations: 115.7 kB / 0.5174 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.3805, allocations: 8.484 kB / 0.5174 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/0.3805, allocations: 16.03 kB / 0.5174 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3805, allocations: 0 / 0.5174 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3805, allocations: 3.938 kB / 0.5174 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3806, allocations: 5.969 kB / 0.5174 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.3807, allocations: 189.1 kB / 0.5176 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3807, allocations: 1.219 kB / 0.5176 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.876e-05/0.3808, allocations: 10.28 kB / 0.5176 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3808, allocations: 1.406 kB / 0.5176 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3808, allocations: 1.922 kB / 0.5176 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3808, allocations: 0 / 0.5176 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3808, allocations: 3.938 kB / 0.5176 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.381, allocations: 180.6 kB / 0.5178 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.381, allocations: 85.2 kB / 0.5179 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.381, allocations: 1.156 kB / 0.5179 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.477e-05/0.3811, allocations: 1.922 kB / 0.5179 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.3811, allocations: 7.719 kB / 0.5179 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.3812, allocations: 2.719 kB / 0.5179 GB, free: 4.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.796e-05/0.3812, allocations: 109.7 kB / 0.518 GB, free: 4.664 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3812, allocations: 0 / 0.518 GB, free: 4.664 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.3815, allocations: 14.39 kB / 0.518 GB, free: 4.66 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.000355/0.3818, allocations: 0.7048 MB / 0.5187 GB, free: 3.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.382, allocations: 34.19 kB / 0.5187 GB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.382, allocations: 0 / 0.5187 GB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.231e-05/0.382, allocations: 19.11 kB / 0.5187 GB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.3823, allocations: 27.88 kB / 0.5188 GB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.3836, allocations: 1.514 MB / 0.5202 GB, free: 2.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.3838, allocations: 0.6965 MB / 0.5209 GB, free: 1.938 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.968e-05/0.3838, allocations: 9.453 kB / 0.5209 GB, free: 1.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.3839, allocations: 29.16 kB / 0.5209 GB, free: 1.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3839, allocations: 0 / 0.5209 GB, free: 1.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.408, allocations: 2.102 MB / 0.523 GB, free: 1.484 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.562, allocations: 5.125 kB / 0.523 GB, free: 1.48 MB / 382.1 MB " [Timeout remaining time 651] (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.31434042006731] Failed to read output from testmodel.py, exit status != 0: 8.632531516021118 8.646127238 8.265259185 Calling exit ...