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.0008037/0.0008037, 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.0008589/0.0008589, 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.9029/0.9029, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.06098/0.06098, 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.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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 412.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/1.985e-05, allocations: 2.281 kB / 412.7 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.002013/0.002032, allocations: 1.703 MB / 414.4 MB, free: 12.72 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000686/0.002718, allocations: 0.5846 MB / 415 MB, free: 12.49 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.128e-05/0.00279, allocations: 5.531 kB / 415 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.003048, allocations: 40.27 kB / 415 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.003173, allocations: 62.19 kB / 415.1 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.003459, allocations: 146 kB / 415.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.003639, allocations: 191.1 kB / 415.4 MB, free: 12.28 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.003739, allocations: 28.53 kB / 415.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.054e-05/0.003829, allocations: 78.03 kB / 415.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.003973, allocations: 115.9 kB / 415.6 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.004004, allocations: 26.62 kB / 415.7 MB, free: 12.19 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.341e-05/0.004028, allocations: 20.16 kB / 415.7 MB, free: 12.19 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.708e-05/0.004105, allocations: 74.81 kB / 415.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.982e-05/0.004155, allocations: 53.47 kB / 415.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.004344, allocations: 230.4 kB / 416 MB, free: 12.03 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004347, allocations: 0 / 416 MB, free: 12.03 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004348, allocations: 0 / 416 MB, free: 12.03 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.004353, allocations: 1.375 kB / 416 MB, free: 12.03 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007591/0.005112, allocations: 0.5103 MB / 416.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.005146, allocations: 10.52 kB / 416.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.599e-05/0.005172, allocations: 43.78 kB / 416.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.005206, allocations: 23.56 kB / 416.6 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.00558, allocations: 268.2 kB / 416.9 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.005593, allocations: 9.188 kB / 416.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.005618, allocations: 12.34 kB / 416.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.005794, allocations: 137.9 kB / 417 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.005804, allocations: 9.625 kB / 417 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.005817, allocations: 9.125 kB / 417.1 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.005822, allocations: 2.312 kB / 417.1 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.00598, allocations: 128.7 kB / 417.2 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.006538, allocations: 0.4966 MB / 417.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.006713, allocations: 150.2 kB / 417.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.603e-05/0.006789, allocations: 78.05 kB / 417.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.00681, allocations: 3.453 kB / 417.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.29e-05/0.006823, allocations: 31.94 kB / 417.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.006824, allocations: 0 / 417.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003353/0.007159, allocations: 265.3 kB / 418.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.007181, allocations: 54.16 kB / 418.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.007523, allocations: 299.3 kB / 418.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.007537, allocations: 27.62 kB / 418.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/0.007595, allocations: 131 kB / 418.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.007633, allocations: 44.88 kB / 418.7 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.007677, allocations: 32.17 kB / 418.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.678e-05/0.007724, allocations: 333.7 kB / 419.1 MB, free: 9.926 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.323e-05/0.007817, allocations: 74.27 kB / 419.2 MB, free: 9.898 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-05/0.007905, allocations: 70.75 kB / 419.2 MB, free: 9.875 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.008091, allocations: 168.4 kB / 419.4 MB, free: 9.801 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.008094, allocations: 0 / 419.4 MB, free: 9.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002443/0.008338, allocations: 229 kB / 419.6 MB, free: 9.688 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.008352, allocations: 10.75 kB / 419.6 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.008357, allocations: 0 / 419.6 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.00837, allocations: 2.562 kB / 419.6 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.008577, allocations: 46.52 kB / 419.7 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.008584, allocations: 1.375 kB / 419.7 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.008703, allocations: 39.08 kB / 419.7 MB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.008713, allocations: 2.219 kB / 419.7 MB, free: 9.672 MB / 330.7 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 7.312e-05/0.008786, allocations: 148 kB / 419.9 MB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.008811, allocations: 15.86 kB / 419.9 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/0.008852, allocations: 30.17 kB / 419.9 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.008855, allocations: 1.469 kB / 419.9 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.008862, allocations: 3.5 kB / 419.9 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.008866, allocations: 0.5156 kB / 419.9 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.009059, allocations: 249.5 kB / 420.2 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.009061, allocations: 0 / 420.2 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.876e-05/0.00916, allocations: 23.34 kB / 420.2 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.009167, allocations: 1.469 kB / 420.2 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.009182, allocations: 11.44 kB / 420.2 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.009183, allocations: 0 / 420.2 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.009184, allocations: 1.219 kB / 420.2 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.009536, allocations: 380.8 kB / 420.6 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.009569, allocations: 30.42 kB / 420.6 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.00959, allocations: 3.297 kB / 420.6 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.00972, allocations: 36.14 kB / 420.6 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.009764, allocations: 9.312 kB / 420.6 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.00977, allocations: 5.594 kB / 420.7 MB, free: 9.031 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002477/0.01002, allocations: 230.5 kB / 420.9 MB, free: 8.922 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01002, allocations: 1.094 kB / 420.9 MB, free: 8.922 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001805/0.0102, allocations: 27.94 kB / 420.9 MB, free: 8.918 MB / 330.7 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.0003945/0.01059, allocations: 0.9128 MB / 421.8 MB, free: 8.152 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.01081, allocations: 162.5 kB / 422 MB, free: 8.094 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.01081, allocations: 0 / 422 MB, free: 8.094 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.333e-05/0.01091, allocations: 80.39 kB / 422.1 MB, free: 8.066 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.01116, allocations: 28.3 kB / 422.1 MB, free: 8.051 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.01367, allocations: 2.605 MB / 424.7 MB, free: 6.375 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.01377, allocations: 145.9 kB / 424.8 MB, free: 6.281 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.299e-05/0.01387, allocations: 37.5 kB / 424.9 MB, free: 6.281 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.577e-05/0.01396, allocations: 59.59 kB / 424.9 MB, free: 6.234 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01396, allocations: 0 / 424.9 MB, free: 6.234 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/0.03445, allocations: 5.11 MB / 430 MB, free: 4.941 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.127/7.161, allocations: 13.03 kB / 430 MB, free: 4.934 MB / 330.7 MB " [Timeout remaining time 653] (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: 9.161513892933726] Failed to read output from testmodel.py, exit status != 0: 7.404257984831929 7.253121674 7.24671014 Calling exit ...