Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HP_001.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.00134/0.00134, allocations: 104.3 kB / 19.72 MB, free: 1.926 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.001703/0.001703, allocations: 211 kB / 23.01 MB, free: 4.98 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1067/0.1067, allocations: 24.04 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_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_HP_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001",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.002181/0.002181, allocations: 63.91 kB / 473.8 MB, free: 6.398 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.334, allocations: 59.57 MB / 0.5209 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.002639/0.3366, allocations: 1.695 MB / 0.5226 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002164/0.3368, allocations: 58.11 kB / 0.5226 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.436e-05/0.3369, allocations: 1.531 kB / 0.5226 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.45e-05/0.3369, allocations: 11.92 kB / 0.5226 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.337, allocations: 21.97 kB / 0.5227 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.389e-05/0.3371, allocations: 15.2 kB / 0.5227 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.3372, allocations: 85.06 kB / 0.5227 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.3373, allocations: 21.94 kB / 0.5228 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.898e-05/0.3374, allocations: 34.94 kB / 0.5228 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.3375, allocations: 29.98 kB / 0.5228 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.3375, allocations: 6.062 kB / 0.5228 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.784e-05/0.3375, allocations: 7.156 kB / 0.5228 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.193e-05/0.3375, allocations: 13.36 kB / 0.5229 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.3376, allocations: 35.72 kB / 0.5229 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.3377, allocations: 83.12 kB / 0.523 GB, free: 8.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3377, allocations: 0.9688 kB / 0.523 GB, free: 8.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3377, allocations: 4 kB / 0.523 GB, free: 8.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3377, allocations: 0 / 0.523 GB, free: 8.797 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003761/0.3381, allocations: 302.9 kB / 0.5233 GB, free: 8.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3381, allocations: 10.14 kB / 0.5233 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.3382, allocations: 43.97 kB / 0.5233 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.3382, allocations: 9.484 kB / 0.5233 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.33e-05/0.3383, allocations: 111.4 kB / 0.5234 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.3383, allocations: 7.812 kB / 0.5234 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.3383, allocations: 10.25 kB / 0.5234 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3385, allocations: 93.98 kB / 0.5235 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3385, allocations: 4 kB / 0.5235 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3385, allocations: 5.156 kB / 0.5235 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3385, allocations: 2.656 kB / 0.5235 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.3386, allocations: 45.41 kB / 0.5236 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.3391, allocations: 328.8 kB / 0.5239 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.3392, allocations: 51.98 kB / 0.524 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.095e-05/0.3393, allocations: 27.25 kB / 0.524 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.3393, allocations: 1.094 kB / 0.524 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.3393, allocations: 32.36 kB / 0.524 GB, free: 7.852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.3393, allocations: 13.17 kB / 0.524 GB, free: 7.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001904/0.3395, allocations: 71.8 kB / 0.5241 GB, free: 7.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.3395, allocations: 57.53 kB / 0.5241 GB, free: 7.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.186e-05/0.3396, allocations: 108.1 kB / 0.5243 GB, free: 7.621 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.3396, allocations: 27.69 kB / 0.5243 GB, free: 7.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.3396, allocations: 107.4 kB / 0.5244 GB, free: 7.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.3396, allocations: 24.3 kB / 0.5244 GB, free: 7.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.3397, allocations: 21.42 kB / 0.5244 GB, free: 7.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.3397, allocations: 314.8 kB / 0.5247 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.076e-05/0.3397, allocations: 13.86 kB / 0.5247 GB, free: 7.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.905e-05/0.3398, allocations: 43.61 kB / 0.5248 GB, free: 7.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.7e-05/0.3399, allocations: 53.67 kB / 0.5248 GB, free: 7.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3399, allocations: 0 / 0.5248 GB, free: 7.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001104/0.34, allocations: 81.31 kB / 0.5249 GB, free: 7.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.34, allocations: 5.281 kB / 0.5249 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.34, allocations: 2.25 kB / 0.5249 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.34, allocations: 1.156 kB / 0.5249 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.3401, allocations: 24.64 kB / 0.5249 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3401, allocations: 5.406 kB / 0.5249 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.794e-05/0.3401, allocations: 15.05 kB / 0.525 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.3402, allocations: 2.375 kB / 0.525 GB, free: 6.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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 5.328e-05/0.3402, allocations: 114.5 kB / 0.5251 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.3402, allocations: 2.469 kB / 0.5251 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.3404, allocations: 88.52 kB / 0.5252 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.3404, allocations: 5 kB / 0.5252 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3404, allocations: 0 / 0.5252 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3404, allocations: 1.75 kB / 0.5252 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.3405, allocations: 149.3 kB / 0.5253 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3405, allocations: 5.094 kB / 0.5253 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.463e-05/0.3406, allocations: 13.42 kB / 0.5253 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3406, allocations: 1.312 kB / 0.5253 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.3406, allocations: 0 / 0.5253 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3406, allocations: 6.25 kB / 0.5253 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3406, allocations: 192 / 0.5253 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.3407, allocations: 173.2 kB / 0.5255 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.3407, allocations: 11.23 kB / 0.5255 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.3407, allocations: 0.9375 kB / 0.5255 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.713e-05/0.3408, allocations: 5.859 kB / 0.5255 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.3408, allocations: 7 kB / 0.5255 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.3408, allocations: 6.312 kB / 0.5255 GB, free: 6.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.599e-05/0.3408, allocations: 87.36 kB / 0.5256 GB, free: 6.371 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3408, allocations: 0 / 0.5256 GB, free: 6.371 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.3411, allocations: 16.84 kB / 0.5256 GB, free: 6.367 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 (7): * Single equations (assignments): 7 * 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.000247/0.3413, allocations: 0.6933 MB / 0.5263 GB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.3415, allocations: 43.62 kB / 0.5263 GB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3415, allocations: 1.156 kB / 0.5263 GB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.789e-05/0.3415, allocations: 21.91 kB / 0.5264 GB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.3418, allocations: 10.56 kB / 0.5264 GB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/0.3422, allocations: 217 kB / 0.5266 GB, free: 5.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.14e-05/0.3423, allocations: 75.55 kB / 0.5267 GB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.521e-05/0.3423, allocations: 8.469 kB / 0.5267 GB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.3423, allocations: 24.73 kB / 0.5267 GB, free: 5.371 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3423, allocations: 0 / 0.5267 GB, free: 5.371 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.3688, allocations: 2.015 MB / 0.5287 GB, free: 4.551 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.73, allocations: 8.406 kB / 0.5287 GB, free: 4.547 MB / 382.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Devel_test_models.Test_HP_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HP_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HP_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HP_001.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_HP_001_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 AES_AES_Devel_test_models_Test_HP_001.fmu > AES_AES.Devel_test_models.Test_HP_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.641113683115691] Failed to read output from testmodel.py, exit status != 0: 11.845170450862497 11.872612788 11.529764255 Calling exit ...