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.001326/0.001326, allocations: 107.7 kB / 16.45 MB, free: 6.453 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.001386/0.001386, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.472/1.472, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.1115/0.1115, allocations: 24.11 MB / 333 MB, free: 12.62 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.00206/0.00206, allocations: 66.2 kB / 465.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3287, allocations: 59.57 MB / 0.513 GB, free: 8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.003055/0.3317, allocations: 1.766 MB / 0.5147 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000363/0.3321, allocations: 144.9 kB / 0.5149 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.605e-05/0.3322, allocations: 2.375 kB / 0.5149 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.3323, allocations: 19.41 kB / 0.5149 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.3325, allocations: 28.34 kB / 0.5149 GB, free: 7.293 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.3326, allocations: 56.88 kB / 0.515 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.3328, allocations: 139.7 kB / 0.5151 GB, free: 7.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.3329, allocations: 52.7 kB / 0.5151 GB, free: 7.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.04e-05/0.333, allocations: 62.66 kB / 0.5152 GB, free: 7.164 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.3331, allocations: 72.75 kB / 0.5153 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.3332, allocations: 12.59 kB / 0.5153 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.595e-05/0.3332, allocations: 13.31 kB / 0.5153 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.144e-05/0.3332, allocations: 36.08 kB / 0.5153 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.842e-05/0.3333, allocations: 66.39 kB / 0.5154 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.3335, allocations: 132.5 kB / 0.5155 GB, free: 6.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3335, allocations: 0 / 0.5155 GB, free: 6.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3335, allocations: 0 / 0.5155 GB, free: 6.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.3335, allocations: 1.219 kB / 0.5155 GB, free: 6.996 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.000591/0.3341, allocations: 445.7 kB / 0.516 GB, free: 6.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3342, allocations: 14.56 kB / 0.516 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/0.3342, allocations: 51.62 kB / 0.516 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.3343, allocations: 18.22 kB / 0.516 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.3345, allocations: 213.5 kB / 0.5162 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.3345, allocations: 19.5 kB / 0.5163 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/0.3346, allocations: 16.12 kB / 0.5163 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.335, allocations: 149.2 kB / 0.5164 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.335, allocations: 7.156 kB / 0.5164 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.335, allocations: 13.19 kB / 0.5164 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.335, allocations: 4.266 kB / 0.5164 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/0.3354, allocations: 121.9 kB / 0.5166 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008767/0.3363, allocations: 496.8 kB / 0.517 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.3366, allocations: 117.4 kB / 0.5171 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.3368, allocations: 67.78 kB / 0.5172 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.3368, allocations: 7.453 kB / 0.5172 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.3368, allocations: 36.56 kB / 0.5172 GB, free: 5.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.3368, allocations: 0 / 0.5172 GB, free: 5.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.000709/0.3376, allocations: 232.3 kB / 0.5175 GB, free: 5.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.3376, allocations: 54.81 kB / 0.5175 GB, free: 5.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.568e-05/0.3377, allocations: 138.3 kB / 0.5177 GB, free: 5.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.3377, allocations: 30.67 kB / 0.5177 GB, free: 5.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.3377, allocations: 111.4 kB / 0.5178 GB, free: 5.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.3378, allocations: 73.53 kB / 0.5179 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.31e-05/0.3379, allocations: 50.91 kB / 0.5179 GB, free: 5.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.347e-05/0.3379, allocations: 323.4 kB / 0.5182 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.3381, allocations: 56.7 kB / 0.5183 GB, free: 4.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.3384, allocations: 82.42 kB / 0.5183 GB, free: 4.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.3387, allocations: 142 kB / 0.5185 GB, free: 4.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3388, allocations: 0 / 0.5185 GB, free: 4.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004918/0.3392, allocations: 207.5 kB / 0.5187 GB, free: 4.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3393, allocations: 5.469 kB / 0.5187 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3393, allocations: 6.359 kB / 0.5187 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.3393, allocations: 1.469 kB / 0.5187 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004614/0.3397, allocations: 55.94 kB / 0.5187 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3398, allocations: 2.859 kB / 0.5187 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.3399, allocations: 28 kB / 0.5188 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.3399, allocations: 6.188 kB / 0.5188 GB, free: 4.602 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 9.349e-05/0.34, allocations: 136.8 kB / 0.5189 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.3401, allocations: 18.75 kB / 0.5189 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005761/0.3407, allocations: 200 kB / 0.5191 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3407, allocations: 2.906 kB / 0.5191 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.3407, allocations: 0 / 0.5191 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3407, allocations: 7.312 kB / 0.5191 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.341, allocations: 256.7 kB / 0.5194 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.341, allocations: 1.734 kB / 0.5194 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.3412, allocations: 54.7 kB / 0.5194 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3413, allocations: 5.312 kB / 0.5194 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.3413, allocations: 2.203 kB / 0.5194 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3413, allocations: 1.094 kB / 0.5194 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3413, allocations: 0 / 0.5194 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006869/0.342, allocations: 361.9 kB / 0.5198 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.228e-05/0.342, allocations: 97.72 kB / 0.5199 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.342, allocations: 7.391 kB / 0.5199 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.3422, allocations: 16.77 kB / 0.5199 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.381e-05/0.3423, allocations: 32.66 kB / 0.5199 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.3423, allocations: 5.297 kB / 0.5199 GB, free: 3.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.847e-05/0.3424, allocations: 105.6 kB / 0.52 GB, free: 3.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3424, allocations: 0 / 0.52 GB, free: 3.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.3426, allocations: 31.61 kB / 0.5201 GB, free: 3.676 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.0009214/0.3436, allocations: 0.8924 MB / 0.5209 GB, free: 2.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004681/0.344, allocations: 143.6 kB / 0.5211 GB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.344, allocations: 0 / 0.5211 GB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.3442, allocations: 84.02 kB / 0.5212 GB, free: 2.875 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.3445, allocations: 19.22 kB / 0.5212 GB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.347, allocations: 1.977 MB / 0.5231 GB, free: 1.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.3471, allocations: 0.7245 MB / 0.5238 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.3473, allocations: 22.27 kB / 0.5238 GB, free: 0.668 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.3474, allocations: 51.33 kB / 0.5239 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3474, allocations: 0 / 0.5239 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.3748, allocations: 3.53 MB / 0.5273 GB, free: 140 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/8.682, allocations: 13.53 kB / 0.5273 GB, free: 128 kB / 382.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_analogue_PI_awfb_full_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 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: 11.430836118990555] Failed to read output from testmodel.py, exit status != 0: 8.755407803924754 8.780360501 8.442310189 Calling exit ...