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.001368/0.001368, 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.00146/0.00146, allocations: 216 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 8.039 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.1073/0.1073, allocations: 24.12 MB / 336.6 MB, free: 11.48 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.003023/0.003023, allocations: 71.89 kB / 470.9 MB, free: 8.801 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3588, allocations: 59.6 MB / 0.5181 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.002673/0.3615, allocations: 1.774 MB / 0.5198 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003969/0.3619, allocations: 145.4 kB / 0.52 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.144e-05/0.362, allocations: 6.156 kB / 0.52 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.3621, allocations: 20.23 kB / 0.52 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.3622, allocations: 25.36 kB / 0.52 GB, free: 7.758 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.0002082/0.3624, allocations: 58.73 kB / 0.5201 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.3626, allocations: 142.9 kB / 0.5202 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.3628, allocations: 50.34 kB / 0.5203 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.876e-05/0.3629, allocations: 69.08 kB / 0.5203 GB, free: 7.594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.363, allocations: 70.73 kB / 0.5204 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.363, allocations: 12.47 kB / 0.5204 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.288e-05/0.363, allocations: 13.69 kB / 0.5204 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.565e-05/0.3631, allocations: 35.3 kB / 0.5205 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.326e-05/0.3631, allocations: 70.86 kB / 0.5205 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.3633, allocations: 128 kB / 0.5207 GB, free: 7.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3633, allocations: 0 / 0.5207 GB, free: 7.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3633, allocations: 0 / 0.5207 GB, free: 7.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3633, allocations: 0 / 0.5207 GB, free: 7.422 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.0005431/0.3638, allocations: 369 kB / 0.521 GB, free: 7.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3639, allocations: 10.61 kB / 0.521 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.3639, allocations: 52.56 kB / 0.5211 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.364, allocations: 21.06 kB / 0.5211 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.3642, allocations: 157 kB / 0.5212 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.3642, allocations: 16.12 kB / 0.5212 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.653e-05/0.3642, allocations: 15.72 kB / 0.5213 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.3646, allocations: 151.8 kB / 0.5214 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3646, allocations: 9.188 kB / 0.5214 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.3646, allocations: 17.33 kB / 0.5214 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3646, allocations: 7.531 kB / 0.5214 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.365, allocations: 117.2 kB / 0.5216 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008022/0.3658, allocations: 470.8 kB / 0.522 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.366, allocations: 113.3 kB / 0.5221 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.3662, allocations: 70.25 kB / 0.5222 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.3663, allocations: 3.391 kB / 0.5222 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.3663, allocations: 44.28 kB / 0.5222 GB, free: 6.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.293e-06/0.3663, allocations: 0 / 0.5222 GB, free: 6.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006444/0.3669, allocations: 221 kB / 0.5224 GB, free: 6.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.367, allocations: 57.94 kB / 0.5225 GB, free: 6.125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.074e-05/0.367, allocations: 134.9 kB / 0.5226 GB, free: 6.012 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.3671, allocations: 31.66 kB / 0.5226 GB, free: 5.977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.3671, allocations: 119.4 kB / 0.5228 GB, free: 5.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.3671, allocations: 73.16 kB / 0.5228 GB, free: 5.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-05/0.3672, allocations: 47.06 kB / 0.5229 GB, free: 5.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.703e-05/0.3672, allocations: 321.8 kB / 0.5232 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.3674, allocations: 57.89 kB / 0.5232 GB, free: 5.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.3676, allocations: 84.5 kB / 0.5233 GB, free: 5.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.3679, allocations: 137.8 kB / 0.5235 GB, free: 5.344 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3679, allocations: 0 / 0.5235 GB, free: 5.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004294/0.3684, allocations: 207.4 kB / 0.5236 GB, free: 5.246 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3684, allocations: 6.188 kB / 0.5237 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3684, allocations: 1.094 kB / 0.5237 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3684, allocations: 1.219 kB / 0.5237 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.3688, allocations: 61.86 kB / 0.5237 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3688, allocations: 5.141 kB / 0.5237 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.369, allocations: 28.84 kB / 0.5237 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.369, allocations: 9.375 kB / 0.5238 GB, free: 5.219 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.404e-05/0.3691, allocations: 129.8 kB / 0.5239 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.3691, allocations: 17.14 kB / 0.5239 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005272/0.3697, allocations: 201.1 kB / 0.5241 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3697, allocations: 1.344 kB / 0.5241 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3697, allocations: 1.344 kB / 0.5241 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3697, allocations: 5.406 kB / 0.5241 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.3699, allocations: 223.9 kB / 0.5243 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3699, allocations: 0 / 0.5243 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.3702, allocations: 50.39 kB / 0.5244 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3702, allocations: 5.219 kB / 0.5244 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.3702, allocations: 6.953 kB / 0.5244 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3702, allocations: 1.188 kB / 0.5244 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3702, allocations: 4.781 kB / 0.5244 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006145/0.3708, allocations: 357.6 kB / 0.5247 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.3709, allocations: 16.64 kB / 0.5247 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.3709, allocations: 10.94 kB / 0.5247 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.3711, allocations: 13.27 kB / 0.5248 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.889e-05/0.3712, allocations: 42.12 kB / 0.5248 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.3712, allocations: 5.25 kB / 0.5248 GB, free: 4.523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.699e-05/0.3712, allocations: 99.08 kB / 0.5249 GB, free: 4.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3712, allocations: 1.156 kB / 0.5249 GB, free: 4.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.3715, allocations: 31.48 kB / 0.5249 GB, free: 4.434 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.0007817/0.3723, allocations: 0.8965 MB / 0.5258 GB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004485/0.3727, allocations: 145 kB / 0.5259 GB, free: 3.648 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3727, allocations: 4.062 kB / 0.5259 GB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.3729, allocations: 87 kB / 0.526 GB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.3732, allocations: 20.94 kB / 0.526 GB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.3755, allocations: 1.973 MB / 0.528 GB, free: 2.117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.3756, allocations: 0.7229 MB / 0.5287 GB, free: 1.418 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.3757, allocations: 19.66 kB / 0.5287 GB, free: 1.406 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.862e-05/0.3758, allocations: 52.05 kB / 0.5287 GB, free: 1.375 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.3758, allocations: 7.938 kB / 0.5288 GB, free: 1.367 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/0.4085, allocations: 3.755 MB / 0.5324 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.68, allocations: 12.41 kB / 0.5324 GB, free: 0.8516 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 & 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: 14.541378055997484] Failed to read output from testmodel.py, exit status != 0: 11.79117691200372 11.806970263 11.439979437 Calling exit ...