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.001331/0.001331, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001576/0.001576, allocations: 219 kB / 22.26 MB, free: 5.125 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.988 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.1085/0.1085, allocations: 24.12 MB / 336.6 MB, free: 11.43 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld 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.003191/0.003191, allocations: 63.91 kB / 474.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3887, allocations: 59.6 MB / 0.5212 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001a): time 0.004616/0.3934, allocations: 1.878 MB / 0.523 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004704/0.3938, allocations: 98.38 kB / 0.5231 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.3939, allocations: 1.375 kB / 0.5231 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.655e-05/0.394, allocations: 13.28 kB / 0.5231 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.3943, allocations: 37.23 kB / 0.5232 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001221/0.3944, allocations: 23.14 kB / 0.5232 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.3946, allocations: 128 kB / 0.5233 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.3948, allocations: 35.72 kB / 0.5233 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.07e-05/0.3949, allocations: 43.67 kB / 0.5234 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.3951, allocations: 53.88 kB / 0.5234 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.201e-05/0.3951, allocations: 11.41 kB / 0.5235 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.488e-05/0.3952, allocations: 10.41 kB / 0.5235 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.475e-05/0.3952, allocations: 23.7 kB / 0.5235 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.553e-05/0.3953, allocations: 55.41 kB / 0.5235 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.3955, allocations: 122 kB / 0.5237 GB, free: 8.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3955, allocations: 0 / 0.5237 GB, free: 8.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3955, allocations: 3.938 kB / 0.5237 GB, free: 8.973 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.3956, allocations: 5.406 kB / 0.5237 GB, free: 8.969 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.0006087/0.3962, allocations: 331.5 kB / 0.524 GB, free: 8.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.3962, allocations: 10.92 kB / 0.524 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.935e-05/0.3963, allocations: 45.31 kB / 0.524 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.371e-05/0.3963, allocations: 15.72 kB / 0.524 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.3964, allocations: 112.9 kB / 0.5242 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.3964, allocations: 11.72 kB / 0.5242 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.479e-05/0.3965, allocations: 13.03 kB / 0.5242 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.3968, allocations: 118.5 kB / 0.5243 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.3968, allocations: 3.938 kB / 0.5243 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.3968, allocations: 9.219 kB / 0.5243 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.3968, allocations: 3.531 kB / 0.5243 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.3971, allocations: 73.28 kB / 0.5244 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009399/0.398, allocations: 0.547 MB / 0.5249 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005377/0.3985, allocations: 134.4 kB / 0.525 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.3987, allocations: 46.42 kB / 0.5251 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.3987, allocations: 1.406 kB / 0.5251 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.3987, allocations: 36.55 kB / 0.5251 GB, free: 7.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.174e-06/0.3987, allocations: 0 / 0.5251 GB, free: 7.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001795/0.4005, allocations: 315.1 kB / 0.5254 GB, free: 7.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.4005, allocations: 57.42 kB / 0.5255 GB, free: 7.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.203e-05/0.4006, allocations: 108.2 kB / 0.5256 GB, free: 7.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.4006, allocations: 27.2 kB / 0.5256 GB, free: 7.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.4007, allocations: 112 kB / 0.5257 GB, free: 7.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.4007, allocations: 43.66 kB / 0.5258 GB, free: 7.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.368e-05/0.4008, allocations: 27.3 kB / 0.5258 GB, free: 7.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.075e-05/0.4008, allocations: 319.3 kB / 0.5261 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.332e-05/0.4009, allocations: 22.69 kB / 0.5261 GB, free: 6.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.491e-05/0.401, allocations: 50.27 kB / 0.5262 GB, free: 6.887 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.4012, allocations: 71.62 kB / 0.5262 GB, free: 6.844 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4012, allocations: 0 / 0.5262 GB, free: 6.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000712/0.4019, allocations: 182.2 kB / 0.5264 GB, free: 6.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.4019, allocations: 6.594 kB / 0.5264 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4019, allocations: 0.9844 kB / 0.5264 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006351/0.4026, allocations: 91.78 kB / 0.5265 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-05/0.4027, allocations: 14.17 kB / 0.5265 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002936/0.4056, allocations: 1.803 MB / 0.5283 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.2e-05/0.4057, allocations: 14.39 kB / 0.5283 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.4057, allocations: 7.203 kB / 0.5283 GB, free: 5.137 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 0.0001025/0.4058, allocations: 115.8 kB / 0.5284 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.4058, allocations: 10.55 kB / 0.5284 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006963/0.4065, allocations: 186 kB / 0.5286 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.4065, allocations: 5.031 kB / 0.5286 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4065, allocations: 1.781 kB / 0.5286 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4066, allocations: 4.562 kB / 0.5286 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009992/0.4076, allocations: 452.4 kB / 0.529 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.4076, allocations: 1.031 kB / 0.529 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.4076, allocations: 7.875 kB / 0.529 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005286/0.4082, allocations: 95.27 kB / 0.5291 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.4082, allocations: 5.312 kB / 0.5291 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/0.4103, allocations: 1.786 MB / 0.5309 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4103, allocations: 1.719 kB / 0.5309 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004176/0.4107, allocations: 279.3 kB / 0.5311 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.4107, allocations: 11.27 kB / 0.5312 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.4107, allocations: 5.984 kB / 0.5312 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-05/0.4108, allocations: 4.062 kB / 0.5312 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.4108, allocations: 24.59 kB / 0.5312 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.4108, allocations: 6.344 kB / 0.5312 GB, free: 2.746 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.592e-05/0.4109, allocations: 80.75 kB / 0.5313 GB, free: 2.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4109, allocations: 0 / 0.5313 GB, free: 2.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003799/0.4112, allocations: 36.98 kB / 0.5313 GB, free: 2.664 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.0005424/0.4118, allocations: 0.8146 MB / 0.5321 GB, free: 1.938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000366/0.4121, allocations: 208.8 kB / 0.5323 GB, free: 1.789 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4121, allocations: 64 / 0.5323 GB, free: 1.789 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.4124, allocations: 185.6 kB / 0.5325 GB, free: 1.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.4126, allocations: 7.062 kB / 0.5325 GB, free: 1.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008542/0.4135, allocations: 335.8 kB / 0.5328 GB, free: 1.418 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.4136, allocations: 0.7034 MB / 0.5335 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.751e-05/0.4136, allocations: 7.922 kB / 0.5335 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.302e-05/0.4137, allocations: 28.67 kB / 0.5335 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4137, allocations: 0 / 0.5335 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03331/0.447, allocations: 3.028 MB / 0.5365 GB, free: 184 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.28, allocations: 8.828 kB / 0.5365 GB, free: 180 kB / 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.06392164400313] Failed to read output from testmodel.py, exit status != 0: 13.40277755200077 13.426090861 13.025745377 Calling exit ...