Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Keep_within_two_limits_actuators.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.0008592/0.0008592, allocations: 72.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.0008212/0.0008212, allocations: 169.2 kB / 23.23 MB, free: 1.332 MB / 18.57 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 0.8835/0.8835, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.07003/0.07003, allocations: 18.13 MB / 278.1 MB, free: 11.53 MB / 266.7 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.Keep_within_two_limits_actuators,fileNamePrefix="AES_AES_Devel_test_models_Keep_within_two_limits_actuators",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Keep_within_two_limits_actuators,fileNamePrefix="AES_AES_Devel_test_models_Keep_within_two_limits_actuators",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 415.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.619e-05, allocations: 2.281 kB / 415.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Keep_within_two_limits_actuators): time 0.003228/0.003254, allocations: 2.072 MB / 417.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.004587, allocations: 0.7231 MB / 418.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.004749, allocations: 7.969 kB / 418.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.005067, allocations: 38.95 kB / 418.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.005256, allocations: 70.39 kB / 418.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.005674, allocations: 214.9 kB / 419 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.006008, allocations: 319.9 kB / 419.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.006187, allocations: 85.33 kB / 419.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.006369, allocations: 106.4 kB / 419.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.006576, allocations: 108.2 kB / 419.6 MB, free: 9.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.858e-05/0.006645, allocations: 31.75 kB / 419.6 MB, free: 9.977 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.465e-05/0.006689, allocations: 28.19 kB / 419.7 MB, free: 9.977 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.684e-05/0.006786, allocations: 67.84 kB / 419.7 MB, free: 9.934 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.006895, allocations: 81.55 kB / 419.8 MB, free: 9.887 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004045/0.007299, allocations: 313.1 kB / 420.1 MB, free: 9.746 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.007303, allocations: 1.062 kB / 420.1 MB, free: 9.746 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.007305, allocations: 3.938 kB / 420.1 MB, free: 9.742 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.007319, allocations: 0 / 420.1 MB, free: 9.742 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0009452/0.008264, allocations: 0.5427 MB / 420.7 MB, free: 9.344 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.008306, allocations: 11.48 kB / 420.7 MB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.323e-05/0.008349, allocations: 57.3 kB / 420.7 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.008406, allocations: 37.27 kB / 420.8 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.008755, allocations: 269.1 kB / 421 MB, free: 9.062 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.008771, allocations: 16.84 kB / 421 MB, free: 9.055 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.008807, allocations: 18.59 kB / 421.1 MB, free: 9.051 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.009158, allocations: 300.3 kB / 421.3 MB, free: 8.867 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.009168, allocations: 5.125 kB / 421.4 MB, free: 8.863 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.009188, allocations: 13.59 kB / 421.4 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.009196, allocations: 4.562 kB / 421.4 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.009497, allocations: 180.8 kB / 421.5 MB, free: 8.801 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009394/0.01044, allocations: 0.6123 MB / 422.2 MB, free: 8.398 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005009/0.01094, allocations: 262 kB / 422.4 MB, free: 8.309 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.01107, allocations: 92.66 kB / 422.5 MB, free: 8.273 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.01109, allocations: 3.203 kB / 422.5 MB, free: 8.273 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.01111, allocations: 41.36 kB / 422.5 MB, free: 8.227 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.01111, allocations: 0 / 422.5 MB, free: 8.227 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004732/0.01158, allocations: 286.6 kB / 422.8 MB, free: 8.113 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.01162, allocations: 105.1 kB / 422.9 MB, free: 7.988 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.01191, allocations: 268 kB / 423.2 MB, free: 7.844 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.01193, allocations: 31.89 kB / 423.2 MB, free: 7.809 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.337e-05/0.012, allocations: 164.5 kB / 423.4 MB, free: 7.664 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.01204, allocations: 63.5 kB / 423.4 MB, free: 7.613 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.0121, allocations: 48.39 kB / 423.5 MB, free: 7.582 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.599e-05/0.01214, allocations: 335.4 kB / 423.8 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.01228, allocations: 88.97 kB / 423.9 MB, free: 7.223 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.01244, allocations: 181.9 kB / 424.1 MB, free: 7.086 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008466/0.01329, allocations: 395.3 kB / 424.5 MB, free: 6.945 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01329, allocations: 1.156 kB / 424.5 MB, free: 6.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003398/0.01363, allocations: 264.7 kB / 424.7 MB, free: 6.828 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.01364, allocations: 8.781 kB / 424.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01365, allocations: 1.25 kB / 424.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.01367, allocations: 1.969 kB / 424.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/0.01414, allocations: 49.56 kB / 424.8 MB, free: 6.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.01415, allocations: 2.859 kB / 424.8 MB, free: 6.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.01427, allocations: 35.88 kB / 424.8 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.01428, allocations: 7.016 kB / 424.8 MB, free: 6.812 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: Ahi.y:VARIABLE(flow=false start = Ahi.y_start fixed = true ) \"Connector of Real output signal\" type: Real Alo.y:VARIABLE(flow=false start = Alo.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001972/0.01448, allocations: 168.8 kB / 425 MB, free: 6.691 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.215e-05/0.01457, allocations: 155.5 kB / 425.2 MB, free: 6.562 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005345/0.01511, allocations: 328.8 kB / 425.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/0.01511, allocations: 0 / 425.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0002181/0.01533, allocations: 216.4 kB / 425.7 MB, free: 6.328 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.01534, allocations: 9.438 kB / 425.7 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.01534, allocations: 5.703 kB / 425.7 MB, free: 6.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.117e-06/0.01535, allocations: 6.125 kB / 425.7 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.01546, allocations: 44.59 kB / 425.7 MB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.01546, allocations: 1.875 kB / 425.7 MB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.01557, allocations: 27.59 kB / 425.8 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.01558, allocations: 4.375 kB / 425.8 MB, free: 6.305 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: Ahi.y:VARIABLE(flow=false start = Ahi.y_start fixed = true ) \"Connector of Real output signal\" type: Real Alo.y:VARIABLE(flow=false start = Alo.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.568e-05/0.01567, allocations: 204.7 kB / 426 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.01571, allocations: 22.83 kB / 426 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.01609, allocations: 234.1 kB / 426.2 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.01609, allocations: 1.906 kB / 426.2 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.0161, allocations: 1.875 kB / 426.2 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.0161, allocations: 4.75 kB / 426.2 MB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.01635, allocations: 282.9 kB / 426.5 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01636, allocations: 0 / 426.5 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.01649, allocations: 36.55 kB / 426.6 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.01649, allocations: 0 / 426.6 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.01651, allocations: 7.25 kB / 426.6 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.01651, allocations: 1.859 kB / 426.6 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01651, allocations: 0 / 426.6 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004625/0.01698, allocations: 434.5 kB / 427 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.01701, allocations: 28.31 kB / 427 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.01704, allocations: 2.25 kB / 427 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.01716, allocations: 27.22 kB / 427 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.01718, allocations: 9.312 kB / 427.1 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.01719, allocations: 9.297 kB / 427.1 MB, free: 5.496 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001875/0.01738, allocations: 203.7 kB / 427.3 MB, free: 5.387 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01738, allocations: 0 / 427.3 MB, free: 5.387 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003072/0.01769, allocations: 84.22 kB / 427.3 MB, free: 5.363 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C_hi.FO.y,P.x_scaled[1],C_lo.FO.y,Ahi.y,Alo.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0005708/0.01826, allocations: 0.9619 MB / 428.3 MB, free: 4.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004473/0.0187, allocations: 276.8 kB / 428.6 MB, free: 4.508 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01871, allocations: 1.156 kB / 428.6 MB, free: 4.508 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.01883, allocations: 90.58 kB / 428.7 MB, free: 4.484 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.01914, allocations: 69.41 kB / 428.7 MB, free: 4.453 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.02183, allocations: 2.746 MB / 431.5 MB, free: 2.703 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.02195, allocations: 155.4 kB / 431.6 MB, free: 2.621 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.02208, allocations: 37.52 kB / 431.7 MB, free: 2.617 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.02219, allocations: 85.86 kB / 431.7 MB, free: 2.555 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.02219, allocations: 0 / 431.7 MB, free: 2.555 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/0.04399, allocations: 6.277 MB / 438 MB, free: 72 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.828/6.872, allocations: 8.531 kB / 438 MB, free: 68 kB / 330.7 MB " [Timeout remaining time 653] (rm -f AES_AES.Devel_test_models.Keep_within_two_limits_actuators.pipe ; mkfifo AES_AES.Devel_test_models.Keep_within_two_limits_actuators.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Keep_within_two_limits_actuators.pipe >> ../files/AES_AES.Devel_test_models.Keep_within_two_limits_actuators.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Keep_within_two_limits_actuators_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.30003 AES_AES_Devel_test_models_Keep_within_two_limits_actuators.fmu > AES_AES.Devel_test_models.Keep_within_two_limits_actuators.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.932500978000462] Failed to read output from testmodel.py, exit status != 0: 6.964319659397006 6.978102095 6.967974436 Calling exit ...