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.004886/0.004886, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001088/0.001089, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2019/0.2019, allocations: 22.34 MB / 312.9 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 68.3 kB / 434.5 MB, free: 35.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09073/0.09193, allocations: 54.95 MB / 489.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.002256/0.09422, allocations: 1.723 MB / 491.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008924/0.09513, allocations: 0.5845 MB / 491.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.111e-05/0.09523, allocations: 4 kB / 491.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.09555, allocations: 43.72 kB / 491.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.0957, allocations: 59.69 kB / 491.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.09595, allocations: 103.8 kB / 491.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.09616, allocations: 283.5 kB / 492.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.09628, allocations: 41.53 kB / 492.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.09639, allocations: 115.6 kB / 492.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.09656, allocations: 131.5 kB / 492.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.0966, allocations: 20 kB / 492.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.43e-05/0.09663, allocations: 24 kB / 492.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.126e-05/0.09672, allocations: 71.86 kB / 492.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.315e-05/0.09679, allocations: 87.47 kB / 492.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.09696, allocations: 223.1 kB / 492.9 MB, free: 352 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.09697, allocations: 4 kB / 492.9 MB, free: 348 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.09698, allocations: 0 / 492.9 MB, free: 348 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.09699, allocations: 0 / 492.9 MB, free: 348 kB / 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.001183/0.09817, allocations: 0.5826 MB / 493.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.09822, allocations: 8.031 kB / 493.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.877e-05/0.09827, allocations: 42.75 kB / 493.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.709e-05/0.09832, allocations: 28.73 kB / 493.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006811/0.09901, allocations: 336.5 kB / 493.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.09904, allocations: 12.56 kB / 493.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.09908, allocations: 12.12 kB / 493.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.09933, allocations: 134.9 kB / 494 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.09935, allocations: 4 kB / 494 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.09938, allocations: 4 kB / 494 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.09938, allocations: 0 / 494 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.09963, allocations: 135.8 kB / 494.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009414/0.1006, allocations: 0.5708 MB / 494.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.1008, allocations: 154.4 kB / 494.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.101, allocations: 76.83 kB / 495 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.101, allocations: 4 kB / 495 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.101, allocations: 30.56 kB / 495 MB, free: 14.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.101, allocations: 0 / 495 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004881/0.1015, allocations: 261.6 kB / 495.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.1016, allocations: 55.41 kB / 495.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005977/0.1022, allocations: 295.1 kB / 495.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.1022, allocations: 25.7 kB / 495.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.481e-05/0.1023, allocations: 132 kB / 495.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.108e-05/0.1024, allocations: 47.58 kB / 495.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.169e-05/0.1024, allocations: 29.72 kB / 495.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1026, allocations: 338.8 kB / 496.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.1027, allocations: 71.95 kB / 496.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.1029, allocations: 71.97 kB / 496.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.1031, allocations: 166.8 kB / 496.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1031, allocations: 4 kB / 496.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003446/0.1035, allocations: 223.3 kB / 496.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1035, allocations: 8 kB / 496.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1035, allocations: 0 / 496.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1035, allocations: 0 / 496.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.1039, allocations: 47.95 kB / 496.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1039, allocations: 7.938 kB / 496.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.1042, allocations: 31.97 kB / 496.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.1042, allocations: 3.938 kB / 496.8 MB, free: 12.21 MB / 366.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 0.0001237/0.1043, allocations: 154.5 kB / 496.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.722e-05/0.1044, allocations: 19.86 kB / 497 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.55e-05/0.1044, allocations: 25.41 kB / 497 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1044, allocations: 4 kB / 497 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1045, allocations: 4 kB / 497 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1045, allocations: 3.984 kB / 497 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.1048, allocations: 305.4 kB / 497.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1048, allocations: 0 / 497.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.105, allocations: 23.98 kB / 497.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.105, allocations: 0 / 497.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.105, allocations: 8 kB / 497.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.105, allocations: 0 / 497.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.105, allocations: 0 / 497.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005223/0.1056, allocations: 391.1 kB / 497.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.192e-05/0.1056, allocations: 101 kB / 497.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.1057, allocations: 4 kB / 497.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.106, allocations: 35.89 kB / 497.8 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.106, allocations: 7.984 kB / 497.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.1061, allocations: 0 / 497.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004905/0.1065, allocations: 244.5 kB / 498.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1066, allocations: 0 / 498.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002851/0.1068, allocations: 39.88 kB / 498.1 MB, free: 10.77 MB / 366.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.00075/0.1076, allocations: 0.9036 MB / 499 MB, free: 9.844 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003269/0.1079, allocations: 159.9 kB / 499.2 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.108, allocations: 0 / 499.2 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.1081, allocations: 84.61 kB / 499.3 MB, free: 9.605 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.1085, allocations: 30.91 kB / 499.3 MB, free: 9.574 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/0.1122, allocations: 2.62 MB / 0.4902 GB, free: 6.879 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.1126, allocations: 0.7436 MB / 0.4909 GB, free: 6.109 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00011/0.1127, allocations: 41.52 kB / 0.4909 GB, free: 6.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.1128, allocations: 63.41 kB / 0.491 GB, free: 6.008 MB / 366.1 MB Notification: Performance of SimCode: time 1.683e-06/0.1128, allocations: 0 / 0.491 GB, free: 6.008 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.1345, allocations: 4.288 MB / 0.4952 GB, free: 1.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.443/7.578, allocations: 7.719 kB / 0.4952 GB, free: 1.785 MB / 366.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)