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: 103.6 kB / 18.95 MB, free: 2.652 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.001418/0.001418, allocations: 217.6 kB / 22.25 MB, free: 5.266 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.77 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.12 MB / 336.6 MB, free: 11.2 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.001974/0.001974, allocations: 71.89 kB / 474 MB, free: 5.422 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3343, allocations: 59.6 MB / 0.5211 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001a): time 0.002891/0.3372, allocations: 1.822 MB / 0.5229 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002954/0.3375, allocations: 97.06 kB / 0.523 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.938e-05/0.3376, allocations: 2.219 kB / 0.523 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.929e-05/0.3376, allocations: 14.17 kB / 0.523 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.3378, allocations: 36.47 kB / 0.523 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.42e-05/0.3379, allocations: 26.61 kB / 0.523 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.338, allocations: 120.5 kB / 0.5232 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.3382, allocations: 30.95 kB / 0.5232 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.131e-05/0.3382, allocations: 48.05 kB / 0.5232 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.3383, allocations: 58.48 kB / 0.5233 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.3384, allocations: 10.5 kB / 0.5233 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.305e-05/0.3384, allocations: 10.75 kB / 0.5233 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.653e-05/0.3384, allocations: 24.11 kB / 0.5233 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/0.3385, allocations: 47.02 kB / 0.5234 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.3387, allocations: 123.3 kB / 0.5235 GB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3387, allocations: 0 / 0.5235 GB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3387, allocations: 4 kB / 0.5235 GB, free: 8.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3387, allocations: 0.5625 kB / 0.5235 GB, free: 8.977 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.0004298/0.3391, allocations: 328.7 kB / 0.5238 GB, free: 8.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3391, allocations: 11.23 kB / 0.5238 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.353e-05/0.3392, allocations: 46.58 kB / 0.5239 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.3392, allocations: 13.97 kB / 0.5239 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.924e-05/0.3393, allocations: 121.6 kB / 0.524 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.3393, allocations: 9.781 kB / 0.524 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.3394, allocations: 11.91 kB / 0.524 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.3396, allocations: 117.1 kB / 0.5241 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3396, allocations: 7.875 kB / 0.5241 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.3396, allocations: 2.094 kB / 0.5241 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3396, allocations: 3.562 kB / 0.5241 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.3397, allocations: 79.19 kB / 0.5242 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005806/0.3403, allocations: 379.9 kB / 0.5246 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.3407, allocations: 133.1 kB / 0.5247 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.299e-05/0.3407, allocations: 42.7 kB / 0.5248 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.3408, allocations: 9.219 kB / 0.5248 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.3408, allocations: 41.77 kB / 0.5248 GB, free: 7.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.3408, allocations: 0 / 0.5248 GB, free: 7.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001082/0.3419, allocations: 303 kB / 0.5251 GB, free: 7.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.3419, allocations: 53.44 kB / 0.5251 GB, free: 7.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.344e-05/0.342, allocations: 104.6 kB / 0.5252 GB, free: 7.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.342, allocations: 27.05 kB / 0.5253 GB, free: 7.621 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.342, allocations: 115.4 kB / 0.5254 GB, free: 7.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.342, allocations: 48.44 kB / 0.5254 GB, free: 7.473 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.3421, allocations: 23.02 kB / 0.5254 GB, free: 7.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.741e-05/0.3421, allocations: 319.9 kB / 0.5258 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.563e-05/0.3422, allocations: 30.64 kB / 0.5258 GB, free: 7.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.068e-05/0.3422, allocations: 43.33 kB / 0.5258 GB, free: 7.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.683e-05/0.3423, allocations: 71.69 kB / 0.5259 GB, free: 7.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3423, allocations: 0 / 0.5259 GB, free: 7.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003812/0.3427, allocations: 178.6 kB / 0.5261 GB, free: 6.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3427, allocations: 10.08 kB / 0.5261 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3427, allocations: 1.031 kB / 0.5261 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003801/0.3431, allocations: 83.42 kB / 0.5262 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.538e-05/0.3432, allocations: 15.58 kB / 0.5262 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.345, allocations: 1.798 MB / 0.5279 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.345, allocations: 14.55 kB / 0.5279 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.345, allocations: 3.172 kB / 0.5279 GB, free: 5.355 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 6.457e-05/0.3451, allocations: 123.5 kB / 0.5281 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.3451, allocations: 7.234 kB / 0.5281 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004109/0.3455, allocations: 197.3 kB / 0.5283 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3455, allocations: 1.938 kB / 0.5283 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.3455, allocations: 0 / 0.5283 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3455, allocations: 2.203 kB / 0.5283 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005827/0.3461, allocations: 447.6 kB / 0.5287 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3461, allocations: 1.812 kB / 0.5287 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.718e-05/0.3462, allocations: 13.97 kB / 0.5287 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003164/0.3465, allocations: 91.72 kB / 0.5288 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3465, allocations: 1.094 kB / 0.5288 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.3481, allocations: 1.773 MB / 0.5305 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3481, allocations: 1 kB / 0.5305 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.3485, allocations: 284 kB / 0.5308 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.3485, allocations: 11.11 kB / 0.5308 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-06/0.3485, allocations: 1.156 kB / 0.5308 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.163e-05/0.3486, allocations: 5.75 kB / 0.5308 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.3486, allocations: 13.66 kB / 0.5308 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.3486, allocations: 2.938 kB / 0.5308 GB, free: 2.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.257e-05/0.3487, allocations: 85.22 kB / 0.5309 GB, free: 2.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3487, allocations: 0 / 0.5309 GB, free: 2.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000366/0.349, allocations: 37.7 kB / 0.5309 GB, free: 2.895 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.0005859/0.3496, allocations: 0.8096 MB / 0.5317 GB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003815/0.35, allocations: 214.9 kB / 0.5319 GB, free: 2.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.35, allocations: 4.062 kB / 0.5319 GB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.3502, allocations: 182.7 kB / 0.5321 GB, free: 1.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.3505, allocations: 13.97 kB / 0.5321 GB, free: 1.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007969/0.3513, allocations: 331.1 kB / 0.5324 GB, free: 1.648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.906e-05/0.3514, allocations: 97.61 kB / 0.5325 GB, free: 1.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.528e-05/0.3514, allocations: 3.688 kB / 0.5325 GB, free: 1.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.3514, allocations: 32.58 kB / 0.5326 GB, free: 1.539 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3514, allocations: 0 / 0.5326 GB, free: 1.539 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.3823, allocations: 3.254 MB / 0.5357 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.79, allocations: 1.625 kB / 0.5357 GB, free: 0.5977 MB / 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: 15.578158896008972] Failed to read output from testmodel.py, exit status != 0: 12.902731563022826 12.930471456 12.586603521 Calling exit ...