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.001377/0.001377, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001513/0.001513, allocations: 216.4 kB / 22.25 MB, free: 5.113 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.443/1.443, allocations: 230.6 MB / 256 MB, free: 8.016 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.1202/0.1202, allocations: 24.12 MB / 336.6 MB, free: 11.46 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.002125/0.002125, allocations: 63.91 kB / 473.3 MB, free: 6.402 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3318, allocations: 59.6 MB / 0.5204 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.002624/0.3344, allocations: 1.726 MB / 0.5221 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000205/0.3347, allocations: 74.09 kB / 0.5222 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.3347, allocations: 2.375 kB / 0.5222 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.423e-05/0.3348, allocations: 7.938 kB / 0.5222 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.3349, allocations: 21.64 kB / 0.5222 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.287e-05/0.3349, allocations: 15.42 kB / 0.5222 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.3351, allocations: 76.06 kB / 0.5223 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.3352, allocations: 25.58 kB / 0.5223 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.694e-05/0.3352, allocations: 40.56 kB / 0.5224 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.094e-05/0.3353, allocations: 36.95 kB / 0.5224 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.3353, allocations: 7.188 kB / 0.5224 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.665e-05/0.3353, allocations: 7.062 kB / 0.5224 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.3354, allocations: 16.27 kB / 0.5224 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.3354, allocations: 40.19 kB / 0.5225 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.3355, allocations: 82.59 kB / 0.5225 GB, free: 8.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.3355, allocations: 0 / 0.5225 GB, free: 8.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3355, allocations: 0 / 0.5225 GB, free: 8.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3355, allocations: 1.094 kB / 0.5225 GB, free: 8.699 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.0003731/0.3359, allocations: 305.4 kB / 0.5228 GB, free: 8.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.336, allocations: 11.17 kB / 0.5228 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.413e-05/0.336, allocations: 39.61 kB / 0.5229 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.336, allocations: 9.469 kB / 0.5229 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.858e-05/0.3361, allocations: 115.5 kB / 0.523 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.3361, allocations: 8.594 kB / 0.523 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.3361, allocations: 10.28 kB / 0.523 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.3363, allocations: 88.7 kB / 0.5231 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3363, allocations: 0 / 0.5231 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3363, allocations: 5.297 kB / 0.5231 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.3363, allocations: 7.062 kB / 0.5231 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.791e-05/0.3364, allocations: 49.58 kB / 0.5232 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.3369, allocations: 420.2 kB / 0.5236 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.581e-05/0.337, allocations: 56.62 kB / 0.5236 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.632e-05/0.337, allocations: 18.78 kB / 0.5236 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.3371, allocations: 8.969 kB / 0.5236 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.3371, allocations: 32.3 kB / 0.5237 GB, free: 7.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.3371, allocations: 0 / 0.5237 GB, free: 7.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.000176/0.3373, allocations: 72.19 kB / 0.5237 GB, free: 7.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.3373, allocations: 56.78 kB / 0.5238 GB, free: 7.535 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.182e-05/0.3373, allocations: 113.9 kB / 0.5239 GB, free: 7.426 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.3374, allocations: 29.64 kB / 0.5239 GB, free: 7.391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.3374, allocations: 111.7 kB / 0.524 GB, free: 7.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.3374, allocations: 21.48 kB / 0.5241 GB, free: 7.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.3374, allocations: 25.19 kB / 0.5241 GB, free: 7.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.275e-05/0.3375, allocations: 317.8 kB / 0.5244 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.913e-05/0.3375, allocations: 13.84 kB / 0.5244 GB, free: 6.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.514e-05/0.3375, allocations: 35.45 kB / 0.5244 GB, free: 6.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.533e-05/0.3376, allocations: 56.91 kB / 0.5245 GB, free: 6.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3376, allocations: 0 / 0.5245 GB, free: 6.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001086/0.3377, allocations: 84.8 kB / 0.5246 GB, free: 6.797 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3377, allocations: 6.094 kB / 0.5246 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3377, allocations: 1.891 kB / 0.5246 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3378, allocations: 1.25 kB / 0.5246 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.3379, allocations: 20.3 kB / 0.5246 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3379, allocations: 5.047 kB / 0.5246 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.771e-05/0.3379, allocations: 6.375 kB / 0.5246 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.3379, allocations: 6.969 kB / 0.5246 GB, free: 6.781 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 4.809e-05/0.338, allocations: 118.6 kB / 0.5247 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.338, allocations: 5.984 kB / 0.5247 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.3381, allocations: 79.47 kB / 0.5248 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3381, allocations: 5.594 kB / 0.5248 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3381, allocations: 1.156 kB / 0.5248 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3381, allocations: 0.7031 kB / 0.5248 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.3383, allocations: 161.6 kB / 0.525 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3383, allocations: 0 / 0.525 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.677e-05/0.3383, allocations: 17.62 kB / 0.525 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3383, allocations: 1.875 kB / 0.525 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.3384, allocations: 0 / 0.525 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3384, allocations: 5.031 kB / 0.525 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3384, allocations: 0.75 kB / 0.525 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.3385, allocations: 169.8 kB / 0.5252 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-06/0.3385, allocations: 2.516 kB / 0.5252 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.3385, allocations: 4.609 kB / 0.5252 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.915e-05/0.3385, allocations: 5.688 kB / 0.5252 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.3386, allocations: 3.688 kB / 0.5252 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.3386, allocations: 1.125 kB / 0.5252 GB, free: 6.258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.716e-05/0.3386, allocations: 94.81 kB / 0.5253 GB, free: 6.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3386, allocations: 0 / 0.5253 GB, free: 6.172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.3388, allocations: 21.3 kB / 0.5253 GB, free: 6.164 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.0002438/0.3391, allocations: 0.696 MB / 0.526 GB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.3392, allocations: 48.45 kB / 0.526 GB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3392, allocations: 0 / 0.526 GB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.724e-05/0.3392, allocations: 17.38 kB / 0.526 GB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.3395, allocations: 11.39 kB / 0.526 GB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004852/0.34, allocations: 220.4 kB / 0.5262 GB, free: 5.254 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.3401, allocations: 0.6918 MB / 0.5269 GB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.293e-05/0.3401, allocations: 4.25 kB / 0.5269 GB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.3402, allocations: 24.53 kB / 0.5269 GB, free: 4.539 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3402, allocations: 4 kB / 0.527 GB, free: 4.535 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.3655, allocations: 1.652 MB / 0.5286 GB, free: 4.133 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.3, allocations: 9.484 kB / 0.5286 GB, free: 4.129 MB / 382.1 MB " [Timeout remaining time 649] (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.152971771996818] Failed to read output from testmodel.py, exit status != 0: 11.404660877000424 11.434057021 11.093034472 Calling exit ...