Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.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.001858/0.001858, allocations: 103.8 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.002413/0.002413, 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.579/1.579, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.1416/0.1416, allocations: 24.11 MB / 333 MB, free: 12.64 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_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",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.002386/0.002386, allocations: 72.67 kB / 467.9 MB, free: 9.062 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4382, allocations: 59.56 MB / 0.5151 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.00199/0.4402, allocations: 0.7183 MB / 0.5158 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001576/0.4403, allocations: 18.77 kB / 0.5158 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.379e-05/0.4404, allocations: 0 / 0.5158 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.4404, allocations: 5.594 kB / 0.5158 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.605e-05/0.4405, allocations: 2.562 kB / 0.5158 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.367e-05/0.4406, allocations: 7.141 kB / 0.5158 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.922e-05/0.4406, allocations: 23.05 kB / 0.5158 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.4407, allocations: 11.47 kB / 0.5158 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.371e-05/0.4408, allocations: 5.406 kB / 0.5158 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.531e-05/0.4408, allocations: 18.53 kB / 0.5159 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.4408, allocations: 2.188 kB / 0.5159 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-06/0.4409, allocations: 1.219 kB / 0.5159 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.4409, allocations: 6.672 kB / 0.5159 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.4409, allocations: 7.859 kB / 0.5159 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.435e-05/0.441, allocations: 17.77 kB / 0.5159 GB, free: 9.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.441, allocations: 1.062 kB / 0.5159 GB, free: 9.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.441, allocations: 0 / 0.5159 GB, free: 9.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.441, allocations: 0 / 0.5159 GB, free: 9.215 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003515/0.4413, allocations: 336.2 kB / 0.5162 GB, free: 8.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.4414, allocations: 11.7 kB / 0.5162 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/0.4414, allocations: 30.75 kB / 0.5162 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.423e-05/0.4414, allocations: 3.031 kB / 0.5163 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.4415, allocations: 173.2 kB / 0.5164 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.4416, allocations: 1.688 kB / 0.5164 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.186e-06/0.4416, allocations: 1.625 kB / 0.5164 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.947e-05/0.4417, allocations: 40.88 kB / 0.5165 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.4417, allocations: 7.938 kB / 0.5165 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.4417, allocations: 1.375 kB / 0.5165 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4417, allocations: 1.078 kB / 0.5165 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.733e-05/0.4417, allocations: 18.41 kB / 0.5165 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.442, allocations: 254.8 kB / 0.5167 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.4421, allocations: 40.17 kB / 0.5168 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/0.4422, allocations: 19.27 kB / 0.5168 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.4422, allocations: 0.5625 kB / 0.5168 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.4422, allocations: 32.2 kB / 0.5168 GB, free: 8.195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4422, allocations: 0 / 0.5168 GB, free: 8.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001742/0.4424, allocations: 56.81 kB / 0.5169 GB, free: 8.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.4424, allocations: 53.22 kB / 0.5169 GB, free: 8.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.019e-05/0.4425, allocations: 100.7 kB / 0.517 GB, free: 7.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.4425, allocations: 27.08 kB / 0.517 GB, free: 7.961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.4425, allocations: 88.84 kB / 0.5171 GB, free: 7.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.4425, allocations: 5.922 kB / 0.5171 GB, free: 7.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.4426, allocations: 18.81 kB / 0.5172 GB, free: 7.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.756e-05/0.4426, allocations: 316.4 kB / 0.5175 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.4426, allocations: 3.719 kB / 0.5175 GB, free: 7.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.641e-05/0.4426, allocations: 9 kB / 0.5175 GB, free: 7.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/0.4427, allocations: 22.23 kB / 0.5175 GB, free: 7.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4427, allocations: 3.938 kB / 0.5175 GB, free: 7.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.4e-05/0.4428, allocations: 54.45 kB / 0.5175 GB, free: 7.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4428, allocations: 5.484 kB / 0.5175 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4428, allocations: 3.938 kB / 0.5176 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.095e-05/0.4428, allocations: 1.156 kB / 0.5176 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/0.4429, allocations: 5.531 kB / 0.5176 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4429, allocations: 0.7812 kB / 0.5176 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.372e-05/0.4429, allocations: 1 kB / 0.5176 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.4429, allocations: 2.125 kB / 0.5176 GB, free: 7.461 MB / 382.1 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 (3): * Single equations (assignments): 3 * 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.683e-05/0.443, allocations: 120.5 kB / 0.5177 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.443, allocations: 5.219 kB / 0.5177 GB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.4431, allocations: 81.77 kB / 0.5178 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.4431, allocations: 1.594 kB / 0.5178 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4431, allocations: 0 / 0.5178 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.4432, allocations: 0.6562 kB / 0.5178 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.4433, allocations: 163.8 kB / 0.5179 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4433, allocations: 0.5625 kB / 0.5179 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.4433, allocations: 11.91 kB / 0.5179 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4433, allocations: 0.7812 kB / 0.5179 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.4433, allocations: 6.328 kB / 0.5179 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4433, allocations: 0 / 0.5179 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4433, allocations: 5.172 kB / 0.5179 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.087e-05/0.4434, allocations: 157.2 kB / 0.5181 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.4435, allocations: 80.75 kB / 0.5182 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.4435, allocations: 4 kB / 0.5182 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.599e-05/0.4435, allocations: 5.938 kB / 0.5182 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.4435, allocations: 2.688 kB / 0.5182 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.4435, allocations: 2.094 kB / 0.5182 GB, free: 6.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.714e-05/0.4436, allocations: 83.88 kB / 0.5183 GB, free: 6.742 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4436, allocations: 0 / 0.5183 GB, free: 6.742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.4438, allocations: 8.25 kB / 0.5183 GB, free: 6.738 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 (5): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000277/0.4441, allocations: 0.6859 MB / 0.5189 GB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.837e-05/0.4442, allocations: 18.86 kB / 0.519 GB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.4442, allocations: 0.9688 kB / 0.519 GB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.629e-05/0.4442, allocations: 13.48 kB / 0.519 GB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.4445, allocations: 9.547 kB / 0.519 GB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007616/0.4452, allocations: 1.192 MB / 0.5201 GB, free: 4.863 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.4454, allocations: 0.6788 MB / 0.5208 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.612e-05/0.4454, allocations: 7.781 kB / 0.5208 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.4454, allocations: 15.55 kB / 0.5208 GB, free: 4.152 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4454, allocations: 1.406 kB / 0.5208 GB, free: 4.152 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.4683, allocations: 1.289 MB / 0.5221 GB, free: 3.777 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.532, allocations: 1.375 kB / 0.5221 GB, free: 3.777 MB / 382.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_SR01_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 AES_AES_Devel_test_models_Test_SR01.fmu > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.567549471044913] Failed to read output from testmodel.py, exit status != 0: 8.604051053058356 8.629023637 8.183407861 Calling exit ...