Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HP_001a.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.001354/0.001354, 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.001588/0.001588, allocations: 209.2 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1088/0.1088, 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_HP_001a,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_HP_001a,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001a",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.002142/0.002142, allocations: 71.91 kB / 474.6 MB, free: 5.598 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3184, allocations: 59.58 MB / 0.5217 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001a): time 0.003426/0.3218, allocations: 1.82 MB / 0.5235 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003227/0.3221, allocations: 102.9 kB / 0.5236 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.856e-05/0.3222, allocations: 1.281 kB / 0.5236 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.827e-05/0.3223, allocations: 14.48 kB / 0.5236 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.3224, allocations: 36.47 kB / 0.5236 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.388e-05/0.3225, allocations: 26.8 kB / 0.5236 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.3227, allocations: 119.8 kB / 0.5237 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.3228, allocations: 38.61 kB / 0.5238 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.814e-05/0.3229, allocations: 45.39 kB / 0.5238 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.323, allocations: 45.14 kB / 0.5239 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.323, allocations: 11.56 kB / 0.5239 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.405e-05/0.3231, allocations: 10.22 kB / 0.5239 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.794e-05/0.3231, allocations: 22.66 kB / 0.5239 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.3232, allocations: 47.94 kB / 0.524 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.3233, allocations: 127 kB / 0.5241 GB, free: 9.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3234, allocations: 1.219 kB / 0.5241 GB, free: 9.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3234, allocations: 0 / 0.5241 GB, free: 9.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.3234, allocations: 0 / 0.5241 GB, free: 9.023 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005031/0.3239, allocations: 333 kB / 0.5244 GB, free: 8.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.3239, allocations: 10.45 kB / 0.5244 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.71e-05/0.324, allocations: 46.22 kB / 0.5245 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.324, allocations: 15.69 kB / 0.5245 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.3241, allocations: 114.8 kB / 0.5246 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.3241, allocations: 10.41 kB / 0.5246 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.3242, allocations: 16.5 kB / 0.5246 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.3244, allocations: 109.4 kB / 0.5247 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3244, allocations: 5.156 kB / 0.5247 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.3245, allocations: 5.828 kB / 0.5247 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.3245, allocations: 2.281 kB / 0.5247 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.3246, allocations: 76.55 kB / 0.5248 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000639/0.3253, allocations: 383.1 kB / 0.5252 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.3256, allocations: 144.1 kB / 0.5253 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.303e-05/0.3257, allocations: 39 kB / 0.5253 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.3257, allocations: 2.281 kB / 0.5253 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.3257, allocations: 45.83 kB / 0.5254 GB, free: 7.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.3257, allocations: 0 / 0.5254 GB, free: 7.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0011/0.3268, allocations: 302 kB / 0.5257 GB, free: 7.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.3269, allocations: 58.59 kB / 0.5257 GB, free: 7.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.288e-05/0.3269, allocations: 104.2 kB / 0.5258 GB, free: 7.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.3269, allocations: 29.7 kB / 0.5259 GB, free: 7.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.327, allocations: 113.8 kB / 0.526 GB, free: 7.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.327, allocations: 38.8 kB / 0.526 GB, free: 7.523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.3271, allocations: 28.55 kB / 0.526 GB, free: 7.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.842e-05/0.3271, allocations: 323.2 kB / 0.5263 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.885e-05/0.3272, allocations: 23.39 kB / 0.5264 GB, free: 7.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-05/0.3272, allocations: 38.98 kB / 0.5264 GB, free: 7.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.3273, allocations: 71.97 kB / 0.5265 GB, free: 7.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3273, allocations: 0 / 0.5265 GB, free: 7.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004056/0.3277, allocations: 182.8 kB / 0.5266 GB, free: 7.016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3278, allocations: 4.75 kB / 0.5266 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3278, allocations: 1.156 kB / 0.5266 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004517/0.3282, allocations: 92.22 kB / 0.5267 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.9e-05/0.3283, allocations: 10.84 kB / 0.5267 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.3303, allocations: 1.794 MB / 0.5285 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.75e-05/0.3303, allocations: 9.891 kB / 0.5285 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.3303, allocations: 7.844 kB / 0.5285 GB, free: 5.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 7.084e-05/0.3304, allocations: 120.3 kB / 0.5286 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.3304, allocations: 11.23 kB / 0.5286 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004208/0.3308, allocations: 193.4 kB / 0.5288 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3308, allocations: 2.219 kB / 0.5288 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.3309, allocations: 4.562 kB / 0.5288 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3309, allocations: 0.6094 kB / 0.5288 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.3315, allocations: 448.2 kB / 0.5293 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3315, allocations: 0.5625 kB / 0.5293 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.862e-05/0.3315, allocations: 10.81 kB / 0.5293 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003168/0.3318, allocations: 91.8 kB / 0.5293 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3318, allocations: 4 kB / 0.5294 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.3334, allocations: 1.778 MB / 0.5311 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3334, allocations: 0 / 0.5311 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.3338, allocations: 282.7 kB / 0.5314 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.709e-06/0.3338, allocations: 10.3 kB / 0.5314 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.3338, allocations: 5.125 kB / 0.5314 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.237e-05/0.3339, allocations: 1.281 kB / 0.5314 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.3339, allocations: 14.97 kB / 0.5314 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.371e-06/0.3339, allocations: 2.531 kB / 0.5314 GB, free: 3.035 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.863e-05/0.334, allocations: 88.06 kB / 0.5315 GB, free: 2.953 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.334, allocations: 5.062 kB / 0.5315 GB, free: 2.949 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003698/0.3343, allocations: 36.64 kB / 0.5315 GB, free: 2.941 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 (6): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005394/0.3349, allocations: 0.8053 MB / 0.5323 GB, free: 2.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003368/0.3352, allocations: 218.6 kB / 0.5325 GB, free: 2.066 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3352, allocations: 0 / 0.5325 GB, free: 2.066 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.3354, allocations: 183.5 kB / 0.5327 GB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.3357, allocations: 9.734 kB / 0.5327 GB, free: 1.922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007786/0.3364, allocations: 330.1 kB / 0.533 GB, free: 1.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.183e-05/0.3365, allocations: 94.17 kB / 0.5331 GB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.574e-05/0.3365, allocations: 7.078 kB / 0.5331 GB, free: 1.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.076e-05/0.3366, allocations: 33.55 kB / 0.5331 GB, free: 1.594 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3366, allocations: 0 / 0.5331 GB, free: 1.594 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03112/0.3677, allocations: 3.205 MB / 0.5363 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.35, allocations: 11.56 kB / 0.5363 GB, free: 0.6406 MB / 382.1 MB " [Timeout remaining time 647] (rm -f AES_AES.Devel_test_models.Test_HP_001a.pipe ; mkfifo AES_AES.Devel_test_models.Test_HP_001a.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HP_001a.pipe >> ../files/AES_AES.Devel_test_models.Test_HP_001a.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_HP_001a_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 AES_AES_Devel_test_models_Test_HP_001a.fmu > AES_AES.Devel_test_models.Test_HP_001a.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.177175741177052] Failed to read output from testmodel.py, exit status != 0: 13.47115817759186 13.499621638 13.170939541 Calling exit ...