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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008572/0.008572, allocations: 103.1 kB / 15.74 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 190.7 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09101/0.09101, allocations: 22.32 MB / 312.9 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 67.89 kB / 436.6 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.099/0.1005, allocations: 54.96 MB / 491.5 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.002843/0.1034, allocations: 1.685 MB / 493.2 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00023/0.1036, allocations: 63.73 kB / 493.3 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.81e-05/0.1037, allocations: 0 / 493.3 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.542e-05/0.1038, allocations: 7.938 kB / 493.3 MB, free: 3.488 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.1039, allocations: 27.78 kB / 493.3 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.386e-05/0.104, allocations: 11.98 kB / 493.3 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.1041, allocations: 79.7 kB / 493.4 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.1042, allocations: 28.17 kB / 493.4 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.473e-05/0.1043, allocations: 35.86 kB / 493.5 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.175e-05/0.1044, allocations: 43.83 kB / 493.5 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.1044, allocations: 8 kB / 493.5 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.325e-05/0.1045, allocations: 8 kB / 493.5 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.1045, allocations: 15.92 kB / 493.5 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.1045, allocations: 35.81 kB / 493.6 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.1047, allocations: 87.62 kB / 493.6 MB, free: 3.109 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1047, allocations: 0 / 493.6 MB, free: 3.109 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1047, allocations: 0 / 493.6 MB, free: 3.109 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1047, allocations: 0 / 493.6 MB, free: 3.109 MB / 366.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.0004352/0.1051, allocations: 371.5 kB / 494 MB, free: 2.695 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1052, allocations: 12.03 kB / 494 MB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.212e-05/0.1052, allocations: 38.73 kB / 494.1 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.1053, allocations: 12.89 kB / 494.1 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1054, allocations: 176.2 kB / 494.2 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1054, allocations: 4.562 kB / 494.2 MB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.1054, allocations: 8.375 kB / 494.3 MB, free: 2.402 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.1056, allocations: 100.5 kB / 494.4 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1056, allocations: 4 kB / 494.4 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1057, allocations: 4 kB / 494.4 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1057, allocations: 8 kB / 494.4 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.603e-05/0.1058, allocations: 47.97 kB / 494.4 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.1064, allocations: 441.8 kB / 494.8 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.1065, allocations: 62.5 kB / 494.9 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.88e-05/0.1065, allocations: 16.92 kB / 494.9 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.1066, allocations: 11.98 kB / 494.9 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.1066, allocations: 34.59 kB / 495 MB, free: 1.594 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1066, allocations: 3.938 kB / 495 MB, free: 1.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001889/0.1068, allocations: 77.58 kB / 495.1 MB, free: 1.508 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.1068, allocations: 59.34 kB / 495.1 MB, free: 1.438 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.535e-05/0.1069, allocations: 109.8 kB / 495.2 MB, free: 1.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.107, allocations: 25.7 kB / 495.2 MB, free: 1.289 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.107, allocations: 104.2 kB / 495.3 MB, free: 1.184 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.107, allocations: 31.78 kB / 495.4 MB, free: 1.152 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.1071, allocations: 21.72 kB / 495.4 MB, free: 1.125 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1072, allocations: 322.8 kB / 495.7 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.014e-05/0.1072, allocations: 12 kB / 495.7 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.166e-05/0.1073, allocations: 30.56 kB / 495.8 MB, free: 0.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.013e-05/0.1074, allocations: 58.52 kB / 495.8 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1074, allocations: 0 / 495.8 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001355/0.1075, allocations: 89.56 kB / 495.9 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1075, allocations: 4 kB / 495.9 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1075, allocations: 4 kB / 495.9 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1076, allocations: 0 / 495.9 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1077, allocations: 19.94 kB / 495.9 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1077, allocations: 0 / 495.9 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.519e-05/0.1077, allocations: 0 / 495.9 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1077, allocations: 12.05 kB / 495.9 MB, free: 0.5508 MB / 366.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 8.298e-05/0.1078, allocations: 122.5 kB / 496.1 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.1079, allocations: 7.938 kB / 496.1 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.108, allocations: 78.05 kB / 496.1 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.108, allocations: 3.938 kB / 496.1 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.108, allocations: 8.484 kB / 496.2 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1081, allocations: 192 / 496.2 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.1082, allocations: 185.6 kB / 496.3 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1083, allocations: 15.92 kB / 496.3 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.666e-05/0.1083, allocations: 15.94 kB / 496.4 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1083, allocations: 0 / 496.4 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.1083, allocations: 0 / 496.4 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1084, allocations: 3.938 kB / 496.4 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1084, allocations: 4 kB / 496.4 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.1085, allocations: 163.5 kB / 496.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.1086, allocations: 81.09 kB / 496.6 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.1086, allocations: 11.94 kB / 496.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.813e-05/0.1087, allocations: 7.938 kB / 496.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.1087, allocations: 0 / 496.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.1087, allocations: 4 kB / 496.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.692e-05/0.1087, allocations: 87.27 kB / 496.7 MB, free: 15.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1087, allocations: 0 / 496.7 MB, free: 15.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.109, allocations: 15.95 kB / 496.7 MB, free: 15.66 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.0003871/0.1094, allocations: 0.6929 MB / 497.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.1095, allocations: 40.23 kB / 497.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1095, allocations: 0 / 497.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.427e-05/0.1096, allocations: 32.12 kB / 497.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.1098, allocations: 3.938 kB / 497.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.1103, allocations: 216 kB / 497.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.1106, allocations: 0.6924 MB / 498.4 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.679e-05/0.1106, allocations: 4 kB / 498.4 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.1107, allocations: 19.44 kB / 498.4 MB, free: 13.87 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1107, allocations: 4 kB / 498.4 MB, free: 13.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.1275, allocations: 1.481 MB / 499.9 MB, free: 12.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.223/7.351, allocations: 15.78 kB / 499.9 MB, free: 12.42 MB / 382.1 MB (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)