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.001714/0.001714, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002348/0.002348, allocations: 219.5 kB / 22.26 MB, free: 5.121 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.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.1131/0.1131, allocations: 24.13 MB / 336.6 MB, free: 11.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="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.002376/0.002376, allocations: 71.89 kB / 471 MB, free: 8.734 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3485, allocations: 59.6 MB / 0.5181 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.003295/0.3518, allocations: 1.785 MB / 0.5199 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004218/0.3522, allocations: 144.4 kB / 0.52 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.022e-05/0.3523, allocations: 9.594 kB / 0.52 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.3524, allocations: 20.56 kB / 0.52 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.3526, allocations: 17.11 kB / 0.52 GB, free: 7.617 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.0001579/0.3527, allocations: 67.95 kB / 0.5201 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.3529, allocations: 138.9 kB / 0.5202 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.3531, allocations: 52.84 kB / 0.5203 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.275e-05/0.3531, allocations: 62.64 kB / 0.5203 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.3532, allocations: 78.31 kB / 0.5204 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.3533, allocations: 13.31 kB / 0.5204 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.295e-05/0.3533, allocations: 12.19 kB / 0.5204 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.61e-05/0.3533, allocations: 36.22 kB / 0.5205 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.3534, allocations: 66.22 kB / 0.5205 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.3536, allocations: 126.9 kB / 0.5207 GB, free: 7.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3536, allocations: 1.609 kB / 0.5207 GB, free: 7.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3536, allocations: 0 / 0.5207 GB, free: 7.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.3536, allocations: 0 / 0.5207 GB, free: 7.277 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.0005665/0.3542, allocations: 376.6 kB / 0.521 GB, free: 6.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3542, allocations: 9.828 kB / 0.521 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.3543, allocations: 48.27 kB / 0.5211 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.3543, allocations: 17.62 kB / 0.5211 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.3545, allocations: 149.7 kB / 0.5212 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.3546, allocations: 23.31 kB / 0.5213 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.077e-05/0.3546, allocations: 16.69 kB / 0.5213 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.355, allocations: 152.7 kB / 0.5214 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.355, allocations: 9.062 kB / 0.5214 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.355, allocations: 9.031 kB / 0.5214 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.355, allocations: 3.438 kB / 0.5214 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003655/0.3554, allocations: 117.5 kB / 0.5216 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000812/0.3562, allocations: 474.1 kB / 0.522 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.3565, allocations: 109.9 kB / 0.5221 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.3566, allocations: 76.41 kB / 0.5222 GB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.3567, allocations: 3.953 kB / 0.5222 GB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.3567, allocations: 36.97 kB / 0.5222 GB, free: 6.137 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.3567, allocations: 0 / 0.5222 GB, free: 6.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006589/0.3574, allocations: 228.8 kB / 0.5224 GB, free: 6.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.3574, allocations: 57.81 kB / 0.5225 GB, free: 5.977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.419e-05/0.3575, allocations: 133.5 kB / 0.5226 GB, free: 5.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.3575, allocations: 31.05 kB / 0.5227 GB, free: 5.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.637e-05/0.3575, allocations: 111 kB / 0.5228 GB, free: 5.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.3576, allocations: 77.33 kB / 0.5228 GB, free: 5.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.897e-05/0.3576, allocations: 46.64 kB / 0.5229 GB, free: 5.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.614e-05/0.3577, allocations: 322.8 kB / 0.5232 GB, free: 5.316 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.3579, allocations: 65.48 kB / 0.5233 GB, free: 5.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.3581, allocations: 79.27 kB / 0.5233 GB, free: 5.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.3584, allocations: 137.7 kB / 0.5235 GB, free: 5.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3584, allocations: 5.906 kB / 0.5235 GB, free: 5.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004373/0.3588, allocations: 203.4 kB / 0.5237 GB, free: 5.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3589, allocations: 6.141 kB / 0.5237 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.3589, allocations: 0 / 0.5237 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3589, allocations: 2.594 kB / 0.5237 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/0.3593, allocations: 56.61 kB / 0.5237 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3593, allocations: 5.312 kB / 0.5237 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.3595, allocations: 32.69 kB / 0.5238 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.3595, allocations: 5.812 kB / 0.5238 GB, free: 5.074 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 7.842e-05/0.3596, allocations: 125.1 kB / 0.5239 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.3596, allocations: 13.39 kB / 0.5239 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005158/0.3601, allocations: 208.5 kB / 0.5241 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3601, allocations: 2.094 kB / 0.5241 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3601, allocations: 0.7031 kB / 0.5241 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3601, allocations: 2.281 kB / 0.5241 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.3604, allocations: 223.9 kB / 0.5243 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3604, allocations: 4 kB / 0.5243 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.3606, allocations: 50.92 kB / 0.5244 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3606, allocations: 3.938 kB / 0.5244 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.3607, allocations: 3.422 kB / 0.5244 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3607, allocations: 6.078 kB / 0.5244 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3607, allocations: 0 / 0.5244 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006337/0.3613, allocations: 357.9 kB / 0.5247 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.981e-05/0.3613, allocations: 17.89 kB / 0.5247 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.3613, allocations: 9.312 kB / 0.5247 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.3615, allocations: 18.78 kB / 0.5248 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.344e-05/0.3616, allocations: 37.45 kB / 0.5248 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.3616, allocations: 5.172 kB / 0.5248 GB, free: 4.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.111e-05/0.3617, allocations: 102.6 kB / 0.5249 GB, free: 4.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3617, allocations: 0 / 0.5249 GB, free: 4.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.3619, allocations: 31.08 kB / 0.5249 GB, free: 4.297 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.0007583/0.3627, allocations: 0.8965 MB / 0.5258 GB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004341/0.3631, allocations: 149.7 kB / 0.5259 GB, free: 3.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3631, allocations: 0 / 0.5259 GB, free: 3.508 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.3633, allocations: 88.14 kB / 0.526 GB, free: 3.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.3636, allocations: 17.12 kB / 0.526 GB, free: 3.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.3659, allocations: 1.973 MB / 0.528 GB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.366, allocations: 0.7242 MB / 0.5287 GB, free: 1.281 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.3661, allocations: 22.62 kB / 0.5287 GB, free: 1.266 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.289e-05/0.3662, allocations: 54.75 kB / 0.5288 GB, free: 1.23 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3662, allocations: 0 / 0.5288 GB, free: 1.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03595/0.4022, allocations: 3.759 MB / 0.5324 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.6, allocations: 5.766 kB / 0.5324 GB, free: 0.7148 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.406109906965867] Failed to read output from testmodel.py, exit status != 0: 11.713136429199949 11.731840213 11.374919286 Calling exit ...