Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.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.001743/0.001743, 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.002273/0.002273, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.629/1.629, allocations: 230.6 MB / 256 MB, free: 7.949 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.1065/0.1065, allocations: 24.12 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_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",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.002099/0.002099, allocations: 74.06 kB / 473.3 MB, free: 6.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3994, allocations: 59.6 MB / 0.5204 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.002059/0.4014, allocations: 0.7216 MB / 0.5211 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001672/0.4016, allocations: 19.44 kB / 0.5211 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.4016, allocations: 0 / 0.5211 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.4017, allocations: 1.719 kB / 0.5211 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.306e-05/0.4017, allocations: 9.016 kB / 0.5212 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.819e-05/0.4018, allocations: 7.859 kB / 0.5212 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8e-05/0.4019, allocations: 23.45 kB / 0.5212 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.402, allocations: 3.266 kB / 0.5212 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.489e-05/0.402, allocations: 8.328 kB / 0.5212 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.934e-05/0.4021, allocations: 12.8 kB / 0.5212 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.4021, allocations: 0 / 0.5212 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.4021, allocations: 6.625 kB / 0.5212 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.4022, allocations: 10.69 kB / 0.5212 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.4022, allocations: 5.938 kB / 0.5212 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.129e-05/0.4023, allocations: 22.5 kB / 0.5213 GB, free: 9.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4023, allocations: 1.156 kB / 0.5213 GB, free: 9.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4023, allocations: 0 / 0.5213 GB, free: 9.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.4023, allocations: 0 / 0.5213 GB, free: 9.582 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003578/0.4026, allocations: 253.7 kB / 0.5215 GB, free: 9.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.4027, allocations: 10.92 kB / 0.5215 GB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.318e-05/0.4027, allocations: 40.89 kB / 0.5215 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.397e-05/0.4027, allocations: 2.125 kB / 0.5215 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.4028, allocations: 114.2 kB / 0.5217 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.4028, allocations: 1.781 kB / 0.5217 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-06/0.4029, allocations: 2.438 kB / 0.5217 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.371e-05/0.403, allocations: 40.25 kB / 0.5217 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.403, allocations: 3.938 kB / 0.5217 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.403, allocations: 0 / 0.5217 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.403, allocations: 6.094 kB / 0.5217 GB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.959e-05/0.403, allocations: 18.39 kB / 0.5217 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.4033, allocations: 232.9 kB / 0.5219 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.4034, allocations: 36.52 kB / 0.522 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.777e-05/0.4034, allocations: 15.44 kB / 0.522 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.4035, allocations: 0.75 kB / 0.522 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.4035, allocations: 40.41 kB / 0.522 GB, free: 8.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.4035, allocations: 0 / 0.522 GB, free: 8.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001782/0.4037, allocations: 57.16 kB / 0.5221 GB, free: 8.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.4037, allocations: 52.53 kB / 0.5221 GB, free: 8.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.691e-05/0.4038, allocations: 101 kB / 0.5222 GB, free: 8.547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.4038, allocations: 25.7 kB / 0.5223 GB, free: 8.516 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.658e-05/0.4038, allocations: 81.17 kB / 0.5223 GB, free: 8.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.4038, allocations: 7.516 kB / 0.5223 GB, free: 8.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.4038, allocations: 16.81 kB / 0.5224 GB, free: 8.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.081e-05/0.4039, allocations: 317.2 kB / 0.5227 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/0.4039, allocations: 3.906 kB / 0.5227 GB, free: 8.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/0.4039, allocations: 8.938 kB / 0.5227 GB, free: 8.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.273e-05/0.404, allocations: 27.19 kB / 0.5227 GB, free: 8.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.404, allocations: 3.938 kB / 0.5227 GB, free: 8.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.025e-05/0.404, allocations: 53.36 kB / 0.5228 GB, free: 8.023 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4041, allocations: 6.031 kB / 0.5228 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.4041, allocations: 0.6094 kB / 0.5228 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.4041, allocations: 0 / 0.5228 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.873e-05/0.4042, allocations: 14 kB / 0.5228 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.4042, allocations: 1.188 kB / 0.5228 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.493e-05/0.4042, allocations: 0 / 0.5228 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.4042, allocations: 1.75 kB / 0.5228 GB, free: 8.016 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 6.893e-05/0.4043, allocations: 116.6 kB / 0.5229 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.4043, allocations: 1.672 kB / 0.5229 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.4045, allocations: 78.62 kB / 0.523 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.4045, allocations: 0 / 0.523 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4045, allocations: 1.344 kB / 0.523 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4045, allocations: 0.7969 kB / 0.523 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.4046, allocations: 138.4 kB / 0.5231 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.4046, allocations: 0 / 0.5231 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.498e-05/0.4047, allocations: 9.188 kB / 0.5231 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.4047, allocations: 0 / 0.5231 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.4047, allocations: 1.375 kB / 0.5231 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4047, allocations: 0.7031 kB / 0.5231 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4047, allocations: 1.312 kB / 0.5231 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.4049, allocations: 166.5 kB / 0.5233 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-06/0.4049, allocations: 5.828 kB / 0.5233 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.4049, allocations: 2.172 kB / 0.5233 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.567e-05/0.4049, allocations: 0 / 0.5233 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.4049, allocations: 2.828 kB / 0.5233 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.405, allocations: 3.516 kB / 0.5233 GB, free: 7.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.714e-05/0.405, allocations: 82.72 kB / 0.5234 GB, free: 7.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.405, allocations: 4 kB / 0.5234 GB, free: 7.434 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002118/0.4052, allocations: 3.875 kB / 0.5234 GB, free: 7.434 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 5 * 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.0002716/0.4055, allocations: 0.6896 MB / 0.524 GB, free: 6.754 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.4056, allocations: 23.06 kB / 0.5241 GB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4056, allocations: 0 / 0.5241 GB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.434e-05/0.4056, allocations: 17.7 kB / 0.5241 GB, free: 6.738 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.4059, allocations: 15.61 kB / 0.5241 GB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007677/0.4067, allocations: 1.187 MB / 0.5253 GB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.4068, allocations: 0.6792 MB / 0.5259 GB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.734e-05/0.4068, allocations: 3.047 kB / 0.5259 GB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.4069, allocations: 20.25 kB / 0.5259 GB, free: 4.836 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4069, allocations: 5.125 kB / 0.5259 GB, free: 4.832 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02594/0.4328, allocations: 1.405 MB / 0.5273 GB, free: 4.457 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.29, allocations: 7.719 kB / 0.5273 GB, free: 4.453 MB / 382.1 MB " [Timeout remaining time 649] (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_SR01_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 AES_AES_Devel_test_models_Test_SR01.fmu > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.313817475995165] Failed to read output from testmodel.py, exit status != 0: 11.395075419000932 11.408634627 11.003340624 Calling exit ...