Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SOPDT_overdamped.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.001419/0.001419, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.001502/0.001502, allocations: 206.3 kB / 23.01 MB, free: 4.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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.1079/0.1079, allocations: 24.03 MB / 337.2 MB, free: 11.34 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_SOPDT_overdamped,fileNamePrefix="AES_AES_Devel_test_models_Test_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SOPDT_overdamped,fileNamePrefix="AES_AES_Devel_test_models_Test_SOPDT_overdamped",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.002288/0.002288, allocations: 63.91 kB / 471.5 MB, free: 8.742 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3745, allocations: 59.57 MB / 0.5186 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.002574/0.3771, allocations: 1.702 MB / 0.5203 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009905/0.378, allocations: 0.5834 MB / 0.5208 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.769e-05/0.3781, allocations: 2.094 kB / 0.5208 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.3784, allocations: 52.41 kB / 0.5209 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.3786, allocations: 56.3 kB / 0.5209 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.3789, allocations: 108 kB / 0.521 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000425/0.3793, allocations: 339.2 kB / 0.5214 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.3795, allocations: 25.41 kB / 0.5214 GB, free: 7.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.3796, allocations: 122.6 kB / 0.5215 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.3798, allocations: 130.9 kB / 0.5216 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.341e-05/0.3799, allocations: 20.94 kB / 0.5217 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.773e-05/0.3799, allocations: 25.66 kB / 0.5217 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.38, allocations: 78.36 kB / 0.5218 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.624e-05/0.3801, allocations: 71.39 kB / 0.5218 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.3804, allocations: 225.5 kB / 0.522 GB, free: 6.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3804, allocations: 1.125 kB / 0.522 GB, free: 6.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3804, allocations: 0 / 0.522 GB, free: 6.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.3804, allocations: 3.938 kB / 0.522 GB, free: 6.984 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001213/0.3816, allocations: 0.509 MB / 0.5225 GB, free: 6.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.3816, allocations: 14.42 kB / 0.5225 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.392e-05/0.3817, allocations: 39.56 kB / 0.5226 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.3817, allocations: 20.12 kB / 0.5226 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005961/0.3823, allocations: 273 kB / 0.5229 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.3823, allocations: 5.844 kB / 0.5229 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.3824, allocations: 19.06 kB / 0.5229 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.3826, allocations: 147 kB / 0.523 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.3826, allocations: 1.094 kB / 0.523 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.3826, allocations: 4.906 kB / 0.523 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.3826, allocations: 5.969 kB / 0.523 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.3829, allocations: 127.9 kB / 0.5232 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000843/0.3837, allocations: 0.4962 MB / 0.5236 GB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.384, allocations: 146.7 kB / 0.5238 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.3841, allocations: 75.62 kB / 0.5239 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.3841, allocations: 5.281 kB / 0.5239 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.3841, allocations: 37.56 kB / 0.5239 GB, free: 5.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.3841, allocations: 0 / 0.5239 GB, free: 5.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004752/0.3846, allocations: 258.9 kB / 0.5241 GB, free: 5.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.3846, allocations: 54.55 kB / 0.5242 GB, free: 5.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000559/0.3852, allocations: 296.9 kB / 0.5245 GB, free: 5.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.3852, allocations: 29.7 kB / 0.5245 GB, free: 5.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.3853, allocations: 135.5 kB / 0.5246 GB, free: 5.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.3853, allocations: 43.81 kB / 0.5247 GB, free: 5.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.3854, allocations: 29 kB / 0.5247 GB, free: 5.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.322e-05/0.3854, allocations: 334.5 kB / 0.525 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.3855, allocations: 78.38 kB / 0.5251 GB, free: 4.855 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.3857, allocations: 77 kB / 0.5252 GB, free: 4.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.3859, allocations: 168.4 kB / 0.5253 GB, free: 4.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3859, allocations: 5.062 kB / 0.5253 GB, free: 4.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000318/0.3862, allocations: 217.6 kB / 0.5256 GB, free: 4.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3862, allocations: 9.312 kB / 0.5256 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3862, allocations: 1.156 kB / 0.5256 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3862, allocations: 0 / 0.5256 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.3866, allocations: 56.2 kB / 0.5256 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3866, allocations: 1.188 kB / 0.5256 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.3868, allocations: 30.73 kB / 0.5256 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.3868, allocations: 6.312 kB / 0.5257 GB, free: 4.625 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 (16): * Single equations (assignments): 16 * 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.379e-05/0.3869, allocations: 140.4 kB / 0.5258 GB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.387, allocations: 20.5 kB / 0.5258 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.385e-05/0.387, allocations: 29.64 kB / 0.5258 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.387, allocations: 5.156 kB / 0.5258 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.387, allocations: 1.062 kB / 0.5258 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.387, allocations: 0.75 kB / 0.5258 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.3873, allocations: 253.1 kB / 0.5261 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.3873, allocations: 2.172 kB / 0.5261 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.3875, allocations: 25.45 kB / 0.5261 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3875, allocations: 1.656 kB / 0.5261 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.3875, allocations: 6.906 kB / 0.5261 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3875, allocations: 5.875 kB / 0.5261 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3875, allocations: 0 / 0.5261 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/0.388, allocations: 369.8 kB / 0.5265 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.388, allocations: 25.34 kB / 0.5265 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.3881, allocations: 7.781 kB / 0.5265 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.3883, allocations: 26.89 kB / 0.5265 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.3884, allocations: 13.56 kB / 0.5265 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.3884, allocations: 7.422 kB / 0.5266 GB, free: 3.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005003/0.3889, allocations: 236.7 kB / 0.5268 GB, free: 3.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3889, allocations: 1.094 kB / 0.5268 GB, free: 3.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.3892, allocations: 28.34 kB / 0.5268 GB, free: 3.863 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.Pr.x_scaled[1],P1.Pr.x_scaled[2],P2.Pr.x_scaled[1],P2.Pr.x_scaled[2]) * 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 (12): * Single equations (assignments): 12 * 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.0006184/0.3898, allocations: 0.9077 MB / 0.5277 GB, free: 3.102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003154/0.3901, allocations: 161.8 kB / 0.5278 GB, free: 3.043 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3901, allocations: 5.219 kB / 0.5279 GB, free: 3.039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.3902, allocations: 80 kB / 0.5279 GB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.3906, allocations: 30.47 kB / 0.528 GB, free: 2.996 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.3941, allocations: 2.61 MB / 0.5305 GB, free: 1.324 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.3942, allocations: 136.8 kB / 0.5306 GB, free: 1.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.3944, allocations: 41.84 kB / 0.5307 GB, free: 1.227 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.3945, allocations: 59.36 kB / 0.5307 GB, free: 1.188 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3945, allocations: 3.938 kB / 0.5307 GB, free: 1.184 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03229/0.4268, allocations: 4.967 MB / 0.5356 GB, free: 148 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.87, allocations: 4.391 kB / 0.5356 GB, free: 148 kB / 382.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; mkfifo AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe >> ../files/AES_AES.Devel_test_models.Test_SOPDT_overdamped.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_SOPDT_overdamped_res.csv --start-time 0 --stop-time 25 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.05 AES_AES_Devel_test_models_Test_SOPDT_overdamped.fmu > AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.589239849243313] Failed to read output from testmodel.py, exit status != 0: 11.97665540361777 11.997648289 11.613478008 Calling exit ...