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.001468/0.001468, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2081/0.2081, allocations: 22.36 MB / 312.7 MB, free: 12.55 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001367, allocations: 68.12 kB / 380.9 MB, free: 10.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2778, allocations: 54.95 MB / 435.9 MB, free: 39.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.003056/0.2809, allocations: 1.687 MB / 437.6 MB, free: 38.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002305/0.2811, allocations: 61.7 kB / 437.6 MB, free: 38.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.082e-05/0.2812, allocations: 2.469 kB / 437.6 MB, free: 38.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.668e-05/0.2813, allocations: 3.938 kB / 437.6 MB, free: 38.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.2814, allocations: 21.94 kB / 437.7 MB, free: 38.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.525e-05/0.2815, allocations: 21.66 kB / 437.7 MB, free: 38.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.2816, allocations: 79.47 kB / 437.8 MB, free: 38.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.2818, allocations: 39.7 kB / 437.8 MB, free: 38.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.02e-05/0.2819, allocations: 31.36 kB / 437.8 MB, free: 38.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.979e-05/0.2819, allocations: 32.23 kB / 437.9 MB, free: 38.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.282, allocations: 9.406 kB / 437.9 MB, free: 38.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.049e-05/0.282, allocations: 9.188 kB / 437.9 MB, free: 38.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.282, allocations: 18 kB / 437.9 MB, free: 38.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.2821, allocations: 35.94 kB / 437.9 MB, free: 38.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.2822, allocations: 79.09 kB / 438 MB, free: 38.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2822, allocations: 0 / 438 MB, free: 38.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2822, allocations: 0 / 438 MB, free: 38.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.2822, allocations: 7.875 kB / 438 MB, free: 38.31 MB / 350.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.0004329/0.2827, allocations: 376.2 kB / 438.4 MB, free: 37.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.2827, allocations: 9.906 kB / 438.4 MB, free: 37.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.2828, allocations: 48.59 kB / 438.4 MB, free: 37.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.2828, allocations: 10 kB / 438.4 MB, free: 37.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.2829, allocations: 171.1 kB / 438.6 MB, free: 37.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.2829, allocations: 7.094 kB / 438.6 MB, free: 37.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.283, allocations: 13.47 kB / 438.6 MB, free: 37.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.2831, allocations: 93.38 kB / 438.7 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2832, allocations: 0 / 438.7 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.2832, allocations: 0 / 438.7 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2832, allocations: 3.688 kB / 438.7 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.973e-05/0.2833, allocations: 49.8 kB / 438.8 MB, free: 37.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005714/0.2839, allocations: 454 kB / 439.2 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.492e-05/0.284, allocations: 51.39 kB / 439.3 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.445e-05/0.284, allocations: 26.53 kB / 439.3 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.284, allocations: 7.938 kB / 439.3 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.2841, allocations: 33.19 kB / 439.3 MB, free: 37.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.2841, allocations: 0 / 439.3 MB, free: 37.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002064/0.2843, allocations: 76.19 kB / 439.4 MB, free: 37.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.2843, allocations: 55.34 kB / 439.5 MB, free: 36.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.707e-05/0.2844, allocations: 106.3 kB / 439.6 MB, free: 36.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.2844, allocations: 25.7 kB / 439.6 MB, free: 36.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.2845, allocations: 113.1 kB / 439.7 MB, free: 36.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.2845, allocations: 19.17 kB / 439.7 MB, free: 36.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.2845, allocations: 22.38 kB / 439.7 MB, free: 36.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.813e-05/0.2846, allocations: 314.1 kB / 440.1 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.904e-05/0.2846, allocations: 16.56 kB / 440.1 MB, free: 36.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.782e-05/0.2847, allocations: 36.62 kB / 440.1 MB, free: 36.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.975e-05/0.2848, allocations: 57.86 kB / 440.2 MB, free: 36.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2848, allocations: 3.938 kB / 440.2 MB, free: 36.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001136/0.2849, allocations: 82.88 kB / 440.2 MB, free: 36.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2849, allocations: 5.031 kB / 440.2 MB, free: 36.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2849, allocations: 2.531 kB / 440.3 MB, free: 36.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.2849, allocations: 3.328 kB / 440.3 MB, free: 36.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.2851, allocations: 20.25 kB / 440.3 MB, free: 36.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2851, allocations: 4.625 kB / 440.3 MB, free: 36.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.79e-05/0.2851, allocations: 10.94 kB / 440.3 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.2851, allocations: 10.05 kB / 440.3 MB, free: 36.2 MB / 350.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 7.207e-05/0.2852, allocations: 117.4 kB / 440.4 MB, free: 36.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.2852, allocations: 6.719 kB / 440.4 MB, free: 36.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.2854, allocations: 78.09 kB / 440.5 MB, free: 36.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2854, allocations: 10.72 kB / 440.5 MB, free: 36.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2854, allocations: 0 / 440.5 MB, free: 36.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2854, allocations: 0 / 440.5 MB, free: 36.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.2856, allocations: 191.8 kB / 440.7 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2856, allocations: 3.375 kB / 440.7 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.2857, allocations: 11.06 kB / 440.7 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2857, allocations: 2.688 kB / 440.7 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.2857, allocations: 4 kB / 440.7 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2857, allocations: 3.938 kB / 440.7 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2857, allocations: 0 / 440.7 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.2858, allocations: 169.3 kB / 440.9 MB, free: 35.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/0.2858, allocations: 85.09 kB / 441 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.2859, allocations: 3.969 kB / 441 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.836e-05/0.2859, allocations: 3.938 kB / 441 MB, free: 35.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.286, allocations: 7.281 kB / 441 MB, free: 35.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.286, allocations: 3.688 kB / 441 MB, free: 35.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.218e-05/0.286, allocations: 77.91 kB / 441.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.286, allocations: 0 / 441.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.2862, allocations: 21.22 kB / 441.1 MB, free: 35.46 MB / 350.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.0003124/0.2866, allocations: 0.6951 MB / 441.8 MB, free: 34.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.2867, allocations: 56.05 kB / 441.8 MB, free: 34.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2867, allocations: 0 / 441.8 MB, free: 34.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.548e-05/0.2867, allocations: 15.41 kB / 441.8 MB, free: 34.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.287, allocations: 20.64 kB / 441.9 MB, free: 34.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.2876, allocations: 210.8 kB / 442.1 MB, free: 34.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.2877, allocations: 0.6917 MB / 442.8 MB, free: 33.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.142e-05/0.2878, allocations: 9.953 kB / 442.8 MB, free: 33.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.2878, allocations: 18.31 kB / 442.8 MB, free: 33.84 MB / 350.1 MB Notification: Performance of SimCode: time 1.312e-06/0.2878, allocations: 0 / 442.8 MB, free: 33.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.3059, allocations: 1.45 MB / 444.2 MB, free: 33.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.265/7.571, allocations: 17.55 kB / 444.3 MB, free: 33.45 MB / 350.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)