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.001354/0.001354, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001476/0.001476, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.106/0.106, allocations: 22.94 MB / 336.2 MB, free: 12.41 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="cs",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="cs",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.002927/0.002927, allocations: 67.89 kB / 469.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.326, allocations: 59.29 MB / 0.5167 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.002827/0.3289, allocations: 1.715 MB / 0.5184 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004025/0.3293, allocations: 150.6 kB / 0.5185 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.599e-05/0.3294, allocations: 1.562 kB / 0.5185 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.3295, allocations: 20.53 kB / 0.5186 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.3296, allocations: 22.39 kB / 0.5186 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001078/0.3297, allocations: 51.11 kB / 0.5186 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.3299, allocations: 150.3 kB / 0.5188 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.3301, allocations: 56.38 kB / 0.5188 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.454e-05/0.3301, allocations: 61.17 kB / 0.5189 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.992e-05/0.3302, allocations: 70.62 kB / 0.519 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.3302, allocations: 13.38 kB / 0.519 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.437e-05/0.3303, allocations: 12.94 kB / 0.519 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.58e-05/0.3303, allocations: 38.09 kB / 0.519 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.466e-05/0.3303, allocations: 50.5 kB / 0.5191 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.3305, allocations: 133.8 kB / 0.5192 GB, free: 7.922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3305, allocations: 0 / 0.5192 GB, free: 7.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3305, allocations: 1.219 kB / 0.5192 GB, free: 7.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3305, allocations: 0 / 0.5192 GB, free: 7.922 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.0005253/0.3311, allocations: 376.8 kB / 0.5195 GB, free: 7.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3311, allocations: 10.5 kB / 0.5196 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.166e-05/0.3311, allocations: 16.84 kB / 0.5196 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.3311, allocations: 50.64 kB / 0.5196 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.3312, allocations: 17.5 kB / 0.5196 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.3314, allocations: 153.6 kB / 0.5198 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.3314, allocations: 12.19 kB / 0.5198 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.3315, allocations: 20.72 kB / 0.5198 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.3318, allocations: 152.2 kB / 0.52 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3319, allocations: 4 kB / 0.52 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.3319, allocations: 5.906 kB / 0.52 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.3319, allocations: 8.25 kB / 0.52 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003686/0.3322, allocations: 121.3 kB / 0.5201 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007461/0.333, allocations: 440.7 kB / 0.5205 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.3333, allocations: 108.6 kB / 0.5206 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.3335, allocations: 68.33 kB / 0.5207 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.3335, allocations: 7.516 kB / 0.5207 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.3335, allocations: 32.69 kB / 0.5207 GB, free: 6.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.3335, allocations: 0 / 0.5207 GB, free: 6.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006699/0.3342, allocations: 234.3 kB / 0.5209 GB, free: 6.691 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.3342, allocations: 54.2 kB / 0.521 GB, free: 6.629 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.099e-05/0.3343, allocations: 136.2 kB / 0.5211 GB, free: 6.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3343, allocations: 30.8 kB / 0.5212 GB, free: 6.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.3344, allocations: 111.5 kB / 0.5213 GB, free: 6.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.715e-05/0.3344, allocations: 72.36 kB / 0.5213 GB, free: 6.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.701e-05/0.3345, allocations: 48.61 kB / 0.5214 GB, free: 6.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.3346, allocations: 329.5 kB / 0.5217 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.3347, allocations: 58.33 kB / 0.5217 GB, free: 5.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.3349, allocations: 80.41 kB / 0.5218 GB, free: 5.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.3353, allocations: 142.2 kB / 0.522 GB, free: 5.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3353, allocations: 4 kB / 0.522 GB, free: 5.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004382/0.3358, allocations: 196.5 kB / 0.5222 GB, free: 5.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3358, allocations: 5.797 kB / 0.5222 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3358, allocations: 0 / 0.5222 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3358, allocations: 1.406 kB / 0.5222 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004328/0.3362, allocations: 62.31 kB / 0.5222 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3362, allocations: 1.062 kB / 0.5222 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.3364, allocations: 33.12 kB / 0.5223 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.3364, allocations: 5.469 kB / 0.5223 GB, free: 5.734 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.242e-05/0.3365, allocations: 128.6 kB / 0.5224 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.3365, allocations: 14.38 kB / 0.5224 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005113/0.337, allocations: 205.1 kB / 0.5226 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/0.337, allocations: 6.953 kB / 0.5226 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3371, allocations: 0 / 0.5226 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.3371, allocations: 7 kB / 0.5226 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.3373, allocations: 214.2 kB / 0.5228 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3373, allocations: 0 / 0.5228 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.3376, allocations: 46.97 kB / 0.5229 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.3376, allocations: 5.812 kB / 0.5229 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.3376, allocations: 2.141 kB / 0.5229 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3376, allocations: 1.062 kB / 0.5229 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3376, allocations: 0.6562 kB / 0.5229 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006637/0.3383, allocations: 363 kB / 0.5232 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.3383, allocations: 21.5 kB / 0.5232 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.3383, allocations: 5.938 kB / 0.5232 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.3385, allocations: 17.77 kB / 0.5232 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.972e-05/0.3386, allocations: 36.7 kB / 0.5233 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.3386, allocations: 8.781 kB / 0.5233 GB, free: 5.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.475e-05/0.3387, allocations: 94.7 kB / 0.5234 GB, free: 4.961 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3387, allocations: 1.188 kB / 0.5234 GB, free: 4.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.339, allocations: 35.45 kB / 0.5234 GB, free: 4.949 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.0007693/0.3397, allocations: 0.8917 MB / 0.5243 GB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004367/0.3402, allocations: 144.2 kB / 0.5244 GB, free: 4.172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3402, allocations: 0 / 0.5244 GB, free: 4.172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.3404, allocations: 84.44 kB / 0.5245 GB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.3407, allocations: 17.88 kB / 0.5245 GB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.343, allocations: 1.988 MB / 0.5265 GB, free: 2.637 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.205e-05/0.3431, allocations: 113.2 kB / 0.5266 GB, free: 2.555 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.3432, allocations: 23.2 kB / 0.5266 GB, free: 2.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.962e-05/0.3433, allocations: 51.09 kB / 0.5266 GB, free: 2.512 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3433, allocations: 0 / 0.5266 GB, free: 2.512 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.3678, allocations: 3.765 MB / 0.5303 GB, free: 1.961 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.12, allocations: 6.422 kB / 0.5303 GB, free: 1.957 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.842543630045839] Failed to read output from testmodel.py, exit status != 0: 12.28555685293395 12.301423627 11.967696336 Calling exit ...