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.001647/0.001647, allocations: 104.4 kB / 16.45 MB, free: 6.449 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.00194/0.00194, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.468/1.468, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.1066/0.1066, allocations: 24.11 MB / 333 MB, free: 12.63 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.002095/0.002095, allocations: 71.91 kB / 467.9 MB, free: 9.059 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3376, allocations: 59.57 MB / 0.5151 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.002749/0.3403, allocations: 1.716 MB / 0.5168 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001989/0.3405, allocations: 65.3 kB / 0.5168 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-05/0.3406, allocations: 1.438 kB / 0.5168 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.614e-05/0.3406, allocations: 13.3 kB / 0.5168 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.3407, allocations: 21.19 kB / 0.5168 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.513e-05/0.3408, allocations: 15.44 kB / 0.5169 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.807e-05/0.3409, allocations: 80.64 kB / 0.5169 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.341, allocations: 29.52 kB / 0.517 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.666e-05/0.3411, allocations: 32.3 kB / 0.517 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.23e-05/0.3411, allocations: 32.86 kB / 0.517 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.3412, allocations: 7.25 kB / 0.517 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.847e-05/0.3412, allocations: 10.72 kB / 0.517 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.3412, allocations: 16.7 kB / 0.5171 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.3413, allocations: 39.23 kB / 0.5171 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.3414, allocations: 86.98 kB / 0.5172 GB, free: 8.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3414, allocations: 1.312 kB / 0.5172 GB, free: 8.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3414, allocations: 4 kB / 0.5172 GB, free: 8.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3414, allocations: 0 / 0.5172 GB, free: 8.305 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.0003698/0.3418, allocations: 374.4 kB / 0.5175 GB, free: 7.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3418, allocations: 10.69 kB / 0.5176 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.205e-05/0.3419, allocations: 44.52 kB / 0.5176 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.3419, allocations: 10.14 kB / 0.5176 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.178e-05/0.342, allocations: 168 kB / 0.5178 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.342, allocations: 8.156 kB / 0.5178 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.342, allocations: 10.28 kB / 0.5178 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.3422, allocations: 96.38 kB / 0.5179 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3422, allocations: 0 / 0.5179 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.3422, allocations: 5.219 kB / 0.5179 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3422, allocations: 6.641 kB / 0.5179 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.593e-05/0.3423, allocations: 50.3 kB / 0.5179 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.3428, allocations: 452.8 kB / 0.5184 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.582e-05/0.3429, allocations: 55.27 kB / 0.5184 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.3429, allocations: 20.44 kB / 0.5184 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.3429, allocations: 3.938 kB / 0.5184 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.25e-05/0.3429, allocations: 32.44 kB / 0.5185 GB, free: 7.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.3429, allocations: 0 / 0.5185 GB, free: 7.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001741/0.3431, allocations: 73.55 kB / 0.5185 GB, free: 7.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/0.3431, allocations: 55.34 kB / 0.5186 GB, free: 6.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.511e-05/0.3432, allocations: 109.7 kB / 0.5187 GB, free: 6.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.3432, allocations: 31.73 kB / 0.5187 GB, free: 6.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.3432, allocations: 107.4 kB / 0.5188 GB, free: 6.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.3432, allocations: 24.62 kB / 0.5189 GB, free: 6.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.3433, allocations: 20.81 kB / 0.5189 GB, free: 6.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.941e-05/0.3433, allocations: 317.5 kB / 0.5192 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.271e-05/0.3433, allocations: 18.78 kB / 0.5192 GB, free: 6.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.714e-05/0.3434, allocations: 35.75 kB / 0.5192 GB, free: 6.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.762e-05/0.3434, allocations: 56.41 kB / 0.5193 GB, free: 6.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3434, allocations: 4.125 kB / 0.5193 GB, free: 6.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001112/0.3435, allocations: 90.22 kB / 0.5194 GB, free: 6.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.3436, allocations: 9.688 kB / 0.5194 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3436, allocations: 0 / 0.5194 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3436, allocations: 1.5 kB / 0.5194 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.3437, allocations: 25.97 kB / 0.5194 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3437, allocations: 0.75 kB / 0.5194 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.524e-05/0.3437, allocations: 1.75 kB / 0.5194 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.3437, allocations: 2.781 kB / 0.5194 GB, free: 6.199 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.935e-05/0.3438, allocations: 115.9 kB / 0.5195 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.3438, allocations: 6.438 kB / 0.5195 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.3439, allocations: 79.11 kB / 0.5196 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3439, allocations: 8.938 kB / 0.5196 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.344, allocations: 0.9062 kB / 0.5196 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.344, allocations: 0.6094 kB / 0.5196 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.3441, allocations: 191.1 kB / 0.5198 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3441, allocations: 0 / 0.5198 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.961e-05/0.3442, allocations: 13.55 kB / 0.5198 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3442, allocations: 0.9375 kB / 0.5198 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.3442, allocations: 1.062 kB / 0.5198 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.3442, allocations: 4.781 kB / 0.5198 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3442, allocations: 1.25 kB / 0.5198 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.3443, allocations: 172.6 kB / 0.52 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.3443, allocations: 78.83 kB / 0.5201 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.3443, allocations: 5.812 kB / 0.5201 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.914e-05/0.3444, allocations: 5.281 kB / 0.5201 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.3444, allocations: 4.156 kB / 0.5201 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.3444, allocations: 1.094 kB / 0.5201 GB, free: 5.551 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.063e-05/0.3445, allocations: 90.72 kB / 0.5202 GB, free: 5.469 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3445, allocations: 0 / 0.5202 GB, free: 5.469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.3447, allocations: 21.67 kB / 0.5202 GB, free: 5.461 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.0002967/0.345, allocations: 0.6969 MB / 0.5209 GB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.3451, allocations: 36.83 kB / 0.5209 GB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3451, allocations: 0 / 0.5209 GB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.337e-05/0.3452, allocations: 25.8 kB / 0.5209 GB, free: 4.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.3455, allocations: 14.59 kB / 0.5209 GB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.346, allocations: 218.6 kB / 0.5211 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.3461, allocations: 0.6904 MB / 0.5218 GB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.492e-05/0.3461, allocations: 8.281 kB / 0.5218 GB, free: 3.855 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.3462, allocations: 20.84 kB / 0.5219 GB, free: 3.84 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3462, allocations: 5.031 kB / 0.5219 GB, free: 3.836 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.3676, allocations: 1.498 MB / 0.5233 GB, free: 3.441 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.43, allocations: 4.906 kB / 0.5233 GB, free: 3.441 MB / 382.1 MB " [Timeout remaining time 652] (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: 11.225137817906216] Failed to read output from testmodel.py, exit status != 0: 8.499417019076645 8.512365187 8.168118814 Calling exit ...