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.001731/0.001731, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002298/0.002298, allocations: 216.9 kB / 23.03 MB, free: 4.922 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.548/1.548, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1107/0.1107, allocations: 22.93 MB / 336.2 MB, free: 12.4 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SOPDT_overdamped,fileNamePrefix="AES_AES_Devel_test_models_Test_SOPDT_overdamped",fmuType="cs",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.002073/0.002073, allocations: 59.91 kB / 469.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3793, allocations: 59.29 MB / 0.5167 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.004003/0.3833, allocations: 1.693 MB / 0.5184 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.3848, allocations: 0.5797 MB / 0.5189 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.385, allocations: 6.406 kB / 0.5189 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004327/0.3854, allocations: 43.48 kB / 0.519 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.3857, allocations: 60.58 kB / 0.519 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004854/0.3862, allocations: 113.3 kB / 0.5191 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006021/0.3868, allocations: 346.5 kB / 0.5195 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.3869, allocations: 29.14 kB / 0.5195 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.3872, allocations: 121.9 kB / 0.5196 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003067/0.3875, allocations: 136.4 kB / 0.5197 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.968e-05/0.3875, allocations: 24.31 kB / 0.5198 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.496e-05/0.3876, allocations: 22.06 kB / 0.5198 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.3877, allocations: 77.47 kB / 0.5199 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.436e-05/0.3878, allocations: 71.97 kB / 0.5199 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.3881, allocations: 221.3 kB / 0.5201 GB, free: 7.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3881, allocations: 1.375 kB / 0.5201 GB, free: 7.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3881, allocations: 0 / 0.5201 GB, free: 7.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.3881, allocations: 0 / 0.5201 GB, free: 7.531 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.001418/0.3895, allocations: 0.5166 MB / 0.5207 GB, free: 7.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.3896, allocations: 11.31 kB / 0.5207 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.363e-05/0.3896, allocations: 7 kB / 0.5207 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.3897, allocations: 44.06 kB / 0.5207 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.974e-05/0.3897, allocations: 18.59 kB / 0.5207 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006674/0.3904, allocations: 265.9 kB / 0.521 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.3904, allocations: 12.78 kB / 0.521 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.3905, allocations: 16.34 kB / 0.521 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.3907, allocations: 138.6 kB / 0.5211 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.3908, allocations: 0 / 0.5211 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.3908, allocations: 9.312 kB / 0.5212 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3908, allocations: 1.188 kB / 0.5212 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002715/0.3911, allocations: 133.7 kB / 0.5213 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.3921, allocations: 0.4917 MB / 0.5218 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.3924, allocations: 152.3 kB / 0.5219 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.3925, allocations: 79.03 kB / 0.522 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.3925, allocations: 2.828 kB / 0.522 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.3926, allocations: 32.84 kB / 0.522 GB, free: 6.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.3926, allocations: 0 / 0.522 GB, free: 6.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005422/0.3931, allocations: 259.5 kB / 0.5223 GB, free: 6.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.3931, allocations: 53.94 kB / 0.5223 GB, free: 6.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006417/0.3938, allocations: 303.9 kB / 0.5226 GB, free: 5.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.3938, allocations: 27.05 kB / 0.5226 GB, free: 5.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/0.3939, allocations: 131 kB / 0.5228 GB, free: 5.812 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/0.394, allocations: 45.16 kB / 0.5228 GB, free: 5.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.93e-05/0.394, allocations: 35.2 kB / 0.5228 GB, free: 5.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.466e-05/0.3941, allocations: 331.2 kB / 0.5231 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.3942, allocations: 77.58 kB / 0.5232 GB, free: 5.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.3944, allocations: 76.58 kB / 0.5233 GB, free: 5.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.3946, allocations: 170.9 kB / 0.5235 GB, free: 5.297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3946, allocations: 0 / 0.5235 GB, free: 5.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003759/0.395, allocations: 226 kB / 0.5237 GB, free: 5.184 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.3951, allocations: 5.625 kB / 0.5237 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3951, allocations: 0 / 0.5237 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.3951, allocations: 1.578 kB / 0.5237 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.3955, allocations: 50.78 kB / 0.5237 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.3955, allocations: 5.062 kB / 0.5237 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.3957, allocations: 38.91 kB / 0.5238 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.3957, allocations: 3.25 kB / 0.5238 GB, free: 5.164 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 0.0001156/0.3958, allocations: 143.6 kB / 0.5239 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.3959, allocations: 15.62 kB / 0.5239 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.386e-05/0.396, allocations: 26.56 kB / 0.5239 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.396, allocations: 3.453 kB / 0.524 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.396, allocations: 1.688 kB / 0.524 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.396, allocations: 4.547 kB / 0.524 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.3963, allocations: 245.2 kB / 0.5242 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3963, allocations: 1.156 kB / 0.5242 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.3965, allocations: 30.61 kB / 0.5242 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3965, allocations: 1.062 kB / 0.5242 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.3965, allocations: 7.5 kB / 0.5242 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3965, allocations: 1.062 kB / 0.5242 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3965, allocations: 0.6562 kB / 0.5242 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005186/0.397, allocations: 382.2 kB / 0.5246 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.3971, allocations: 25.64 kB / 0.5246 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.3971, allocations: 7.5 kB / 0.5246 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.3974, allocations: 26.84 kB / 0.5247 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.3974, allocations: 13.31 kB / 0.5247 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.3975, allocations: 11.06 kB / 0.5247 GB, free: 4.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004644/0.3979, allocations: 226.5 kB / 0.5249 GB, free: 4.414 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3979, allocations: 1.094 kB / 0.5249 GB, free: 4.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.3982, allocations: 27.78 kB / 0.5249 GB, free: 4.41 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.0006576/0.3989, allocations: 0.9177 MB / 0.5258 GB, free: 3.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000324/0.3992, allocations: 152.5 kB / 0.526 GB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3992, allocations: 0 / 0.526 GB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.3993, allocations: 88.89 kB / 0.526 GB, free: 3.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.3997, allocations: 34.11 kB / 0.5261 GB, free: 3.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004129/0.4038, allocations: 2.606 MB / 0.5286 GB, free: 1.863 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.404, allocations: 137.2 kB / 0.5288 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.4042, allocations: 39.48 kB / 0.5288 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.4043, allocations: 58.38 kB / 0.5288 GB, free: 1.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4043, allocations: 4 kB / 0.5289 GB, free: 1.727 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03084/0.4351, allocations: 4.631 MB / 0.5334 GB, free: 1.094 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.16, allocations: 13.22 kB / 0.5334 GB, free: 1.086 MB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_SOPDT_overdamped_fmu --startTime=0 --stopTime=25 --stepSize=0.05 --timeout=50 --tolerance=1e-06 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.989958547987044] Failed to read output from testmodel.py, exit status != 0: 12.325809084926732 12.344285635 11.952542582 Calling exit ...