Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.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_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",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.006601/0.006601, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001284/0.001284, allocations: 193.3 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1988/0.1988, allocations: 22.36 MB / 312.9 MB, free: 12.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 62 kB / 436.6 MB, free: 34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0981/0.09949, allocations: 54.97 MB / 491.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.0018/0.1013, allocations: 0.7125 MB / 492.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001577/0.1015, allocations: 27.98 kB / 492.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.1016, allocations: 3.938 kB / 492.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.1016, allocations: 0 / 492.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.322e-05/0.1017, allocations: 0 / 492.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.444e-05/0.1017, allocations: 3.984 kB / 492.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.439e-05/0.1018, allocations: 23.92 kB / 492.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.1019, allocations: 7.984 kB / 492.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.137e-05/0.1019, allocations: 11.94 kB / 492.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.437e-05/0.102, allocations: 7.984 kB / 492.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.102, allocations: 8 kB / 492.4 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.674e-06/0.102, allocations: 0 / 492.4 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.1021, allocations: 7.938 kB / 492.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.1021, allocations: 11.98 kB / 492.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.246e-05/0.1022, allocations: 20.12 kB / 492.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1022, allocations: 0 / 492.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1022, allocations: 0 / 492.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1022, allocations: 0 / 492.4 MB, free: 0.8711 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003329/0.1025, allocations: 327.5 kB / 492.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1026, allocations: 12.03 kB / 492.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.385e-05/0.1026, allocations: 38.75 kB / 492.8 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.524e-05/0.1026, allocations: 8.891 kB / 492.8 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.166e-05/0.1027, allocations: 164.4 kB / 492.9 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1028, allocations: 384 / 492.9 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1028, allocations: 4.359 kB / 492.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.324e-05/0.1029, allocations: 42.25 kB / 493 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1029, allocations: 3.938 kB / 493 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1029, allocations: 0 / 493 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.1029, allocations: 0 / 493 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.348e-05/0.103, allocations: 23.86 kB / 493 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.1033, allocations: 257 kB / 493.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.1034, allocations: 38.5 kB / 493.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.1035, allocations: 16.92 kB / 493.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.1035, allocations: 0 / 493.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.1035, allocations: 34.56 kB / 493.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1035, allocations: 3.938 kB / 493.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001683/0.1037, allocations: 53.69 kB / 493.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.1037, allocations: 51.41 kB / 493.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.387e-05/0.1038, allocations: 101.8 kB / 493.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1039, allocations: 25.7 kB / 493.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.581e-05/0.1039, allocations: 92.03 kB / 493.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.1039, allocations: 3.953 kB / 493.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.104, allocations: 17.72 kB / 493.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1041, allocations: 318.8 kB / 494 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.1041, allocations: 8 kB / 494 MB, free: 15.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.221e-05/0.1041, allocations: 4 kB / 494 MB, free: 15.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.887e-05/0.1042, allocations: 20.8 kB / 494 MB, free: 15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1042, allocations: 3.938 kB / 494 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.311e-05/0.1043, allocations: 49.69 kB / 494.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1043, allocations: 4 kB / 494.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1043, allocations: 0 / 494.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1043, allocations: 4 kB / 494.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.111e-05/0.1044, allocations: 11.98 kB / 494.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1044, allocations: 0 / 494.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.1044, allocations: 0 / 494.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.1044, allocations: 0 / 494.1 MB, free: 14.92 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 (3): * Single equations (assignments): 3 * 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.384e-05/0.1045, allocations: 122.5 kB / 494.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.1045, allocations: 3.953 kB / 494.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.1047, allocations: 81.02 kB / 494.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1047, allocations: 4 kB / 494.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1047, allocations: 0 / 494.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1047, allocations: 0 / 494.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.1049, allocations: 169.6 kB / 494.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1049, allocations: 0 / 494.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.535e-05/0.105, allocations: 8 kB / 494.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.105, allocations: 4.453 kB / 494.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.105, allocations: 4.062 kB / 494.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.105, allocations: 0 / 494.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.105, allocations: 0 / 494.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.1051, allocations: 163.4 kB / 494.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.1052, allocations: 85.05 kB / 494.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.1052, allocations: 0 / 494.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.942e-05/0.1053, allocations: 7.984 kB / 494.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.53e-05/0.1053, allocations: 0 / 494.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.1053, allocations: 0 / 494.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.112e-05/0.1053, allocations: 87.27 kB / 494.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1053, allocations: 4 kB / 494.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.1056, allocations: 4 kB / 494.8 MB, free: 14.09 MB / 366.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 (5): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003881/0.106, allocations: 0.6812 MB / 495.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.962e-05/0.1061, allocations: 31.98 kB / 495.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1061, allocations: 3.938 kB / 495.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.985e-05/0.1061, allocations: 12 kB / 495.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.1064, allocations: 8 kB / 495.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009557/0.1074, allocations: 1.174 MB / 496.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.1076, allocations: 0.6807 MB / 497.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.861e-05/0.1077, allocations: 7.938 kB / 497.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.1077, allocations: 15.42 kB / 497.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1077, allocations: 0 / 497.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.1259, allocations: 1.266 MB / 498.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.21/7.336, allocations: 14.3 kB / 498.7 MB, free: 10.12 MB / 366.1 MB (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_SR01_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 AES_AES_Devel_test_models_Test_SR01.fmu > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1)