Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SOPDT_overdamped.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_SOPDT_overdamped,fileNamePrefix="AES_AES_Devel_test_models_Test_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SOPDT_overdamped,fileNamePrefix="AES_AES_Devel_test_models_Test_SOPDT_overdamped",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.00168/0.00168, 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.002017/0.002017, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1994/0.1994, allocations: 22.35 MB / 312.7 MB, free: 12.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001405, allocations: 71.83 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2772, allocations: 54.93 MB / 433.8 MB, free: 38.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.002447/0.2797, allocations: 1.717 MB / 435.5 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007507/0.2804, allocations: 0.5888 MB / 436.1 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.177e-05/0.2805, allocations: 0 / 436.1 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.2808, allocations: 53.25 kB / 436.1 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.281, allocations: 52.62 kB / 436.2 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.2812, allocations: 95.42 kB / 436.3 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.2814, allocations: 281.5 kB / 436.5 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.2815, allocations: 44.44 kB / 436.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.2816, allocations: 113.7 kB / 436.7 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.2818, allocations: 132.4 kB / 436.8 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.99e-05/0.2819, allocations: 21.56 kB / 436.8 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.194e-05/0.2819, allocations: 21.12 kB / 436.9 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.035e-05/0.282, allocations: 80.59 kB / 436.9 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.521e-05/0.2821, allocations: 85.42 kB / 437 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.2822, allocations: 216.5 kB / 437.2 MB, free: 36.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2823, allocations: 0 / 437.2 MB, free: 36.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2823, allocations: 0 / 437.2 MB, free: 36.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.2823, allocations: 0 / 437.2 MB, free: 36.3 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001163/0.2834, allocations: 0.5841 MB / 437.8 MB, free: 35.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2835, allocations: 11.03 kB / 437.8 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.428e-05/0.2835, allocations: 44.77 kB / 437.9 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.2836, allocations: 20.88 kB / 437.9 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005534/0.2841, allocations: 329.7 kB / 438.2 MB, free: 35.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.2842, allocations: 11 kB / 438.2 MB, free: 35.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.2842, allocations: 19.78 kB / 438.3 MB, free: 35.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.2844, allocations: 133.7 kB / 438.4 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2844, allocations: 3.156 kB / 438.4 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.2844, allocations: 4 kB / 438.4 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2845, allocations: 3.375 kB / 438.4 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002167/0.2847, allocations: 133.6 kB / 438.5 MB, free: 35.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007409/0.2854, allocations: 0.5727 MB / 439.1 MB, free: 35.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.2856, allocations: 147.4 kB / 439.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.2858, allocations: 76.69 kB / 439.3 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.2858, allocations: 3.938 kB / 439.3 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.064e-05/0.2858, allocations: 33.12 kB / 439.4 MB, free: 34.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.2858, allocations: 0 / 439.4 MB, free: 34.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004129/0.2862, allocations: 259.8 kB / 439.6 MB, free: 34.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/0.2863, allocations: 54.19 kB / 439.7 MB, free: 34.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005098/0.2868, allocations: 287.9 kB / 439.9 MB, free: 34.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.2868, allocations: 28.89 kB / 440 MB, free: 34.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.2868, allocations: 126.8 kB / 440.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.2869, allocations: 56.05 kB / 440.1 MB, free: 34.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.2869, allocations: 31.61 kB / 440.2 MB, free: 34.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.88e-05/0.287, allocations: 334.8 kB / 440.5 MB, free: 34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.2871, allocations: 77.81 kB / 440.6 MB, free: 33.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.2872, allocations: 78.72 kB / 440.7 MB, free: 33.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.2874, allocations: 162.8 kB / 440.8 MB, free: 33.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2874, allocations: 0 / 440.8 MB, free: 33.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002772/0.2877, allocations: 220.7 kB / 441 MB, free: 33.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.2877, allocations: 9.344 kB / 441 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.2878, allocations: 0 / 441 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.2878, allocations: 6.469 kB / 441 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/0.2881, allocations: 51.34 kB / 441.1 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2881, allocations: 2.938 kB / 441.1 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.2884, allocations: 27.23 kB / 441.1 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.2884, allocations: 6.969 kB / 441.1 MB, free: 33.75 MB / 350.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 (16): * Single equations (assignments): 16 * 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.729e-05/0.2885, allocations: 152.1 kB / 441.3 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.2885, allocations: 23.83 kB / 441.3 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.898e-05/0.2886, allocations: 30.52 kB / 441.3 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2886, allocations: 2.938 kB / 441.3 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2886, allocations: 0 / 441.3 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2886, allocations: 4 kB / 441.3 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.2888, allocations: 304.9 kB / 441.6 MB, free: 33.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2889, allocations: 0 / 441.6 MB, free: 33.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.289, allocations: 31.3 kB / 441.7 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.289, allocations: 2.844 kB / 441.7 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.2891, allocations: 4 kB / 441.7 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2891, allocations: 2.906 kB / 441.7 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2891, allocations: 0 / 441.7 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.2895, allocations: 376.9 kB / 442 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.2895, allocations: 96.77 kB / 442.1 MB, free: 32.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.2896, allocations: 9.766 kB / 442.1 MB, free: 32.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.2898, allocations: 27.53 kB / 442.2 MB, free: 32.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.2899, allocations: 16.47 kB / 442.2 MB, free: 32.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.2899, allocations: 10.27 kB / 442.2 MB, free: 32.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004362/0.2903, allocations: 237.2 kB / 442.4 MB, free: 32.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2904, allocations: 0 / 442.4 MB, free: 32.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.2906, allocations: 30.53 kB / 442.5 MB, free: 32.83 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.Pr.x_scaled[1],P1.Pr.x_scaled[2],P2.Pr.x_scaled[1],P2.Pr.x_scaled[2]) * 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 (12): * Single equations (assignments): 12 * 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.0005176/0.2911, allocations: 0.9106 MB / 443.4 MB, free: 32.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000274/0.2914, allocations: 178.7 kB / 443.5 MB, free: 32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2914, allocations: 0 / 443.5 MB, free: 32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.2916, allocations: 84.8 kB / 443.6 MB, free: 31.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.2919, allocations: 33.19 kB / 443.7 MB, free: 31.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.295, allocations: 2.603 MB / 446.3 MB, free: 30.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.2952, allocations: 0.7486 MB / 447 MB, free: 29.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.729e-05/0.2953, allocations: 37.66 kB / 447.1 MB, free: 29.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.2954, allocations: 57.64 kB / 447.1 MB, free: 29.52 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2954, allocations: 0 / 447.1 MB, free: 29.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.316, allocations: 4.247 MB / 451.4 MB, free: 29.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.343/7.659, allocations: 18.16 kB / 451.4 MB, free: 29 MB / 350.1 MB (rm -f AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; mkfifo AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe >> ../files/AES_AES.Devel_test_models.Test_SOPDT_overdamped.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_SOPDT_overdamped_res.csv --start-time 0 --stop-time 25 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.05 AES_AES_Devel_test_models_Test_SOPDT_overdamped.fmu > AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe 2>&1)