Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.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.001331/0.001331, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001454/0.001454, allocations: 210.9 kB / 23.01 MB, free: 4.992 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.1076/0.1076, allocations: 24.04 MB / 337.2 MB, free: 11.32 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_analogue_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_PI_awfb_full",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_analogue_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_PI_awfb_full",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.002077/0.002077, allocations: 67.91 kB / 471.5 MB, free: 8.719 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3854, allocations: 59.57 MB / 0.5186 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.003765/0.3892, allocations: 1.736 MB / 0.5203 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004075/0.3896, allocations: 145.7 kB / 0.5204 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.016e-05/0.3897, allocations: 1.25 kB / 0.5204 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.3898, allocations: 20.86 kB / 0.5205 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.3899, allocations: 21.89 kB / 0.5205 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.3901, allocations: 55.2 kB / 0.5205 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.3903, allocations: 142.5 kB / 0.5207 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.3905, allocations: 54.41 kB / 0.5207 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.738e-05/0.3905, allocations: 65.83 kB / 0.5208 GB, free: 7.594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.3906, allocations: 62.94 kB / 0.5208 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.3907, allocations: 12.03 kB / 0.5209 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.651e-05/0.3907, allocations: 13.5 kB / 0.5209 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.001e-05/0.3907, allocations: 35.03 kB / 0.5209 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.083e-05/0.3908, allocations: 54.75 kB / 0.521 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.391, allocations: 129.2 kB / 0.5211 GB, free: 7.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.391, allocations: 0 / 0.5211 GB, free: 7.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.391, allocations: 4.969 kB / 0.5211 GB, free: 7.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.391, allocations: 0 / 0.5211 GB, free: 7.441 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005695/0.3916, allocations: 376.6 kB / 0.5214 GB, free: 7.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3916, allocations: 10.89 kB / 0.5215 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.682e-05/0.3917, allocations: 47.88 kB / 0.5215 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.3917, allocations: 21.56 kB / 0.5215 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.3919, allocations: 157.7 kB / 0.5217 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.392, allocations: 16.41 kB / 0.5217 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.392, allocations: 15.62 kB / 0.5217 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.3924, allocations: 148.8 kB / 0.5218 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3924, allocations: 7.938 kB / 0.5219 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.3924, allocations: 9.094 kB / 0.5219 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.3924, allocations: 5.453 kB / 0.5219 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/0.3928, allocations: 115.8 kB / 0.522 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008123/0.3936, allocations: 444.4 kB / 0.5224 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.3939, allocations: 112.5 kB / 0.5225 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.3941, allocations: 68.69 kB / 0.5226 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.3941, allocations: 3.547 kB / 0.5226 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.3942, allocations: 40.48 kB / 0.5226 GB, free: 6.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.3942, allocations: 1.375 kB / 0.5226 GB, free: 6.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.000793/0.3949, allocations: 231.3 kB / 0.5228 GB, free: 6.215 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.395, allocations: 54.03 kB / 0.5229 GB, free: 6.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.378e-05/0.3951, allocations: 138 kB / 0.523 GB, free: 6.035 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.3951, allocations: 30.98 kB / 0.523 GB, free: 6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.3951, allocations: 114.1 kB / 0.5232 GB, free: 5.895 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.826e-05/0.3952, allocations: 69.17 kB / 0.5232 GB, free: 5.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.542e-05/0.3953, allocations: 48.55 kB / 0.5233 GB, free: 5.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.077e-05/0.3953, allocations: 325.9 kB / 0.5236 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.3955, allocations: 58.23 kB / 0.5236 GB, free: 5.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.3957, allocations: 80.8 kB / 0.5237 GB, free: 5.438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.3961, allocations: 141 kB / 0.5238 GB, free: 5.371 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3961, allocations: 3.938 kB / 0.5239 GB, free: 5.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004603/0.3966, allocations: 204.1 kB / 0.524 GB, free: 5.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3966, allocations: 6.688 kB / 0.5241 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3966, allocations: 0.75 kB / 0.5241 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3966, allocations: 1.375 kB / 0.5241 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/0.397, allocations: 61.75 kB / 0.5241 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.397, allocations: 2 kB / 0.5241 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.3972, allocations: 27.83 kB / 0.5241 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.3972, allocations: 9.406 kB / 0.5242 GB, free: 5.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (ts.y,C.LOsat,C.HIsat,C.noDec,C.noInc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.487e-05/0.3973, allocations: 125.2 kB / 0.5243 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.3973, allocations: 14.44 kB / 0.5243 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005262/0.3979, allocations: 200.1 kB / 0.5245 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3979, allocations: 7 kB / 0.5245 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3979, allocations: 0.7969 kB / 0.5245 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3979, allocations: 2.219 kB / 0.5245 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.3981, allocations: 214.2 kB / 0.5247 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3981, allocations: 0 / 0.5247 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.3984, allocations: 46.5 kB / 0.5247 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3984, allocations: 5.125 kB / 0.5247 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.3984, allocations: 6.703 kB / 0.5247 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3984, allocations: 2.031 kB / 0.5247 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3984, allocations: 0 / 0.5247 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007084/0.3991, allocations: 363.3 kB / 0.5251 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.3992, allocations: 17.7 kB / 0.5251 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.3992, allocations: 10.3 kB / 0.5251 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.3994, allocations: 17.58 kB / 0.5251 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.149e-05/0.3995, allocations: 30.58 kB / 0.5252 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.3995, allocations: 12.66 kB / 0.5252 GB, free: 4.562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.448e-05/0.3995, allocations: 96.58 kB / 0.5253 GB, free: 4.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3995, allocations: 0 / 0.5253 GB, free: 4.484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.3998, allocations: 35.89 kB / 0.5253 GB, free: 4.473 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C.xfb,C.xBias,C.u,C.csfil,P.y) * Number of discrete variables: 5 (C.noInc,C.noDec,C.HIsat,C.LOsat,ts.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.001016/0.4008, allocations: 0.8955 MB / 0.5262 GB, free: 3.727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005644/0.4014, allocations: 151.4 kB / 0.5263 GB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4014, allocations: 3.938 kB / 0.5263 GB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.4016, allocations: 81.42 kB / 0.5264 GB, free: 3.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.402, allocations: 22.2 kB / 0.5264 GB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.4048, allocations: 1.974 MB / 0.5284 GB, free: 2.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.4049, allocations: 113.6 kB / 0.5285 GB, free: 2.074 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.405, allocations: 22.77 kB / 0.5285 GB, free: 2.066 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.4051, allocations: 50.8 kB / 0.5285 GB, free: 2.031 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4051, allocations: 0 / 0.5285 GB, free: 2.031 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03374/0.4388, allocations: 4.063 MB / 0.5325 GB, free: 1.082 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.68, allocations: 10.73 kB / 0.5325 GB, free: 1.082 MB / 382.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; mkfifo AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe >> ../files/AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_analogue_PI_awfb_full_fmu --startTime=0 --stopTime=120 --stepSize=0.2 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_analogue_PI_awfb_full.fmu > AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.349798643961549] Failed to read output from testmodel.py, exit status != 0: 11.788196628913283 11.811983563 11.416944521 Calling exit ...