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.001926/0.001926, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002539/0.002539, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 8.012 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.1102/0.1102, allocations: 24.12 MB / 336.6 MB, free: 11.45 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.002087/0.002087, allocations: 71.89 kB / 470.9 MB, free: 8.766 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3075, allocations: 59.6 MB / 0.5181 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002721/0.3103, allocations: 1.689 MB / 0.5198 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000359/0.3106, allocations: 155.9 kB / 0.5199 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.867e-05/0.3107, allocations: 1.188 kB / 0.5199 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.83e-05/0.3107, allocations: 11.33 kB / 0.5199 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.555e-05/0.3108, allocations: 23.78 kB / 0.5199 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.3111, allocations: 46.38 kB / 0.52 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.3112, allocations: 84.77 kB / 0.5201 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.3113, allocations: 25.17 kB / 0.5201 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.52e-05/0.3114, allocations: 32.02 kB / 0.5201 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.111e-05/0.3114, allocations: 32.7 kB / 0.5202 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.3115, allocations: 6.781 kB / 0.5202 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.4e-05/0.3115, allocations: 7.25 kB / 0.5202 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.3115, allocations: 21.03 kB / 0.5202 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.3115, allocations: 37.8 kB / 0.5202 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.3117, allocations: 83.77 kB / 0.5203 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3117, allocations: 0 / 0.5203 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3117, allocations: 5.094 kB / 0.5203 GB, free: 7.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3117, allocations: 0 / 0.5203 GB, free: 7.574 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.0003934/0.3121, allocations: 317.4 kB / 0.5206 GB, free: 7.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.3121, allocations: 11.69 kB / 0.5206 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.3121, allocations: 37.48 kB / 0.5207 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.3122, allocations: 10.48 kB / 0.5207 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.3124, allocations: 146.1 kB / 0.5208 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.3124, allocations: 5.812 kB / 0.5208 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.3124, allocations: 8.688 kB / 0.5208 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.3126, allocations: 68.75 kB / 0.5209 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3126, allocations: 4.594 kB / 0.5209 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3126, allocations: 5.219 kB / 0.5209 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3126, allocations: 1.125 kB / 0.5209 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.022e-05/0.3127, allocations: 26.28 kB / 0.5209 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.3131, allocations: 310.8 kB / 0.5212 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.3134, allocations: 62.44 kB / 0.5213 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.463e-05/0.3134, allocations: 15.38 kB / 0.5213 GB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.3134, allocations: 1.344 kB / 0.5213 GB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.3135, allocations: 36.83 kB / 0.5213 GB, free: 6.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3135, allocations: 0 / 0.5213 GB, free: 6.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002158/0.3137, allocations: 75.09 kB / 0.5214 GB, free: 6.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.3137, allocations: 53.19 kB / 0.5214 GB, free: 6.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.462e-05/0.3138, allocations: 138.7 kB / 0.5216 GB, free: 6.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.3138, allocations: 25.7 kB / 0.5216 GB, free: 6.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.215e-05/0.3138, allocations: 108.9 kB / 0.5217 GB, free: 6.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.3139, allocations: 24.08 kB / 0.5217 GB, free: 6.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.3139, allocations: 18.64 kB / 0.5217 GB, free: 6.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.504e-05/0.3139, allocations: 319.7 kB / 0.5221 GB, free: 5.926 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.416e-05/0.314, allocations: 13.05 kB / 0.5221 GB, free: 5.922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.304e-05/0.314, allocations: 12.03 kB / 0.5221 GB, free: 5.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.602e-05/0.3141, allocations: 39.42 kB / 0.5221 GB, free: 5.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3141, allocations: 5.094 kB / 0.5221 GB, free: 5.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001214/0.3142, allocations: 73.92 kB / 0.5222 GB, free: 5.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3142, allocations: 13.3 kB / 0.5222 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3142, allocations: 0 / 0.5222 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3143, allocations: 1.094 kB / 0.5222 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.8e-05/0.3143, allocations: 13.14 kB / 0.5222 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3143, allocations: 4.688 kB / 0.5222 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.193e-05/0.3144, allocations: 1.125 kB / 0.5222 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.3144, allocations: 2.062 kB / 0.5222 GB, free: 5.828 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.513e-05/0.3144, allocations: 117.9 kB / 0.5223 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.3144, allocations: 8.828 kB / 0.5223 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.3145, allocations: 15.75 kB / 0.5224 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3145, allocations: 0.5156 kB / 0.5224 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3145, allocations: 9.219 kB / 0.5224 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.3145, allocations: 0.6562 kB / 0.5224 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.3147, allocations: 161.5 kB / 0.5225 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3147, allocations: 0 / 0.5225 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.072e-05/0.3147, allocations: 12.36 kB / 0.5225 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3147, allocations: 0 / 0.5225 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3147, allocations: 1.531 kB / 0.5225 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3147, allocations: 0 / 0.5225 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3147, allocations: 9.828 kB / 0.5225 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.3149, allocations: 171.9 kB / 0.5227 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.315, allocations: 13.66 kB / 0.5227 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.315, allocations: 0.875 kB / 0.5227 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-05/0.3151, allocations: 5.844 kB / 0.5227 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.3151, allocations: 12.58 kB / 0.5227 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.3151, allocations: 1.844 kB / 0.5227 GB, free: 5.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.041e-05/0.3152, allocations: 113.2 kB / 0.5229 GB, free: 5.242 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3152, allocations: 0 / 0.5229 GB, free: 5.242 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.3154, allocations: 14.2 kB / 0.5229 GB, free: 5.238 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.0003257/0.3157, allocations: 0.7041 MB / 0.5236 GB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.3159, allocations: 37.78 kB / 0.5236 GB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3159, allocations: 0 / 0.5236 GB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.53e-05/0.3159, allocations: 15.06 kB / 0.5236 GB, free: 4.539 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.3162, allocations: 22.41 kB / 0.5236 GB, free: 4.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.3175, allocations: 1.509 MB / 0.5251 GB, free: 3.215 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.3176, allocations: 0.6992 MB / 0.5258 GB, free: 2.516 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.876e-05/0.3176, allocations: 13.22 kB / 0.5258 GB, free: 2.508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/0.3177, allocations: 29.27 kB / 0.5258 GB, free: 2.488 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3177, allocations: 1.094 kB / 0.5258 GB, free: 2.488 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.3473, allocations: 2.234 MB / 0.528 GB, free: 2.055 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.47, allocations: 5.203 kB / 0.528 GB, free: 2.051 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.166195115998562] Failed to read output from testmodel.py, exit status != 0: 11.571319003996905 11.587781261 11.272919029 Calling exit ...